PhilippinesSeafarerIdentificationDocumentModel
A class derived from Document Model containing details specific to the Filipino Seafarer Identification Document
import com.sybrin.identity.countries.Philippines.SeafarerIdentificationDocument.PhilippinesSeafarerIdentificationDocumentModel
extends
DocumentModel
Summary
Public methods | Data source | |
int | MRZ OCR | |
Date | MRZ OCR | |
int | MRZ OCR | |
Date | MRZ OCR | |
int | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
int | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
MRZ OCR | ||
String | MRZ OCR |
Validation
The following validation and verification applies to this document:
Check digit validation
Value | Validation type |
Date of birth | Check digit using MRP Checksum calculation algorithm. |
Date of expiry | Check digit using MRP Checksum calculation algorithm. |
MRZ line 2 composite | Check digit using MRP Checksum calculation algorithm. |
Identity number | Check digit using MRP Checksum calculation algorithm. |
Inherited methods
Data source | ||
<T extends DocumentModel> | 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 |
Public methods
getCompositeCheckDigit
public int getCompositeCheckDigit()
Returns the composite check digit of the seafarer identification document as found on the professional seafarer identification document.
Returns | |
int | The seafarer identification document composite check digit. This value cannot be |
getDateOfBirth
public Date getDateOfBirth()
Returns the subject's date of birth as found on the seafarer identification document.
Returns | |
Date | The subject's date of birth. This value cannot be |
getDateOfBirthCheckDigit
public int getDateOfBirthCheckDigit()
Returns the date of birth check digit of the seafarer identification document as found on the seafarer identification document.
Returns | |
int | The seafarer identification document birth check digit. This value cannot be |
getDateOfExpiry
public Date getDateOfExpiry()
Returns the expiry date of the seafarer identification document as found on the seafarer identification document.
Returns | |
Date | The seafarer identification document expiry date. This value cannot be |
getDateOfExpiryCheckDigit
public int getDateOfExpiryCheckDigit()
Returns the date of expiry check digit of the seafarer identification document as found on the seafarer identification document.
Returns | |
int | The seafarer identification document expiry check digit. This value cannot be |
getDocumentType
public String getDocumentType()
Returns the document type of the seafarer identification document as found on the seafarer identification document.
Returns | |
String | The seafarer identification document type. This value cannot be |
getIdentityNumber
public String getIdentityNumber()
Returns the subject's identity number as found on the seafarer identification document.
Returns | |
String | The subject's identity number. This value cannot be |
getIdentityNumberCheckDigit
public int getIdentityNumberCheckDigit()
Returns the identity number check digit of the seafarer identification document as found on the seafarer identification document.
Returns | |
int | The seafarer identification document identity number check digit. This value cannot be |
getIssuingCountryCode
public String getIdentityNumber()
Returns the country code of the seafarer identification document as found on the seafarer identification document.
Returns | |
String | The seafarer identification document country code. This value cannot be |
getMrzLine1
public String getMrzLine1()
Returns the first MRZ line of the seafarer identification document as found on the seafarer identification document.
Returns | |
String | The seafarer identification document first MRZ line. This value cannot be |
getMrzLine2
public String getMrzLine2()
Returns the second MRZ line of the seafarer identification document as found on the seafarer identification document.
Returns | |
String | The seafarer identification document second MRZ line. This value cannot be |
getMrzLine3
public String getMrzLine3()
Returns the third MRZ line of the seafarer identification document as found on the seafarer identification document.
Returns | |
String | The seafarer identification document third MRZ line. This value cannot be |
getNames
public String getNames()
Returns the subject's name as found on the seafarer identification document.
Returns | |
String | The subject's name. This value cannot be |
getNationality
public String getNationality()
Returns the subject's nationality as found on the seafarer identification document.
Returns | |
String | The subject's nationality. This value cannot be |
getOptionalData1()
public String getOptionalData1()
Returns the first lines optional data of the seafarer identification document as found on the seafarer identification document.
Returns | |
String | The seafarer identification document first line optional data. This value cannot be |
getOptionalData2()
public String getOptionalData2()
Returns the second lines optional data of the seafarer identification document as found on the seafarer identification document.
Returns | |
String | The seafarer identification document second line optional data. This value cannot be |
getSex
public
Sex
getSex()
Returns the subject's sex as found on the seafarer identification document.
Returns | |
The subject's sex. This value cannot be |
getSurname
public String getSurname()
Returns the subject's surname as found on the seafarer identification document.
Returns | |
String | The subject's surname. This value cannot be |
Last updated