DocumentNumber¶
Class that represents the document number parameter needed for NFC reading.
If created without parameters, it will generate the default values for all configurations.
Properties¶
public var value: String
Document number (support number in DNI3.0) of the document.
public var checksum: String
Checksum of the value.
public var description: String { get }
Description of the parameters.
Public Methods¶
public init(value: String, checksum: String? = nil)
Constructor of the class.
-
Parameters:
- value: value of the document number.
- checksum: checksum of the value of the CAN. If nil, it is automatically calculated.