Market Pay POS API C# v20
IDriver.cs
Go to the documentation of this file.
1 using System.Runtime.CompilerServices;
2 
3 namespace fr.marketpay.driver
4 {
13  public interface IDriver
14  {
15 
22  void open(EcrConfiguration ecrConfiguration, PoiConfiguration poiConfiguration);
23 
31  void close();
32 
40 
55 
66 
81 
90 
97 
103 
108 
115 
126 
147 
155 
164 
171  void setDiagnosticOptions(string diagnosticOptions);
172 
178 
183  string getCoreVersion();
184 
190  string getVersion();
191  }
192 }
Parameters required to cancel payment transaction.
Result of transaction cancellation.
Contains card identification data obtained during card reading operation.
Definition: CardData.cs:9
Data describing the check (cheque).
Definition: CheckParams.cs:10
Describes the result of PIN change operation.
Describes update result of payment terminal.
void setDiagnosticOptions(string diagnosticOptions)
For internal purpose.
CancellationResult transactionCancellation(CancellationParams cancellationParams)
Performs transaction reversal operation. It is possible after succesfull payment operation.
TerminalActivationResult activateTerminal(int timeout)
Performs terminal activation before first use. The driver must be already open before calling this fu...
PinChangeResult pinChange()
Triggers changing the PIN of payment card.
TerminalUpdateResult updateTerminal(int timeout)
Requests the payment terminal to perform update. This is a long, blocking operation.
void open(EcrConfiguration ecrConfiguration, PoiConfiguration poiConfiguration)
TransactionResult processCheckTransaction(TransactionParams transactionParams, CheckParams checkParams)
Performs payment transaction using paper check (cheque).
BalanceInquiryResult balanceInquiry(string accountId)
Allows checking the available amount in the account associated with payment card or with the accountI...
TransactionResult processTransaction(TransactionParams transactionParams, ITransactionHandler handler)
CardData getCardData()
Reads card identification data including loyalty ID. It's blocking function and can be interrupted ca...
void abortPinChange()
Terminates currently processed PIN change.
string getCoreVersion()
Provides version of driver core (native C++) API and implementation.
TerminalStatus testConnection()
void abortProcessingTransaction()
Terminates currently processed transaction started with processTransaction(). If called too late,...
int getApiVersion()
Provides version of driver core (native C++) API.
void abortGettingCardData()
Terminates currently processed card data reading operation started with getCardData().
string getVersion()
Provides version in format: [1.2.3-4] The first part number corresponds to this driver API version,...
LastTransactionResult getLastTransaction()
Tries to find last transaction result. Useful when last transaction failed due to connection error.