PhilippinesIDCardModel

A class derived from IDCardModel containing details specific to the Pilipino ID card

import com.sybrin.identity.countries.Philippines.IDCard.PhilippinesIDCardModel

extends IDCardModel

Summary

Public methods

Data source

String

OCR

String

Barcode

String

OCR

String

OCR

String

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

Data source

Bitmap

Back of document

String

Local Storage

Date

OCR

Bitmap

Back of document

String

Local Storage

String

OCR

String

OCR

String

OCR

Bitmap

Back of document

String

Local Storage

getSex()

Returns the subject's sex as

found on the ID card.

OCR

Validation

The following validation and verification applies to this document:

Component verification

As explained in Validation & Verification the following fields are verified across the front and back components of the document.

Value

Source

Common reference number

Front: OCR

Back: OCR

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.

getBarcodeData

public String getBarcodeData ()

Returns the barcode string as found on the back of the ID card.

Returns

String

The barcode data. 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.

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.

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.

Last updated