UnitedKingdomPassportModel
A class derived from PassportModel containing details specific to the United Kingdom passport
import com.sybrin.identity.countries.UnitedKingdom.Passport.UnitedKingdomPassportModel
Public methods | Title | Data source |
int | MRZ OCR | |
int | MRZ OCR | |
int | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
int | MRZ OCR |
Title | Data source | |
N/A | ||
Bitmap | Front of document | |
String | Local storage | |
Bitmap | Front of document | |
String | Local storage | |
Bitmap | Front of document | |
String | Local storage | |
void | Saves all images within the model to the local device and populates all path fields. | N/A |
Title | Data source | |
Date | MRZ OCR | |
Date | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
MRZ OCR | ||
String | MRZ OCR |
The following validation and verification applies to this document:
Value | Validation type |
Date of birth | |
Date of expiry | |
MRZ line 2 composite | |
Passport number |
public int getCompositeCheckDigit ()
Returns the check digit used to verify the passport number, date of birth, date of expiry, and optional data as found on the passport.
Returns | Title |
int | Content |
public int getDateOfBirthCheckDigit ()
Returns the check digit used to verify the subject's date of birth as found on the passport.
Returns | Title |
int | Content |
public int getDateOfExpiryCheckDigit ()
Returns the check digit used to verify the passport's date of expiry as found on the passport.
Returns | Title |
int | Content |
public String getMrzLine1 ()
Returns the first MRZ line as found on the passport.
Returns | Title |
String | The first MRZ line. This value cannot be null . |
public String getMrzLine2 ()
Returns the second MRZ line as found on the passport.
Returns | Title |
String | The second MRZ line. This value cannot be null . |
public String getOptionalData()
Returns the optional data as found on the passport.
Returns | Title |
String | The optional data. This value cannot be null . |
public int getOptionalDataCheckDigit ()
Returns the check digit used to verify the optional data as found on the passport.
Returns | Title |
int | Content |
Last modified 6mo ago