Class IndianPassportV1Document
- java.lang.Object
 - 
- com.mindee.parsing.common.Prediction
 - 
- com.mindee.product.ind.indianpassport.IndianPassportV1Document
 
 
 
- 
public class IndianPassportV1Document extends Prediction
Passport - India API version 1.2 document data. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected StringFieldaddress1The first line of the address of the passport holder.protected StringFieldaddress2The second line of the address of the passport holder.protected StringFieldaddress3The third line of the address of the passport holder.protected DateFieldbirthDateThe birth date of the passport holder, ISO format: YYYY-MM-DD.protected StringFieldbirthPlaceThe birth place of the passport holder.protected StringFieldcountryISO 3166-1 alpha-3 country code (3 letters format).protected DateFieldexpiryDateThe date when the passport will expire, ISO format: YYYY-MM-DD.protected StringFieldfileNumberThe file number of the passport document.protected ClassificationFieldgenderThe gender of the passport holder.protected StringFieldgivenNamesThe given names of the passport holder.protected StringFieldidNumberThe identification number of the passport document.protected DateFieldissuanceDateThe date when the passport was issued, ISO format: YYYY-MM-DD.protected StringFieldissuancePlaceThe place where the passport was issued.protected StringFieldlegalGuardianThe name of the legal guardian of the passport holder (if applicable).protected StringFieldmrz1The first line of the machine-readable zone (MRZ) of the passport document.protected StringFieldmrz2The second line of the machine-readable zone (MRZ) of the passport document.protected StringFieldnameOfMotherThe name of the mother of the passport holder.protected StringFieldnameOfSpouseThe name of the spouse of the passport holder (if applicable).protected DateFieldoldPassportDateOfIssueThe date of issue of the old passport (if applicable), ISO format: YYYY-MM-DD.protected StringFieldoldPassportNumberThe number of the old passport (if applicable).protected StringFieldoldPassportPlaceOfIssueThe place of issue of the old passport (if applicable).protected ClassificationFieldpageNumberThe page number of the passport document.protected StringFieldsurnameThe surname of the passport holder. 
- 
Constructor Summary
Constructors Constructor Description IndianPassportV1Document() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringFieldgetAddress1()The first line of the address of the passport holder.StringFieldgetAddress2()The second line of the address of the passport holder.StringFieldgetAddress3()The third line of the address of the passport holder.DateFieldgetBirthDate()The birth date of the passport holder, ISO format: YYYY-MM-DD.StringFieldgetBirthPlace()The birth place of the passport holder.StringFieldgetCountry()ISO 3166-1 alpha-3 country code (3 letters format).DateFieldgetExpiryDate()The date when the passport will expire, ISO format: YYYY-MM-DD.StringFieldgetFileNumber()The file number of the passport document.ClassificationFieldgetGender()The gender of the passport holder.StringFieldgetGivenNames()The given names of the passport holder.StringFieldgetIdNumber()The identification number of the passport document.DateFieldgetIssuanceDate()The date when the passport was issued, ISO format: YYYY-MM-DD.StringFieldgetIssuancePlace()The place where the passport was issued.StringFieldgetLegalGuardian()The name of the legal guardian of the passport holder (if applicable).StringFieldgetMrz1()The first line of the machine-readable zone (MRZ) of the passport document.StringFieldgetMrz2()The second line of the machine-readable zone (MRZ) of the passport document.StringFieldgetNameOfMother()The name of the mother of the passport holder.StringFieldgetNameOfSpouse()The name of the spouse of the passport holder (if applicable).DateFieldgetOldPassportDateOfIssue()The date of issue of the old passport (if applicable), ISO format: YYYY-MM-DD.StringFieldgetOldPassportNumber()The number of the old passport (if applicable).StringFieldgetOldPassportPlaceOfIssue()The place of issue of the old passport (if applicable).ClassificationFieldgetPageNumber()The page number of the passport document.StringFieldgetSurname()The surname of the passport holder.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString() 
 - 
 
