Class TerminalStatus
The TerminalStatus function returns information about the state of the terminal. This includes the state of the state machines, display content, the card reader status and, if available card data
Inheritance
Inherited Members
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class TerminalStatus
Constructors
TerminalStatus(List<String>, ConnectionStatus, ManagementStatus, CardReaderStatus, TransactionStatus, SleepModeStatus, Boolean, CardData, Boolean, Amount)
Create terminal status.
Declaration
public TerminalStatus(List<string> displayContent, ConnectionStatus connectionStatus, ManagementStatus managementStatus, CardReaderStatus cardReaderStatus, TransactionStatus transactionStatus, SleepModeStatus sleepModeStatus, bool receiptInformation, CardData cardData, bool swUpdateAvailable, Amount finalAmount)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | displayContent | |
ConnectionStatus | connectionStatus | |
ManagementStatus | managementStatus | |
CardReaderStatus | cardReaderStatus | |
TransactionStatus | transactionStatus | |
SleepModeStatus | sleepModeStatus | |
System.Boolean | receiptInformation | |
CardData | cardData | |
System.Boolean | swUpdateAvailable | |
Amount | finalAmount |
Properties
CardData
the card data if a card is present. null if no card
Declaration
public CardData CardData { get; }
Property Value
Type | Description |
---|---|
CardData |
CardReaderStatus
Actual card reader status.
Declaration
public CardReaderStatus CardReaderStatus { get; }
Property Value
Type | Description |
---|---|
CardReaderStatus |
ConnectionStatus
Current connection state.
Declaration
public ConnectionStatus ConnectionStatus { get; set; }
Property Value
Type | Description |
---|---|
ConnectionStatus | Disconnected - LoggedOut - LoggedIn |
DisplayContent
Gets the display content.
Declaration
public List<string> DisplayContent { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
FinalAmount
If the amount of the original transaction has been adjusted.
Declaration
public Amount FinalAmount { get; }
Property Value
Type | Description |
---|---|
Amount |
ManagementStatus
Current management state.
Declaration
public ManagementStatus ManagementStatus { get; }
Property Value
Type | Description |
---|---|
ManagementStatus |
ReceiptInformation
indicates if a receibt is available.
Declaration
public bool ReceiptInformation { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
SleepModeStatus
Processing information of the actual sleep mode change.
Declaration
public SleepModeStatus SleepModeStatus { get; }
Property Value
Type | Description |
---|---|
SleepModeStatus |
SwUpdateAvailable
Gets if asw update is available.
Declaration
public bool SwUpdateAvailable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
TransactionStatus
Processing information of the actual transaction state.
Declaration
public TransactionStatus TransactionStatus { get; }
Property Value
Type | Description |
---|---|
TransactionStatus |
Methods
Copy()
Copies this instance.
Declaration
public TerminalStatus Copy()
Returns
Type | Description |
---|---|
TerminalStatus | a copy this instance. |
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |