PhilippinesUnifiedMultipurposeIDModel

A class derived from DocumentModel containing details specific to the Filipino Unified Multipurpose ID card

import com.sybrin.identity.countries.Philippines.UnifiedMultipurposeID.PhilippinesUnifiedMultipurposeIDModel

extends DocumentModel

Summary

Public methods

Data source

String

OCR

String

OCR

Date

OCR

String

OCR

String

OCR

getSex()

Returns the subject's sex as

found on the ID card.

OCR

String

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 ID card.

Returns

String

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

getCommonReferenceNumber

public String getCommonReferenceNumber ()

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

Returns

String

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

getDateOfBirth

public Date getDateOfBirth ()

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

Returns

Date

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

getGivenName

public String getGivenName ()

Returns the subject's given name as found on the ID card.

Returns

String

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

getMiddleName

public String getMiddleName ()

Returns the subject's middle name as found on the ID card.

Returns

String

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

getSex

public String getSex ()

Returns the subject's sex as found on the ID card.

Returns

This value can be null.

getSurname

public String getSurname ()

Returns the subject's surname as found on the ID card.

Returns

String

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