- 
- 
Field Detail
- 
address1
protected StringField address1
The first line of the address of the passport holder. 
- 
address2
protected StringField address2
The second line of the address of the passport holder. 
- 
address3
protected StringField address3
The third line of the address of the passport holder. 
- 
birthDate
protected DateField birthDate
The birth date of the passport holder, ISO format: YYYY-MM-DD. 
- 
birthPlace
protected StringField birthPlace
The birth place of the passport holder. 
- 
country
protected StringField country
ISO 3166-1 alpha-3 country code (3 letters format). 
- 
expiryDate
protected DateField expiryDate
The date when the passport will expire, ISO format: YYYY-MM-DD. 
- 
fileNumber
protected StringField fileNumber
The file number of the passport document. 
- 
gender
protected ClassificationField gender
The gender of the passport holder. 
- 
givenNames
protected StringField givenNames
The given names of the passport holder. 
- 
idNumber
protected StringField idNumber
The identification number of the passport document. 
- 
issuanceDate
protected DateField issuanceDate
The date when the passport was issued, ISO format: YYYY-MM-DD. 
- 
issuancePlace
protected StringField issuancePlace
The place where the passport was issued. 
- 
legalGuardian
protected StringField legalGuardian
The name of the legal guardian of the passport holder (if applicable). 
- 
mrz1
protected StringField mrz1
The first line of the machine-readable zone (MRZ) of the passport document. 
- 
mrz2
protected StringField mrz2
The second line of the machine-readable zone (MRZ) of the passport document. 
- 
nameOfMother
protected StringField nameOfMother
The name of the mother of the passport holder. 
- 
nameOfSpouse
protected StringField nameOfSpouse
The name of the spouse of the passport holder (if applicable). 
- 
oldPassportDateOfIssue
protected DateField oldPassportDateOfIssue
The date of issue of the old passport (if applicable), ISO format: YYYY-MM-DD. 
- 
oldPassportNumber
protected StringField oldPassportNumber
The number of the old passport (if applicable). 
- 
oldPassportPlaceOfIssue
protected StringField oldPassportPlaceOfIssue
The place of issue of the old passport (if applicable). 
- 
pageNumber
protected ClassificationField pageNumber
The page number of the passport document. 
- 
surname
protected StringField surname
The surname of the passport 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
 
- 
getAddress1
public StringField getAddress1()
The first line of the address of the passport holder. 
- 
getAddress2
public StringField getAddress2()
The second line of the address of the passport holder. 
- 
getAddress3
public StringField getAddress3()
The third line of the address of the passport holder. 
- 
getBirthDate
public DateField getBirthDate()
The birth date of the passport holder, ISO format: YYYY-MM-DD. 
- 
getBirthPlace
public StringField getBirthPlace()
The birth place of the passport holder. 
- 
getCountry
public StringField getCountry()
ISO 3166-1 alpha-3 country code (3 letters format). 
- 
getExpiryDate
public DateField getExpiryDate()
The date when the passport will expire, ISO format: YYYY-MM-DD. 
- 
getFileNumber
public StringField getFileNumber()
The file number of the passport document. 
- 
getGender
public ClassificationField getGender()
The gender of the passport holder. 
- 
getGivenNames
public StringField getGivenNames()
The given names of the passport holder. 
- 
getIdNumber
public StringField getIdNumber()
The identification number of the passport document. 
- 
getIssuanceDate
public DateField getIssuanceDate()
The date when the passport was issued, ISO format: YYYY-MM-DD. 
- 
getIssuancePlace
public StringField getIssuancePlace()
The place where the passport was issued. 
- 
getLegalGuardian
public StringField getLegalGuardian()
The name of the legal guardian of the passport holder (if applicable). 
- 
getMrz1
public StringField getMrz1()
The first line of the machine-readable zone (MRZ) of the passport document. 
- 
getMrz2
public StringField getMrz2()
The second line of the machine-readable zone (MRZ) of the passport document. 
- 
getNameOfMother
public StringField getNameOfMother()
The name of the mother of the passport holder. 
- 
getNameOfSpouse
public StringField getNameOfSpouse()
The name of the spouse of the passport holder (if applicable). 
- 
getOldPassportDateOfIssue
public DateField getOldPassportDateOfIssue()
The date of issue of the old passport (if applicable), ISO format: YYYY-MM-DD. 
- 
getOldPassportNumber
public StringField getOldPassportNumber()
The number of the old passport (if applicable). 
- 
getOldPassportPlaceOfIssue
public StringField getOldPassportPlaceOfIssue()
The place of issue of the old passport (if applicable). 
- 
getPageNumber
public ClassificationField getPageNumber()
The page number of the passport document. 
- 
getSurname
public StringField getSurname()
The surname of the passport holder. 
- 
canEqual
protected boolean canEqual(Object other)
 
 - 
 
 -