MrzField

A named MRZ field, used by observations to say which field they refer to.

Since

0.1.0

Entries

Link copied to clipboard

The document type code.

Link copied to clipboard

The issuing state code.

Link copied to clipboard

The name field: primary and secondary identifiers.

Link copied to clipboard

The document number.

Link copied to clipboard

The nationality code.

Link copied to clipboard

The date of birth.

Link copied to clipboard

The date of expiry.

Link copied to clipboard

The optional data field, or the personal number on a TD3.

Link copied to clipboard

The composite check digit, which covers several fields.

Link copied to clipboard

The sex character. @since 1.0.0

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): MrzField

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.