PassportModel

A class derived from DocumentModel containing details pertaining to all passport documents

import com.sybrin.identity.models.PassportModel

extends DocumentModel

Summary

Inherited methods

Public methods

getDateOfBirth

public Date getDateOfBirth ()

Returns the subject's date of birth as found on the passport.

getDateOfExpiry

public Date getDateOfExpiry ()

Returns the passport's date of expiry as found on the passport.

getIssuingCountryCode

public String getIssuingCountryCode ()

Returns the country code of the country the passport was issued in as found on the passport.

getNames

public String getNames ()

Returns the subject's names as found on the green book document.

getNationality

public String getNationality ()

Returns the subject's nationality as found on the passport.

getPassportNumber

public String getPassportNumber ()

Returns the passport number as found on the passport.

getPassportType

public String getPassportType ()

Returns the passport's type as found on the passport.

getSex

public String getSex ()

Returns the subject's sex as found on the passport.

getSurname

public String getSurname ()

Returns the subject's surname as found on the passport.

Last updated