Methods

ISwpTrmIf_1 Methods

schedule 1 min read
Edit "ISwpTrmIf_1 Methods" on GitHub

Create

The Create method is the first method to be called.

Start

The Start method initializes the created instance.

Open/OpenAsync

The Open method call is the first method call that actually communicates with the terminal.

Close/CloseAsync

The Close call is used to terminate a login session and allow for maintenance. The terminal will be shown as closed.

Payment/PaymentAsync

Call Payment to make a purchase transaction when the amount is known. To read the card before the amount is known, use GetPaymentInstrument instead.

Refund/RefundAsync

Call Refund to make a refund transaction when the amount is known. To read the card before the amount is known, use GetPaymentInstrument instead. RefundAsync has the exact same results as PaymentAsync.

Abort/AbortAsync

A call to Abort aborts an ongoing request. The AbortRequest itself is not responded to by the terminal, and the response of the aborted request ends up as a result of the aborted request.

ReverseLast/ReverseLastAsync

Call ReverseLast to reverse the last transaction. The reversal is only possible for the last transaction made, given that it was successful.

GetPaymentInstrument/GetPaymentInstrumentAsync

Call GetPaymentInstrument to initiate a purchase before the amount is known.

SetPaymentInstrument

With SetPaymentInstrument, it is possible to send a NON PCI regulated card number or similar to the terminal.