TD3

data class TD3(val rawLines: List<String>, val commonFields: CommonFields, val personalNumber: String, val personalNumberCheckDigit: Char) : MrzDocument

A parsed TD3 (passport) MRZ: two lines of 44 characters.

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

Since

0.1.0

Constructors

Link copied to clipboard
constructor(rawLines: List<String>, commonFields: CommonFields, personalNumber: String, personalNumberCheckDigit: Char)

Properties

Link copied to clipboard
open override val commonFields: CommonFields

The fields every format carries.

Link copied to clipboard
open override val format: MrzFormat
Link copied to clipboard

Personal number as printed: line 2, characters 29-42.

Link copied to clipboard

Its check digit as printed: line 2, character 43. The validator reports < here, with a personal number present, as a warning and not as a check digit mismatch. With an all-filler personal number, < and 0 are both allowed by ICAO Doc 9303 Part 4, and the validator reports nothing for either.

Link copied to clipboard
open override val rawLines: List<String>

The MRZ lines the document was read from.

Functions

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

The format and the line count; never a document value.