Terminal methods overview
The basic operation modes of terminal calls are:
1. **Synchronous**
- Asynchronous
Code example for adding a terminal listener:
// Register listeners on all events that you want to be noticed about.
// You can use multiple event handlers to handle individual events differently if required.
// Handlers can be added and removed any time.
terminal.TerminalStatusChanged += new Terminal.TerminalStatusChangedHandler(onTerminalStatusChanged);
terminal.TransactionCompleted += new Terminal.TransactionCompletedEventHandler(onTransactionCompleted);
.
.
.
void onTerminalStatusChanged(object sender, TerminalStatus trmStatus)
{
// process terminal status (e.g. CardReaderState)
}
void onTransactionCompleted(object sender, Terminal.TransactionCompletedEventArgs transactionCompletedEventArgs)
{
// process transaction response
}
Main / guide Retail terminal functions
Sync method
Async method
| Completed event | Description |
|---|---|
| Activate | |
| ActivateAsync | |
| ActivateCompleted | Open a user shift. |
| ApplicationInformation | |
| applicationInformationAsync | |
| applicationInformationCompleted | Request the list of brands available on the terminal. |
| Balance | |
| BalanceAsync | |
| BalanceCompleted | Force the EFT Terminal to transmit all transactions to the |
| host system as well to do the daily closing. | |
| Cancel | Aborts an open asynchronous Financial Transaction or Non-Financial Transaction request, except for a commit or rollback request, which cannot be cancelled. |
| ChangeSettings | |
| ChangeSettingsAsync | |
| ChangeSettingsCompleted | Change configuration parameters of the EFT Terminal. |
| Commit | |
| CommitAsync | |
| CommitCompleted | Perform Commit-operation after a successful Transaction call. |
| Connect |
ConnectCompleted | Initiates a connection to the EFT Terminal.
CounterRequest
CounterRequestAsync
CounterRequestCompleted | Get counter informations from the EFT Terminal.
DccRates
DccRatesAsync
DccRatesCompleted | Request DCC rates from the EFT Terminal.
Deactivate
DeactivateAsync
DeactivateCompleted | Close a user shift.
Disconnect
Disconnected | Interrupts the connection to the EFT Terminal.
HardwareInformation
HardwareInformationAsync
hardwareInformationCompleted | Get hardware information from the EFT Terminal.
Login
LoginAsync
LoginCompleted | Activate a communication session between the ECR and
the terminal.
Logout
LogoutAsync
LogoutCompleted | Terminate an active communication session between the ECR
and the terminal.
Reboot
RebootAsync
RebootCompleted | Force the EFT Terminal to reboot.
ReceiptRequest
ReceiptRequestAsync
ReceiptRequestCompleted | Receive the latest receipt or a list of silent receipts.
Reconciliation
ReconciliationAsync
ReconciliationCompleted | Force the EFT Terminal to transmit all financial transactions
to the host system.
Reconfig
ReconfigAsync
ReconfigCompleted | Force the EFT Terminal to get the configuration from the service center.
Rollback
RollbackAsync
RollbackCompleted | Prevent a transaction from being committed to the transaction
log and generates a technical reversal of the authorization.
SoftwareUpdate
SoftwareUpdateAsync
SoftwareUpdateCompleted | Force the EFT Terminal to start a Software Update.
SystemInformation
SystemInformationAsync
systemInformationCompleted | Request system information from the EFT Terminal.
Transaction
TransactionAsync
TransactionCompleted | Starts an EFT Terminal Transaction.
Guide Petrol terminal functions
Sync method
Async method
| Completed event | Description |
|---|---|
| InitTransaction | |
| InitTransactionAsync | |
| InitTransactionCompleted | Retrieve card data for the presented card. |
Guide Unattended terminal functions
Sync method
Async method
| Completed event | Description |
|---|---|
| OpenReader | |
| OpenReaderAsync | |
| OpenReaderCompleted | Opens the shutter of the card reader. |
| AmtAdjustment | Send an amount adjustment notification to the terminal during an open transaction. The amount is used as the new amount for the transaction. |
| CloseMaintenanceWindow | |
| CloseMaintenanceWindowAsync | |
| CloseMaintenanceWindowCompleted | Prohibits the EFT terminal from performing any triggered maintenance tasks. |
| CloseReader | |
| CloseReaderAsync | |
| CloseReaderCompleted | Closes the shutter of the card reader. |
| Commit | |
| CommitAsync | |
| CommitCompleted | Commits a transaction after succesful authorization. A lower amount may be commited than the authorized amount. |
| EjectCard | |
| EjectCardAsync | |
| EjectCardCompleted | Ejects the card from the card reader. |
| HoldCommit | Increases the commit timeout. |
| OpenMaintenanceWindow | |
| OpenMaintenanceWindowAsync | |
| OpenMaintenanceWindowCompleted | Opens a maintenance window where the terminal can perform all maintenance processes it was not able to perform before.> |
Banking terminal functions
Sync method
Async method
| Completed event | Description |
|---|---|
| BalanceInquiry | |
| BalanceInquiryAsync | |
| BalanceInquiryCompleted | Perform a balance check of a card/account on the terminal. |
Guide Dialog terminal functions
Sync method
Async method
| Completed event | Description |
|---|---|
| OpenDialogMode | |
| OpenDialogModeAsync | |
| OpenDialogModeCompleted | Open dialog mode on the terminal. |
| CloseDialogMode | |
| CloseDialogModeAsync | |
| CloseDialogModeCompleted | Close dialog mode on the terminal. |
| ShowDialog | |
| ShowDialogAsync | |
| ShowDialogCompleted | Show dialog on the terminal. |
| ShowSignatureCapture | |
| ShowSignatureCaptureAsync | |
| ShowSignatureCaptureCompleted | Show signature capture on the terminal. |
Additional terminal listener-events
| Listener-event | Description |
|---|---|
| TerminalStatusChanged | The terminal status has changed. The new status can be |
| retrieved from the TerminalStatus property. |