SouthAfricaDriversLicenseModel

Listimport com.sybrin.identity.countries.SouthAfrica.DriversLicense.SouthAfricaDriversLicenseModel

extends DriversLicenseModel

Summary

Public methods

Data source

Bitmap

String

Date

PDF417 Barcode

String

PDF417 Barcode

String

PDF417 Barcode

String

PDF417 Barcode

String

PDF417 Barcode

Int

PDF417 Barcode

PDF417 Barcode

Date

PDF417 Barcode

getIdentityNumberSex()

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

PDF417 Barcode

String

PDF417 Barcode

List<Date>

PDF417 Barcode

String

PDF417 Barcode

String

PDF417 Barcode

String

PDF417 Barcode

Date

PDF417 Barcode

getSex()

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

PDF417 Barcode

String

PDF417 Barcode

Date

PDF417 Barcode

Date

PDF417 Barcode

List<String>

PDF417 Barcode

List<String>

PDF417 Barcode

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

Identity number

Front: OCR

Back: Barcode

Public methods

getCroppedDocumentBackImage

public Bitmap getCroppedDocumentBackImage ()

Returns a cropped image of the back of the scanned document.

Returns

Bitmap

This value cannot be null.

getCroppedDocumentBackImagePath

public String getCroppedDocumentBackImagePath ()

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

Returns

String

Value is null if image was not saved.

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.

getDriverRestrictions

public String getDriverRestrictions()

Returns the subject's driving restrictions.

Returns

String

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

getIdCountryOfIssue

public String getIdCountryOfIssue()

Returns the subject's country of issue code as found n the barcode.

Returns

String

The subject's country of issue code. This value cannot be null.

getIdNumberType

public String getIdNumberType()

Returns the subject's identity number type.

Returns

String

The subject's identity number type. This value cannot be null.

getIdentityNumber

public String getIdentityNumber ()

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

Returns

String

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

getIdentityNumberCheckDigit

public int getIdentityNumberCheckDigit ()

Returns the check digit used to verify the subject's identity number as found on the ID card.

Returns

int

getIdentityNumberCitizenship

public CitizenshipType getIdentityNumberCitizenship ()

Returns the type of citizen a subject's is as found within the subject's identity number.

Returns

The subject's citizenship according to their identity number. This value cannot be null.

getIdentityNumberDateOfBirth

public Date getIdentityNumberDateOfBirth ()

Returns the subject's date of birth as found within the subject's identity number.

Returns

Date

The subject's date of birth according to their identity number. This value cannot be null.

getIdentityNumberSex

public String getIdentityNumberSex ()

Returns the subject's sex as found within the subject's identity number.

Returns

This value cannot be null.

getInitials

public String getInitials()

Returns the subject's initials.

Returns

String

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

getIssueDates

public List<Date> getIssueDates()

Returns a list the subject's dates of issue.

Returns

List<Date>

The subject's issue dates. This value cannot be null.

getLicenseCountryOfIssue

public String getLicenseCountryOfIssue()

Returns the subject's license country of issue code.

Returns

String

The subject's license country of issue. This value cannot be null.

getLicenseIssueNumber

public String getLicenseIssueNumber()

Returns the subject's license issue number.

Returns

String

The subject's license issue number. This value cannot be null.

getPrdpCode

public String getPrdpCode()

Returns the subject's professional driver's permit code.

Returns

String

The subject's PRDP Code. This value cannot be null.

getPrdpExpiry

public Date getValidTo()

Returns the subject's date of expiry for their professional driver's permit.

Returns

Date

The subject's PRDP expiry date. This value cannot be null.

getSex

public String getSex ()

Returns the subject's sex.

Returns

This value cannot be null.

getSurname

public String getSurname ()

Returns the subject's surname.

Returns

String

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

getValidFrom

public Date getValidFrom()

Returns the subject's date from which the license is valid.

Returns

Date

The subject's validation start date. This value cannot be null.

getValidTo

public Date getValidTo()

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.

getVehicleCodes

public List<String> getVehicleCodes()

Returns a list the subject's vehicle codes.

Returns

List<String>

The subject's vehicle codes. This value cannot be null.

getVehicleRestrictions

public List<String> getVehicleRestrictions()

Returns a list the subject's vehicle restrictions.

Returns

List<String>

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

Last updated