PhilippinesQCIdentificationCardModel

A class derived from Document Model containing details specific to the Filipino QC identification card

import com.sybrin.identity.countries.Philippines.PhilippinesQCIdentificationCard.PhilippinesQCIdentificationCardModel

extends DocumentModel

Summary

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

Returns

String

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

getBloodType

public String getBloodType()

Returns the subject's blood type as found on the identification card.

Returns

String

The subject's blood type. This value can be null.

getQcReferenceNumber

public String getQcReferenceNumber()

Returns the qc reference number as found on the identification card.

Returns

String

The QC card reference number . This value can be null.

getDateOfBirth

public Date getDateOfBirth()

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

Returns

Date

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

getValidUntil

public Date getValidUntil()

Returns the valid until date as found on the identification card.

Returns

Date

The valid until date. This value can be null.

getDateOfIssued

public Date getDateOfIssued()

Returns the date issued as found on the identification card.

Returns

Date

The date issued. This value can be null.

getDocumentBackImage

public Bitmap getDocumentBackImage()

Returns the back image of the identification card.

Returns

Bitmap

The Back image. This value cant be null.

getDocumentBackImagePath

public String getCroppedDocumentBackImagePath ()

Returns the file path of the saved back of the document image.

Returns

String

Value is null if image was not saved.

getFullName

public String getFullName()

Returns the subject's full name as found on the identification card.

Returns

String

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

getCitizenType

public String getCitizenType()

Returns the subject's citizenship type as found on the identification card.

Returns

String

The subject's citizenship type. This value can be null.

getCivilStatus

public String getCivilStatus()

Returns the subject's civil status as found on the identification card.

Returns

String

The subject's marital status . This value can be null.

getMiddleName

public String getMiddleName()

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

Returns

String

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

getDisabilityType

public String getDisabilityType()

Returns the subject's disability type as found on the identification card.

Returns

String

The subject's disability type. This value can be null.

getSex

public String getSex ()

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

Returns

The subject's sex. This value can be null.

Last updated