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

getSex()

Returns the subject's sex as

found on the ID card.

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

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

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.

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 null.