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 StringField
category
The category or class of the driver license.protected StringField
countryCode
The alpha-3 ISO 3166 code of the country where the driver license was issued.protected DateField
dateOfBirth
The date of birth of the driver license holder.protected StringField
ddNumber
The DD number of the driver license.protected DateField
expiryDate
The expiry date of the driver license.protected StringField
firstName
The first name of the driver license holder.protected StringField
id
The unique identifier of the driver license.protected DateField
issuedDate
The date when the driver license was issued.protected StringField
issuingAuthority
The authority that issued the driver license.protected StringField
lastName
The last name of the driver license holder.protected StringField
mrz
The Machine Readable Zone (MRZ) of the driver license.protected StringField
placeOfBirth
The place of birth of the driver license holder.protected StringField
state
Second 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 boolean
canEqual(Object other)
boolean
equals(Object o)
StringField
getCategory()
The category or class of the driver license.StringField
getCountryCode()
The alpha-3 ISO 3166 code of the country where the driver license was issued.DateField
getDateOfBirth()
The date of birth of the driver license holder.StringField
getDdNumber()
The DD number of the driver license.DateField
getExpiryDate()
The expiry date of the driver license.StringField
getFirstName()
The first name of the driver license holder.StringField
getId()
The unique identifier of the driver license.DateField
getIssuedDate()
The date when the driver license was issued.StringField
getIssuingAuthority()
The authority that issued the driver license.StringField
getLastName()
The last name of the driver license holder.StringField
getMrz()
The Machine Readable Zone (MRZ) of the driver license.StringField
getPlaceOfBirth()
The place of birth of the driver license holder.StringField
getState()
Second part of the ISO 3166-2 code, consisting of two letters indicating the US State.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
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:Prediction
Returnstrue
if there are no predictions values. Accessing prediction values when this istrue
may result in aNullPointerException
- Specified by:
isEmpty
in 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)
-
-