Skip to content

NfcKeys

Class that handles all compatible input parameters for NFC reading.

Properties

public var description: String { get }

Description of the parameters.

public var documentNumber: DocumentNumber

Document number.

public var birthDate: BirthDate

Birth date

public var expiryDate: ExpiryDate

Expiry date.

public var can: CAN

Card Access Number.

Public Methods

public init(
 documentNumber: DocumentNumber,
 birthDate: BirthDate,
 expiryDate: ExpiryDate,
 can: CAN
)

Constructor of the class.

The CAN is not currently used.

  • Parameters:

    • documentNumber: document number.
    • birthDate: birth date.
    • expiryDate: expiry date.
    • can: card access number.
public func join() -> String

Joins the first three parameters in just one string.

  • Returns:

    • A string with the three parameters joined.