TerminalStatus
public class TerminalStatus : CustomStringConvertible
Contains information about the current EFT Terminal status.
-
init(displayContent:connectionStatus:managementStatus:cardReaderStatus:transactionStatus:sleepModeStatus:receiptInformation:cardData:swUpdateAvailable:finalAmount:)
Create terminal status.
Declaration
Swift
public init(displayContent: [String], connectionStatus: CConnectionStatus, managementStatus: CManagementStatus, cardReaderStatus: CCardReaderStatus, transactionStatus: CTransactionStatus, sleepModeStatus: CSleepModeStatus?, receiptInformation: Bool, cardData: CardData?, swUpdateAvailable: Bool, finalAmount: AmountFinal?)
-
Content of display on EFT Terminal.
Declaration
Swift
public let displayContent: [String]
-
Connection status of the EFT Terminal.
Declaration
Swift
public let connectionStatus: CConnectionStatus
-
Management status of the EFT Terminal.
Declaration
Swift
public let managementStatus: CManagementStatus
-
Status of card reader attached to EFT Terminal.
Declaration
Swift
public let cardReaderStatus: CCardReaderStatus
-
Transaction status of EFT Terminal.
Declaration
Swift
public let transactionStatus: CTransactionStatus
-
Sleep mode status of EFT Terminal.
Declaration
Swift
public let sleepModeStatus: CSleepModeStatus?
-
Receipts can be retrieved using {@link Terminal#receiptRequest} or {@link Terminal#receiptRequestAsync}.
Declaration
Swift
public let receiptInformation: Bool
-
Information about payment card used by the customer if present.
Declaration
Swift
public let cardData: CardData?
-
Software update is available.
Declaration
Swift
public let swUpdateAvailable: Bool
-
Amount after adjusting.
Declaration
Swift
public let finalAmount: AmountFinal?
-
Textual representation.
Declaration
Swift
public var description: String { get }