Success

data class Success(val document: MrzDocument, val metadata: ResultMetadata) : ParseResult

The input parsed and the validator found no validation failure.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(document: MrzDocument, metadata: ResultMetadata)

Properties

Link copied to clipboard

The parsed document.

Link copied to clipboard
open override val metadata: ResultMetadata

The reading method and any warnings.

Functions

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

The format and the metadata counts; never a document value.