Class InternationalIdV2Document
- java.lang.Object
 - 
- com.mindee.parsing.common.Prediction
 - 
- com.mindee.product.internationalid.InternationalIdV2Document
 
 
 
- 
public class InternationalIdV2Document extends Prediction
International ID API version 2.2 document data. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected StringFieldaddressThe physical address of the document holder.protected DateFieldbirthDateThe date of birth of the document holder.protected StringFieldbirthPlaceThe place of birth of the document holder.protected StringFieldcountryOfIssueThe country where the document was issued.protected StringFielddocumentNumberThe unique identifier assigned to the document.protected ClassificationFielddocumentTypeThe type of personal identification document.protected DateFieldexpiryDateThe date when the document becomes invalid.protected List<StringField>givenNamesThe list of the document holder's given names.protected DateFieldissueDateThe date when the document was issued.protected StringFieldmrzLine1The Machine Readable Zone, first line.protected StringFieldmrzLine2The Machine Readable Zone, second line.protected StringFieldmrzLine3The Machine Readable Zone, third line.protected StringFieldnationalityThe country of citizenship of the document holder.protected StringFieldpersonalNumberThe unique identifier assigned to the document holder.protected StringFieldsexThe biological sex of the document holder.protected StringFieldstateOfIssueThe state or territory where the document was issued.protected List<StringField>surnamesThe list of the document holder's family names. 
- 
Constructor Summary
Constructors Constructor Description InternationalIdV2Document() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringFieldgetAddress()The physical address of the document holder.DateFieldgetBirthDate()The date of birth of the document holder.StringFieldgetBirthPlace()The place of birth of the document holder.StringFieldgetCountryOfIssue()The country where the document was issued.StringFieldgetDocumentNumber()The unique identifier assigned to the document.ClassificationFieldgetDocumentType()The type of personal identification document.DateFieldgetExpiryDate()The date when the document becomes invalid.List<StringField>getGivenNames()The list of the document holder's given names.DateFieldgetIssueDate()The date when the document was issued.StringFieldgetMrzLine1()The Machine Readable Zone, first line.StringFieldgetMrzLine2()The Machine Readable Zone, second line.StringFieldgetMrzLine3()The Machine Readable Zone, third line.StringFieldgetNationality()The country of citizenship of the document holder.StringFieldgetPersonalNumber()The unique identifier assigned to the document holder.StringFieldgetSex()The biological sex of the document holder.StringFieldgetStateOfIssue()The state or territory where the document was issued.List<StringField>getSurnames()The list of the document holder's family names.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString() 
 - 
 
- 
- 
Field Detail
- 
address
protected StringField address
The physical address of the document holder. 
- 
birthDate
protected DateField birthDate
The date of birth of the document holder. 
- 
birthPlace
protected StringField birthPlace
The place of birth of the document holder. 
- 
countryOfIssue
protected StringField countryOfIssue
The country where the document was issued. 
- 
documentNumber
protected StringField documentNumber
The unique identifier assigned to the document. 
- 
documentType
protected ClassificationField documentType
The type of personal identification document. 
- 
expiryDate
protected DateField expiryDate
The date when the document becomes invalid. 
- 
givenNames
protected List<StringField> givenNames
The list of the document holder's given names. 
- 
issueDate
protected DateField issueDate
The date when the document was issued. 
- 
mrzLine1
protected StringField mrzLine1
The Machine Readable Zone, first line. 
- 
mrzLine2
protected StringField mrzLine2
The Machine Readable Zone, second line. 
- 
mrzLine3
protected StringField mrzLine3
The Machine Readable Zone, third line. 
- 
nationality
protected StringField nationality
The country of citizenship of the document holder. 
- 
personalNumber
protected StringField personalNumber
The unique identifier assigned to the document holder. 
- 
sex
protected StringField sex
The biological sex of the document holder. 
- 
stateOfIssue
protected StringField stateOfIssue
The state or territory where the document was issued. 
- 
surnames
protected List<StringField> surnames
The list of the document holder's family names. 
 - 
 
- 
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
 
- 
getAddress
public StringField getAddress()
The physical address of the document holder. 
- 
getBirthDate
public DateField getBirthDate()
The date of birth of the document holder. 
- 
getBirthPlace
public StringField getBirthPlace()
The place of birth of the document holder. 
- 
getCountryOfIssue
public StringField getCountryOfIssue()
The country where the document was issued. 
- 
getDocumentNumber
public StringField getDocumentNumber()
The unique identifier assigned to the document. 
- 
getDocumentType
public ClassificationField getDocumentType()
The type of personal identification document. 
- 
getExpiryDate
public DateField getExpiryDate()
The date when the document becomes invalid. 
- 
getGivenNames
public List<StringField> getGivenNames()
The list of the document holder's given names. 
- 
getIssueDate
public DateField getIssueDate()
The date when the document was issued. 
- 
getMrzLine1
public StringField getMrzLine1()
The Machine Readable Zone, first line. 
- 
getMrzLine2
public StringField getMrzLine2()
The Machine Readable Zone, second line. 
- 
getMrzLine3
public StringField getMrzLine3()
The Machine Readable Zone, third line. 
- 
getNationality
public StringField getNationality()
The country of citizenship of the document holder. 
- 
getPersonalNumber
public StringField getPersonalNumber()
The unique identifier assigned to the document holder. 
- 
getSex
public StringField getSex()
The biological sex of the document holder. 
- 
getStateOfIssue
public StringField getStateOfIssue()
The state or territory where the document was issued. 
- 
getSurnames
public List<StringField> getSurnames()
The list of the document holder's family names. 
- 
canEqual
protected boolean canEqual(Object other)
 
 - 
 
 -