PassportModel
A class derived from DocumentModel containing details pertaining to all passport documents
Last updated
A class derived from DocumentModel containing details pertaining to all passport documents
Last updated
import com.sybrin.identitysdk.models.PassportModel
extends
DocumentModel
public Date getDateOfBirth ()
Returns the subject's date of birth as found on the passport.
public Date getDateOfExpiry ()
Returns the passport's date of expiry as found on the passport.
public String getIssuingCountryCode ()
Returns the country code of the country the passport was issued in as found on the passport.
public String getNames ()
Returns the subject's names as found on the green book document.
public String getNationality ()
Returns the subject's nationality as found on the passport.
public String getPassportNumber ()
Returns the passport number as found on the passport.
public String getPassportType ()
Returns the passport's type as found on the passport.
public String getSex ()
Returns the subject's sex as found on the passport.
public String getSurname ()
Returns the subject's surname as found on the passport.
Public methods
Date
Date
String
String
getNames()
String
String
String
getSex()
Returns the subject's sex as found on the passport.
String
<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.
Returns
Date
The subject's date of birth. This value cannot be null
.
Returns
Date
The passport's date of expiry. This value cannot be null
.
Returns
String
The passport's issuing country code. This value cannot be null
.
Returns
String
The subject's names. This value cannot be null
.
Returns
String
The subject's nationality. This value cannot be null
.
Returns
String
The passport number. This value cannot be null
.
Returns
String
The passport type. This value cannot be null
.
Returns
This value cannot be null
.
Returns
String
The subject's surname. This value cannot be null
.