FeaturesHardware
public class FeaturesHardware : CustomStringConvertible
Hardware features supported by the terminal. Immutable class.
-
init(cardholderDisplay:merchantDisplay:printer:displayBrightness:displayContrast:alertTones:keypadTones:)
Create hardware features.
Declaration
Swift
public init(cardholderDisplay: Bool, merchantDisplay: Bool, printer: Bool, displayBrightness: Bool, displayContrast: Bool, alertTones: Bool, keypadTones: Bool)
-
The device has a cardholder display.
Declaration
Swift
public private(set) var cardholderDisplay: Bool
-
The device has a merchant display.
Declaration
Swift
public private(set) var merchantDisplay: Bool
-
The device has a printer.
Declaration
Swift
public private(set) var printer: Bool
-
The display brightness can be set.
Declaration
Swift
public private(set) var displayBrightness: Bool
-
The display contrast can be set.
Declaration
Swift
public private(set) var displayContrast: Bool
-
The alert tones can be set.
Declaration
Swift
public private(set) var alertTones: Bool
-
The keypad tones can be set.
Declaration
Swift
public private(set) var keypadTones: Bool
-
Textual representation.
Declaration
Swift
public var description: String { get }