Package com.mindee.product.fr.idcard
Class IdCardV2Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.fr.idcard.IdCardV2Document
-
- Direct Known Subclasses:
IdCardV2Page
public class IdCardV2Document extends Prediction
Carte Nationale d'Identité API version 2.0 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringFieldalternateNameThe alternate name of the card holder.protected StringFieldauthorityThe name of the issuing authority.protected DateFieldbirthDateThe date of birth of the card holder.protected StringFieldbirthPlaceThe place of birth of the card holder.protected StringFieldcardAccessNumberThe card access number (CAN).protected StringFielddocumentNumberThe document number.protected DateFieldexpiryDateThe expiry date of the identification card.protected StringFieldgenderThe gender of the card holder.protected List<StringField>givenNamesThe given name(s) of the card holder.protected DateFieldissueDateThe date of issue of the identification card.protected StringFieldmrz1The Machine Readable Zone, first line.protected StringFieldmrz2The Machine Readable Zone, second line.protected StringFieldmrz3The Machine Readable Zone, third line.protected StringFieldnationalityThe nationality of the card holder.protected StringFieldsurnameThe surname of the card holder.
-
Constructor Summary
Constructors Constructor Description IdCardV2Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringFieldgetAlternateName()The alternate name of the card holder.StringFieldgetAuthority()The name of the issuing authority.DateFieldgetBirthDate()The date of birth of the card holder.StringFieldgetBirthPlace()The place of birth of the card holder.StringFieldgetCardAccessNumber()The card access number (CAN).StringFieldgetDocumentNumber()The document number.DateFieldgetExpiryDate()The expiry date of the identification card.StringFieldgetGender()The gender of the card holder.List<StringField>getGivenNames()The given name(s) of the card holder.DateFieldgetIssueDate()The date of issue of the identification card.StringFieldgetMrz1()The Machine Readable Zone, first line.StringFieldgetMrz2()The Machine Readable Zone, second line.StringFieldgetMrz3()The Machine Readable Zone, third line.StringFieldgetNationality()The nationality of the card holder.StringFieldgetSurname()The surname of the card holder.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString()
-
-
-
Field Detail
-
alternateName
protected StringField alternateName
The alternate name of the card holder.
-
authority
protected StringField authority
The name of the issuing authority.
-
birthDate
protected DateField birthDate
The date of birth of the card holder.
-
birthPlace
protected StringField birthPlace
The place of birth of the card holder.
-
cardAccessNumber
protected StringField cardAccessNumber
The card access number (CAN).
-
documentNumber
protected StringField documentNumber
The document number.
-
expiryDate
protected DateField expiryDate
The expiry date of the identification card.
-
gender
protected StringField gender
The gender of the card holder.
-
givenNames
protected List<StringField> givenNames
The given name(s) of the card holder.
-
issueDate
protected DateField issueDate
The date of issue of the identification card.
-
mrz1
protected StringField mrz1
The Machine Readable Zone, first line.
-
mrz2
protected StringField mrz2
The Machine Readable Zone, second line.
-
mrz3
protected StringField mrz3
The Machine Readable Zone, third line.
-
nationality
protected StringField nationality
The nationality of the card holder.
-
surname
protected StringField surname
The surname of the card holder.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:PredictionReturnstrueif there are no predictions values. Accessing prediction values when this istruemay result in aNullPointerException- Specified by:
isEmptyin classPrediction
-
getAlternateName
public StringField getAlternateName()
The alternate name of the card holder.
-
getAuthority
public StringField getAuthority()
The name of the issuing authority.
-
getBirthDate
public DateField getBirthDate()
The date of birth of the card holder.
-
getBirthPlace
public StringField getBirthPlace()
The place of birth of the card holder.
-
getCardAccessNumber
public StringField getCardAccessNumber()
The card access number (CAN).
-
getDocumentNumber
public StringField getDocumentNumber()
The document number.
-
getExpiryDate
public DateField getExpiryDate()
The expiry date of the identification card.
-
getGender
public StringField getGender()
The gender of the card holder.
-
getGivenNames
public List<StringField> getGivenNames()
The given name(s) of the card holder.
-
getIssueDate
public DateField getIssueDate()
The date of issue of the identification card.
-
getMrz1
public StringField getMrz1()
The Machine Readable Zone, first line.
-
getMrz2
public StringField getMrz2()
The Machine Readable Zone, second line.
-
getMrz3
public StringField getMrz3()
The Machine Readable Zone, third line.
-
getNationality
public StringField getNationality()
The nationality of the card holder.
-
getSurname
public StringField getSurname()
The surname of the card holder.
-
canEqual
protected boolean canEqual(Object other)
-
-