SouthAfricaIDCardModel
A class derived from IDCardModel containing details specific to the South African ID card
Last updated
A class derived from IDCardModel containing details specific to the South African ID card
Last updated
import com.sybrin.identity.countries.SouthAfrica.IDCard.SouthAfricaIDCardModel
extends
IDCardModel
The following validation and verification applies to this document:
As explained in Validation & Verification the following fields are verified across the front and back components of the document.
public String getCardNumber ()
Returns the ID card number as found on the ID card.
public
CitizenshipType
getCitizenship ()
Returns the type of citizen a subject's is as found on the ID card.
public String getCountryOfBirth ()
Returns the subject's country of birth as found on the ID card.
public Date getDateIssued ()
Returns the document's issue date as found on the ID card.
public int getIdentityNumberADigit ()
Returns the A digits as found within the subject's identity number.
public int getIdentityNumberCheckDigit ()
Returns the check digit used to verify the subject's identity number as found on the ID card.
public
CitizenshipType
getIdentityNumberCitizenship ()
Returns the type of citizen a subject's is as found within the subject's identity number.
public Date getIdentityNumberDateOfBirth ()
Returns the subject's date of birth as found within the subject's identity number.
public String getIdentityNumberSex ()
Returns the subject's sex as found within the subject's identity number.
public String getNames ()
Returns the subject's names as found on the ID card.
public String getRsaCode ()
Returns the ID card's RSA code as found on the ID card.
public String getSurname ()
Returns the subject's surname as found on the ID card.
Public methods
Data source
String
PDF417 Barcode
PDF417 Barcode
String
PDF417 Barcode
Date
PDF417 Barcode
int
PDF417 Barcode
int
PDF417 Barcode
PDF417 Barcode
Date
PDF417 Barcode
PDF417 Barcode
String
getNames()
PDF417 Barcode
String
PDF417 Barcode
String
PDF417 Barcode
Data source
<T extends DocumentModel>
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
Data source
Bitmap
Back of document
String
Local Storage
Date
PDF417 Barcode
Bitmap
Back of document
String
Local Storage
String
PDF417 Barcode
String
PDF417 Barcode
String
PDF417 Barcode
Bitmap
Back of document
String
Local Storage
PDF417 Barcode
Value
Validation type
Identity number
Check digit using Luhn algorithm
Value
Source
Identity number
Front: OCR
Back: PDF417 Barcode
Returns
String
The ID card number. This value cannot be null
.
Returns
The subject's citizenship. This value cannot be null
.
Returns
String
The subject's country of birth. This value cannot be null
.
Returns
Date
The document's issue date. This value cannot be null
.
Returns
int
Returns
int
Returns
The subject's citizenship according to their identity number. This value cannot be null
.
Returns
Date
The subject's date of birth according to their identity number. This value cannot be null
.
Returns
This value cannot be null
.
Returns
String
The subject's names. This value cannot be null
.
Returns
String
The ID card's RSA code. This value cannot be null
.
Returns
String
The subject's surname. This value cannot be null
.