PhilippinesDriversLicenseModel

A class derived from DriversLicenseModel containing details specific to the Pilipino driver's license

import com.sybrin.identity.countries.Philippines.DriversLicense.PhilippinesDriversLicenseModel

extends DriversLicenseModel

Summary

Public methods

Data source

String

OCR

String

OCR

String

Barcode

Bitmap

Back of document

String

Local storage

String

OCR

Date

OCR

Date

OCR

String

OCR

String

OCR

float

OCR

String

OCR

String

OCR

String

OCR

String

OCR

getSex()

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

OCR

String

OCR

float

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

Bitmap

Back of document

String

Local storage

String

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

Serial number

Front: OCR

Back: OCR

Public methods

getAddress

public String getAddress ()

Returns the subject's address as found on the driver's license.

Returns

String

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

getAgencyCode

public String getAgencyCode ()

Returns the driver's license agency code as found on the driver's license.

Returns

String

The driver's license agency code. This value cannot be null.

getBarcodeData

public String getBarcodeData ()

Returns the driver's license barcode string as found on the driver's license.

Returns

String

The driver's license barcode string. This value can be null.

getBarcodeImage

public Bitmap getBarcodeImage ()

Returns an image of the barcode on the scanned document.

Returns

Bitmap

This value can be null.

getBarcodeImagePath

public String getBarcodeImagePath ()

Returns the file path of the barcode image on the document image.

Returns

String

Value is null if image was not saved.

getConditions

public String getConditions ()

Returns the subject's pre-existing conditions as found on the driver's license.

Returns

String

The subject's pre-existing conditions. This value cannot be null.

getDateOfBirth

public Date getDateOfBirth ()

Returns the subject's date of birth as found on the driver's license.

Returns

Date

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

getExpirationDate

public Date getExpirationDate ()

Returns the driver's license expiration date as found on the driver's license.

Returns

Date

The driver's license expiration date. This value cannot be null.

getEyeColor

public String getEyeColor ()

Returns the subject's eye color as found on the driver's license.

Returns

String

The subject's eye color. This value cannot be null.

getFullName

public String getFullName ()

Returns the subject's full name as found on the driver's license.

Returns

String

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

getHeight

public float getHeight ()

Returns the subject's height in meters as found on the driver's license.

Returns

float

The subject's height in meters. This value cannot be null.

getNames

public String getConditions ()

Returns the subject's names as found on the driver's license.

Returns

String

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

getNationality

public String getNationality ()

Returns the subject's nationality as found on the driver's license.

Returns

String

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

getRestrictions

public String getRestrictions ()

Returns the subject's driving restrictions as found on the driver's license.

Returns

String

The subject's driving restrictions. This value cannot be null.

getSerialNumber

public String getSerialNumber ()

Returns the subject's serial number as found on the driver's license.

Returns

String

The subject's serial number. This value cannot be null.

getSex

public String getSex ()

Returns the subject's sex as found on the driver's license.

Returns

This value cannot be null.

getSurname

public String getSurname ()

Returns the subject's surname as found on the driver's license.

Returns

String

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

getWeight

public float getWeight ()

Returns the subject's weight in kilograms as found on the driver's license.

Returns

float

The subject's weight in kilograms. This value cannot be null.

Last updated