MrzGenerationNumericInNameField

data class MrzGenerationNumericInNameField(val format: MrzFormat, val observedValue: String, val numericCharacters: List<Char>) : MrzGenerationError

Generation error: a primary or secondary identifier contains a digit.

Reported by the generator methods that take a primary and secondary identifier, before any transliteration profile runs, and by generate(document) for the document's raw name field. The generator never removes the digits.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(format: MrzFormat, observedValue: String, numericCharacters: List<Char>)

Properties

Link copied to clipboard
open override val description: String

English text for logs: the format and the rule. It never contains the value or the digits; they are in the properties.

Link copied to clipboard

The format being generated.

Link copied to clipboard

Each digit found, in order of appearance.

Link copied to clipboard

The identifier as supplied, before transliteration, or the raw name field when the input was a document.

Functions

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

MrzGenerationNumericInNameField: followed by description, so logs carry no document values.