SouthAfricaPassportModel
A class derived from PassportModel containing details specific to the South African passport
import com.sybrin.identity.countries.SouthAfrica.Passport.SouthAfricaPassportModel
extends
PassportModel
Summary
Inherited methods
Validation
The following validation and verification applies to this document:
Check digit validation
Public methods
getCompositeCheckDigit
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.
getDateOfBirthCheckDigit
public int getDateOfBirthCheckDigit ()
Returns the check digit used to verify the subject's date of birth as found on the passport.
getDateOfExpiryCheckDigit
public int getDateOfExpiryCheckDigit ()
Returns the check digit used to verify the passport's date of expiry as found on the passport.
getIdentityNumber
public String getIdentityNumber()
Returns the subject's identity number as found on the passport.
getIdentityNumberADigit
public int getIdentityNumberADigit ()
Returns the A digits as found within the subject's identity number.
getIdentityNumberCheckDigit
public int getIdentityNumberCheckDigit ()
Returns the check digit used to verify the subject's identity number as found on the passport.
getIdentityNumberCitizenship
public
CitizenshipType
getIdentityNumberCitizenship ()
Returns the type of citizen a subject's is as found within the subject's identity number.
getIdentityNumberDateOfBirth
public Date getIdentityNumberDateOfBirth ()
Returns the subject's date of birth as found within the subject's identity number.
getIdentityNumberPassportCheckDigit
public int getIdentityNumberPassportCheckDigit ()
Returns the check digit used to verify the subject's identity number as found on passport.
getIdentityNumberSex
public String getIdentityNumberSex ()
Returns the subject's sex as found within the subject's identity number.
getMrzLine1
public String getMrzLine1 ()
Returns the first MRZ line as found on the passport.
getMrzLine2
public String getMrzLine2 ()
Returns the second MRZ line as found on the passport.
getPassportNumberCheckDigit
public int getPassportNumberCheckDigit ()
Returns the check digit used to verify the passport number as found on the passport.
Last updated