SouthAfricaPassportModel
A class derived from PassportModel containing details specific to the South African passport
import com.sybrin.identity.countries.SouthAfrica.Passport.SouthAfricaPassportModel
Public methods | | Data source |
int | MRZ OCR | |
int | MRZ OCR | |
int | MRZ OCR | |
String | MRZ OCR | |
int | MRZ OCR | |
int | MRZ OCR | |
MRZ OCR | ||
Date | MRZ OCR | |
int | MRZ OCR | |
MRZ OCR | ||
String | MRZ OCR | |
String | MRZ OCR | |
int | MRZ OCR |
| Data source | |
N/A | ||
Bitmap | Front of document | |
String | Local storage | |
Bitmap | Front of document | |
String | Local storage | |
Bitmap | Front of document | |
String | Local storage | |
void | Saves all images within the model to the local device and populates all path fields. | N/A |
| Data source | |
Date | MRZ OCR | |
Date | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
String | MRZ OCR | |
MRZ OCR | ||
String | MRZ OCR |
The following validation and verification applies to this document:
Value | Validation type |
Date of birth | |
Date of expiry | |
Identity number | |
MRZ line 2 composite | |
Passport identity number (Optional data) | |
Passport number |
public int getCompositeCheckDigit ()
Returns the check digit used to verify the passport number, date of birth, date of expiry, and optional data as found on the passport.
Returns | |
int | |
public int getDateOfBirthCheckDigit ()
Returns the check digit used to verify the subject's date of birth as found on the passport.
Returns | |
int | |
public int getDateOfExpiryCheckDigit ()
Returns the check digit used to verify the passport's date of expiry as found on the passport.
Returns | |
int | |
public String getIdentityNumber()
Returns the subject's identity number as found on the passport.
Returns | |
String | The subject's identity number. This value cannot be null . |
public int getIdentityNumberADigit ()
Returns the A digits as found within the subject's identity number.
Returns | |
int | |
public int getIdentityNumberCheckDigit ()
Returns the check digit used to verify the subject's identity number as found on the passport.
Returns | |
int | |
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 . |
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 . |
public int getIdentityNumberPassportCheckDigit ()
Returns the check digit used to verify the subject's identity number as found on passport.
Returns | |
int | |
public String getIdentityNumberSex ()
Returns the subject's sex as found within the subject's identity number.
Returns | |
This value cannot be null . |
public String getMrzLine1 ()
Returns the first MRZ line as found on the passport.
Returns | |
String | The first MRZ line. This value cannot be null . |
public String getMrzLine2 ()
Returns the second MRZ line as found on the passport.
Returns | |
String | The second MRZ line. This value cannot be null . |
public int getPassportNumberCheckDigit ()
Returns the check digit used to verify the passport number as found on the passport.
Returns | |
int | |
Last modified 6mo ago