SouthAfricaStudyPermitModel

A class derived from DocumentModel containing details specific to the South Africa Study Permit

import com.sybrin.identity.countries.SouthAfrica.StudyPermit.SouthAfricaStudyPermitModel

extends DocumentModel

Summary

Public methods

Data source

String

OCR

String

OCR

Date

OCR

String

OCR

String

OCR

String

OCR

String

OCR

Date

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

getBarcodeData

public String getBarcodeData()

Returns the study permit barcode data as found on the study permit.

Returns

String

Study permit barcode data. This value cannot be null.

getControlNumber

public String getControlNumber ()

Returns the study permit control number as found on the study permit.

Returns

String

Study permit control number. This value cannot be null.

getDateOfExpiry

public String getDateOfExpiry ()

Returns the study permit expiry date as found on the study permit.

Returns

Date

Study permit date of expiry. This value cannot be null.

getIssuedAt

public String getIssuedAt ()

Returns the study permit place of issued as found on the study permit.

Returns

String

Study permit place of issued. This value cannot be null.

getNames

public Date getNames ()

Returns the subject's names as found on the study permit.

Returns

String

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

getNumberOfEntries

public String getNumberOfEntries ()

Returns the study permit number of entries as found on the study permit.

Returns

String

Study permit number of entries. This value cannot be null.

getPassportNumber

public String getPassportNumber ()

Returns the subject's passport number as found on the study permit.

Returns

String

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

getValidFrom

public String getValidFrom ()

Returns the study permit issued date as found on the study permit.

Returns

Date

Study permit date of issue. This value cannot be null.

Last updated