Td2MachineReadableZone

data class Td2MachineReadableZone(val documentCode: Element, val issuingStateOrOrganization: Element, val name: NameElement, val documentNumber: ElementWithCheckDigit, val nationality: Element, val dateOfBirth: DateElementWithCheckDigit, val sex: Element, val dateOfExpiry: DateElementWithCheckDigit, val optionalData: Element?, val compositeCheckDigit: CheckDigit)

Represents the Machine Readable Zone (MRZ) data extracted from a Travel Document Type 2 (TD2) according to the ICAO Doc 9303.

Constructors

Link copied to clipboard
fun Td2MachineReadableZone(documentCode: Element, issuingStateOrOrganization: Element, name: NameElement, documentNumber: ElementWithCheckDigit, nationality: Element, dateOfBirth: DateElementWithCheckDigit, sex: Element, dateOfExpiry: DateElementWithCheckDigit, optionalData: Element?, compositeCheckDigit: CheckDigit)

Properties

Link copied to clipboard

The composite check digit associated with the TD2 MRZ.

Link copied to clipboard

The element representing the date of birth extracted from the MRZ.

Link copied to clipboard

The element representing the date of expiry extracted from the MRZ.

Link copied to clipboard

The element representing the document code extracted from the MRZ.

Link copied to clipboard

The element representing the document number extracted from the MRZ.

Link copied to clipboard

The element representing the issuing state or organization extracted from the MRZ.

Link copied to clipboard

The element representing the name extracted from the MRZ.

Link copied to clipboard

The element representing the nationality extracted from the MRZ.

Link copied to clipboard

The optional data element extracted from the MRZ, if present.

Link copied to clipboard

The element representing the sex extracted from the MRZ.