GhanaPassportModel
A class derived from PassportModel containing details specific to the Ghana passport
Last updated
A class derived from PassportModel containing details specific to the Ghana passport
Last updated
import com.sybrin.identitysdk.countries.Ghana.Passport.GhanaPassportModel
extends
PassportModel
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.
public int getDateOfBirthCheckDigit ()
Returns the check digit used to verify the subject's date of birth as found on the passport.
public int getDateOfExpiryCheckDigit ()
Returns the check digit used to verify the passport's date of expiry as found on the passport.
public String getMrzLine1 ()
Returns the first MRZ line as found on the passport.
public String getMrzLine2 ()
Returns the second MRZ line as found on the passport.
public int getPassportNumberCheckDigit ()
Returns the check digit used to verify the passport number as found on the passport.
Public methods
int
int
int
String
String
int
<T extends DocumentModel>
castToModel(Class<T> class)
Casts the current model to the type specified by the class parameter.
Bitmap
String
Bitmap
String
Bitmap
String
void
saveImages(Context context)
Saves all images within the model to the local device and populates all path fields.
Date
Date
String
String
getNames()
String
String
String
getSex()
Returns the subject's sex as found on the passport.
String
Returns
int
Returns
int
Returns
int
Returns
String
The first MRZ line. This value cannot be null
.
Returns
String
The second MRZ line. This value cannot be null
.
Returns
int