BarcodeResult

class BarcodeResult(val barcodeData: BarcodeData, val firstName: String, val middleName: String, val lastName: String, val fullName: String, val additionalNameInformation: String, val address: String, val placeOfBirth: String, val nationality: String, val race: String, val religion: String, val profession: String, val maritalStatus: String, val residentialStatus: String, val employer: String, val sex: String, val dateOfBirth: DateResult<String>, val dateOfIssue: DateResult<String>, val dateOfExpiry: DateResult<String>, val documentNumber: String, val personalIdNumber: String, val documentAdditionalNumber: String, val issuingAuthority: String, val addressDetailedInfo: AddressDetailedInfo, val driverLicenseDetailedInfo: DriverLicenseDetailedInfo<String>, val extendedElements: BarcodeElements)

Represents the data extracted from the barcode.

Constructors

Link copied to clipboard
constructor(barcodeData: BarcodeData, firstName: String, middleName: String, lastName: String, fullName: String, additionalNameInformation: String, address: String, placeOfBirth: String, nationality: String, race: String, religion: String, profession: String, maritalStatus: String, residentialStatus: String, employer: String, sex: String, dateOfBirth: DateResult<String>, dateOfIssue: DateResult<String>, dateOfExpiry: DateResult<String>, documentNumber: String, personalIdNumber: String, documentAdditionalNumber: String, issuingAuthority: String, addressDetailedInfo: AddressDetailedInfo, driverLicenseDetailedInfo: DriverLicenseDetailedInfo<String>, extendedElements: BarcodeElements)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The additional name information of the document owner.

Link copied to clipboard

The address of the document owner.

Link copied to clipboard

The details about the address of the document owner.

Link copied to clipboard

The raw, unparsed barcode data.

Link copied to clipboard

The date of birth of the document owner.

Link copied to clipboard

The date of expiry of the document.

Link copied to clipboard

The date of issue of the document.

Link copied to clipboard

The additional number of the document.

Link copied to clipboard

The document number.

Link copied to clipboard

The driver license detailed info.

Link copied to clipboard

The employer of the document owner.

Link copied to clipboard

Document specific extended elements that contain all barcode fields

Link copied to clipboard

The first name of the document owner.

Link copied to clipboard

The full name of the document owner.

Link copied to clipboard

The issuing authority of the document.

Link copied to clipboard

The last name of the document owner.

Link copied to clipboard

The marital status of the document owner.

Link copied to clipboard

The middle name of the document owner.

Link copied to clipboard

The nationality of the document owner.

Link copied to clipboard

The personal identification number.

Link copied to clipboard

The place of birth of the document owner.

Link copied to clipboard

The profession of the document owner.

Link copied to clipboard

The race of the document owner.

Link copied to clipboard

The religion of the document owner.

Link copied to clipboard

The residential status of the document owner.

Link copied to clipboard
val sex: String

The sex of the document owner.