UnitedKingdomPassportModel

A class derived from PassportModel containing details specific to the United Kingdom passport

import com.sybrin.identity.countries.UnitedKingdom.Passport.UnitedKingdomPassportModel

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.

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.

getOptionalData

public String getOptionalData()‌‌‌

Returns the optional data as found on the passport.

getOptionalDataCheckDigit

public int getOptionalDataCheckDigit ()‌‌‌

Returns the check digit used to verify the optional data as found on the passport.