PhilippinesPostalIDModel

A class derived from Document Model containing details specific to the Filipino Postal ID

import com.sybrin.identity.countries.Philippines.PostalID.PhilippinesPostalIDModel

extends DocumentModel

Summary

Public methods

Data source

String

OCR

String

OCR

Date

OCR

String

OCR

String

OCR

String

OCR

String

OCR

Date

OCR

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

getAddress

public String getAddress()

Returns the subject's address as found on the postal ID.

Returns

String

The subject's address. This value cannot be null.

getCardType

public String getCardType()

Returns the postal ID card type as found on the postal ID.

Returns

String

The postal ID card type. This value cannot be null.

getDateOfBirth

public Date getDateOfBirth()

Returns the subject's date of birth as found on the postal ID.

Returns

Date

The subject's date of birth. This value cannot be null.

getFullName

public String getFullName()

Returns the subject's full name as found on the postal ID.

Returns

String

The subject's full name. This value cannot be null.

getIssuingPostOffice

public String getIssuingPostOffice()

Returns the issuing post office as found on the postal ID.

Returns

String

The postal ID issuing post office. This value cannot be null.

getNationality

public String getNationality()

Returns the subject's nationality as found on the postal ID.

Returns

String

The subject's nationality. This value cannot be null.

getPostalReferenceNumber

public String getPostalReferenceNumber()

Returns the subject's postal reference number as found on the postal ID.

Returns

String

The subject's postal reference number. This value cannot be null.

getValidUntil

public Date getValidUntil()

Returns the postal ID valid until as found on the postal ID.

Returns

Date

The postal ID valid until. This value cannot be null.

Last updated