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