Hardware
public class Hardware : CustomStringConvertible
Contains information about a piece of hardware in the terminal or devices attached to it. Immutable class.
-
init(hardwareType:
serialNumber: productionDate: productVersion: firmwareVersion: securityStatus: lastCleaningDate: imsi: imei: iccid: hardwareAddress: hardwareDescription: ) Create hardware information.
Declaration
Swift
public init(hardwareType: CHardwareType, serialNumber: String?, productionDate: TimeDate?, productVersion: String?, firmwareVersion: String?, securityStatus: CSecurityStatus?, lastCleaningDate: TimeDate?, imsi: String?, imei: String?, iccid: String?, hardwareAddress: String?, hardwareDescription: String?)
-
Specifies the hardware.
Declaration
Swift
public private(set) var hardwareType: CHardwareType { get }
-
Serial number of the specified hardware.
Declaration
Swift
public private(set) var serialNumber: String? { get }
-
Production date of the specified hardware.
Declaration
Swift
public private(set) var productionDate: TimeDate? { get }
-
Product version of the specified hardware.
Declaration
Swift
public private(set) var productVersion: String? { get }
-
Firmware version of the specified hardware.
Declaration
Swift
public private(set) var firmwareVersion: String? { get }
-
Security status of the specified hardware.
Declaration
Swift
public private(set) var securityStatus: CSecurityStatus? { get }
-
Available if HardwareType is ContactReader or MagStripeReader.
Declaration
Swift
public private(set) var lastCleaningDate: TimeDate? { get }
-
Imsi.
Declaration
Swift
public private(set) var imsi: String? { get }
-
Imei.
Declaration
Swift
public private(set) var imei: String? { get }
-
Iccid.
Declaration
Swift
public private(set) var iccid: String? { get }
-
Hardware address.
Declaration
Swift
public private(set) var hardwareAddress: String? { get }
-
Hardware description.
Declaration
Swift
public private(set) var hardwareDescription: String? { get }
-
Textual representation.
Declaration
Swift
public var description: String { get }