Package com.mindee.product.driverlicense
Class DriverLicenseV1Document
- java.lang.Object
 - 
- com.mindee.parsing.common.Prediction
 - 
- com.mindee.product.driverlicense.DriverLicenseV1Document
 
 
 
- 
public class DriverLicenseV1Document extends Prediction
Driver License API version 1.0 document data. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected StringFieldcategoryThe category or class of the driver license.protected StringFieldcountryCodeThe alpha-3 ISO 3166 code of the country where the driver license was issued.protected DateFielddateOfBirthThe date of birth of the driver license holder.protected StringFieldddNumberThe DD number of the driver license.protected DateFieldexpiryDateThe expiry date of the driver license.protected StringFieldfirstNameThe first name of the driver license holder.protected StringFieldidThe unique identifier of the driver license.protected DateFieldissuedDateThe date when the driver license was issued.protected StringFieldissuingAuthorityThe authority that issued the driver license.protected StringFieldlastNameThe last name of the driver license holder.protected StringFieldmrzThe Machine Readable Zone (MRZ) of the driver license.protected StringFieldplaceOfBirthThe place of birth of the driver license holder.protected StringFieldstateSecond part of the ISO 3166-2 code, consisting of two letters indicating the US State. 
- 
Constructor Summary
Constructors Constructor Description DriverLicenseV1Document() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringFieldgetCategory()The category or class of the driver license.StringFieldgetCountryCode()The alpha-3 ISO 3166 code of the country where the driver license was issued.DateFieldgetDateOfBirth()The date of birth of the driver license holder.StringFieldgetDdNumber()The DD number of the driver license.DateFieldgetExpiryDate()The expiry date of the driver license.StringFieldgetFirstName()The first name of the driver license holder.StringFieldgetId()The unique identifier of the driver license.DateFieldgetIssuedDate()The date when the driver license was issued.StringFieldgetIssuingAuthority()The authority that issued the driver license.StringFieldgetLastName()The last name of the driver license holder.StringFieldgetMrz()The Machine Readable Zone (MRZ) of the driver license.StringFieldgetPlaceOfBirth()The place of birth of the driver license holder.StringFieldgetState()Second part of the ISO 3166-2 code, consisting of two letters indicating the US State.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString() 
 - 
 
- 
- 
Field Detail
- 
category
protected StringField category
The category or class of the driver license. 
- 
countryCode
protected StringField countryCode
The alpha-3 ISO 3166 code of the country where the driver license was issued. 
- 
dateOfBirth
protected DateField dateOfBirth
The date of birth of the driver license holder. 
- 
ddNumber
protected StringField ddNumber
The DD number of the driver license. 
- 
expiryDate
protected DateField expiryDate
The expiry date of the driver license. 
- 
firstName
protected StringField firstName
The first name of the driver license holder. 
- 
id
protected StringField id
The unique identifier of the driver license. 
- 
issuedDate
protected DateField issuedDate
The date when the driver license was issued. 
- 
issuingAuthority
protected StringField issuingAuthority
The authority that issued the driver license. 
- 
lastName
protected StringField lastName
The last name of the driver license holder. 
- 
mrz
protected StringField mrz
The Machine Readable Zone (MRZ) of the driver license. 
- 
placeOfBirth
protected StringField placeOfBirth
The place of birth of the driver license holder. 
- 
state
protected StringField state
Second part of the ISO 3166-2 code, consisting of two letters indicating the US State. 
 - 
 
- 
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
 
- 
getCategory
public StringField getCategory()
The category or class of the driver license. 
- 
getCountryCode
public StringField getCountryCode()
The alpha-3 ISO 3166 code of the country where the driver license was issued. 
- 
getDateOfBirth
public DateField getDateOfBirth()
The date of birth of the driver license holder. 
- 
getDdNumber
public StringField getDdNumber()
The DD number of the driver license. 
- 
getExpiryDate
public DateField getExpiryDate()
The expiry date of the driver license. 
- 
getFirstName
public StringField getFirstName()
The first name of the driver license holder. 
- 
getId
public StringField getId()
The unique identifier of the driver license. 
- 
getIssuedDate
public DateField getIssuedDate()
The date when the driver license was issued. 
- 
getIssuingAuthority
public StringField getIssuingAuthority()
The authority that issued the driver license. 
- 
getLastName
public StringField getLastName()
The last name of the driver license holder. 
- 
getMrz
public StringField getMrz()
The Machine Readable Zone (MRZ) of the driver license. 
- 
getPlaceOfBirth
public StringField getPlaceOfBirth()
The place of birth of the driver license holder. 
- 
getState
public StringField getState()
Second part of the ISO 3166-2 code, consisting of two letters indicating the US State. 
- 
canEqual
protected boolean canEqual(Object other)
 
 - 
 
 -