SouthAfricaGreenBookModel

A class derived from GreenBookModel containing details specific to the South African green book

import com.sybrin.identitysdk.countries.SouthAfrica.GreenBook.SouthAfricaGreenBookModel

extends GreenBookModel

Summary

Inherited methods

<T extends DocumentModel>

castToModel(Class<T> class)

Casts the current model to the type specified by the class parameter.

Bitmap

String

Bitmap

String

Bitmap

String

void

saveImages(Context context)

Saves all images within the model to the local device and populates all path fields.

getBookType()

Returns the language type of the green book document.

String

Date

Date

String

String

String

Public methods

getIdentityNumberADigit

public int getIdentityNumberADigit ()

Returns the A digits as found within the subject's identity number.

Returns

int

getIdentityNumberCheckDigit

public int getIdentityNumberCheckDigit ()

Returns the check digit used to verify the subject's identity number as found on the green book document.

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.

Last updated