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:)
Create hardware information.
Declaration
Swift
public init(hardwareType: CHardwareType, serialNumber: String?, productionDate: TimeDate?, productVersion: String?, firmwareVersion: String?, securityStatus: CSecurityStatus?, lastCleaningDate: TimeDate?)
-
Specifies the hardware.
Declaration
Swift
public private(set) var hardwareType: CHardwareType
-
Serial number of the specified hardware.
Declaration
Swift
public private(set) var serialNumber: String?
-
Production date of the specified hardware.
Declaration
Swift
public private(set) var productionDate: TimeDate?
-
Product version of the specified hardware.
Declaration
Swift
public private(set) var productVersion: String?
-
Firmware version of the specified hardware.
Declaration
Swift
public private(set) var firmwareVersion: String?
-
Security status of the specified hardware.
Declaration
Swift
public private(set) var securityStatus: CSecurityStatus?
-
Available if HardwareType is ContactReader or MagStripeReader.
Declaration
Swift
public private(set) var lastCleaningDate: TimeDate?
-
Textual representation.
Declaration
Swift
public var description: String { get }