Identity Android
1.16
Search
⌃K

ZimbabwePassportModel

A class derived from PassportModel containing details specific to the Zimbabwean passport
import com.sybrin.identity.countries.Zimbabwe.Passport.ZimbabwePassportModel
extends PassportModel

Summary

Public methods
Data source
int
MRZ OCR
int
MRZ OCR
int
MRZ OCR
String
MRZ OCR
int
MRZ OCR
String
MRZ OCR
String
MRZ OCR
int
MRZ OCR

Inherited methods

Data source
<T extends DocumentModel>
castToModel(Class<T> class)
Casts the current model to the
type specified by the class parameter.
N/A
Bitmap
Front of document
String
Local storage
Bitmap
Front of document
String
Local storage
Bitmap
Front of document
String
Local storage
void
saveImages(Context context)
Saves all images within the model
to the local device and populates
all path fields.
N/A
Data source
Date
MRZ OCR
Date
MRZ OCR
String
MRZ OCR
String
MRZ OCR
String
MRZ OCR
String
MRZ OCR
String
MRZ OCR
Sex
getSex()
Returns the subject's sex as found on the passport.
MRZ OCR
String
MRZ OCR

Validation

The following validation and verification applies to this document:

Check digit validation

Value
Validation type
Date of birth
Date of expiry
MRZ line 2 composite
Identity number (Optional data)
Passport number

Public methods

getCompositeCheckDigit

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
int

getDateOfBirthCheckDigit

public int getDateOfBirthCheckDigit ()
Returns the check digit used to verify the subject's date of birth as found on the passport.
Returns
int

getDateOfExpiryCheckDigit

public int getDateOfExpiryCheckDigit ()
Returns the check digit used to verify the passport's date of expiry as found on the passport.
Returns
int

getIdentityNumber

public String getIdentityNumber()
Returns the subject's identity number as found on the passport.
Returns
String
The subject's identity number. This value cannot be null.

getIdentityNumberCheckDigit

public int getIdentityNumberCheckDigit ()
Returns the check digit used to verify the subject's identity number as found on the passport.
Returns
int

getMrzLine1

public String getMrzLine1 ()
Returns the first MRZ line as found on the passport.
Returns
String
The first MRZ line. This value cannot be null.

getMrzLine2

public String getMrzLine2 ()
Returns the second MRZ line as found on the passport.
Returns
String
The second MRZ line. This value cannot be null.

getPassportNumberCheckDigit

public int getPassportNumberCheckDigit ()
Returns the check digit used to verify the passport number as found on the passport.
Returns
int