MrzCheckDigits

data class MrzCheckDigits(val documentNumber: Char, val dateOfBirth: Char, val dateOfExpiry: Char, val optionalData: Char?, val composite: Char?)

The check digits exactly as printed on the document, not computed by the SDK.

toString() shows no document values; they are in the properties.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(documentNumber: Char, dateOfBirth: Char, dateOfExpiry: Char, optionalData: Char?, composite: Char?)

Properties

Link copied to clipboard

Composite check digit. null in MRV-A and MRV-B.

Link copied to clipboard

Check digit of the date of birth.

Link copied to clipboard

Check digit of the date of expiry.

Link copied to clipboard

Check digit of the document number.

Link copied to clipboard

Check digit of the optional data. null in every format except TD3, where it is the personal number check digit.

Functions

Link copied to clipboard
open override fun toString(): String

Which check digits the format prints; never a document value.