Market Pay POS API C# v20
Data Fields
fr.marketpay.driver.TransactionParams Class Reference
Collaboration diagram for fr.marketpay.driver.TransactionParams:
Collaboration graph
[legend]

Data Fields

TransactionType type
 
TransactionMode mode
 
long amount
 
long amountTip
 
long amountCashback
 
string ecrTransactionId
 
string transactionReference
 
int currency
 
string cashierId
 
string merchantOption
 

Detailed Description

Data required to begin the transaction.

See also
IDriver::processTransaction(TransactionParams, ITransactionHandler)
Since
0.0.1

Definition at line 9 of file TransactionParams.cs.

Field Documentation

◆ amount

long fr.marketpay.driver.TransactionParams.amount

Transaction amount including the number of digits after the decimal separator, mandatory i.e. higher than value 0.

Definition at line 26 of file TransactionParams.cs.

◆ amountCashback

long fr.marketpay.driver.TransactionParams.amountCashback

Cashback amount including the number of digits after the decimal separator, optional

Definition at line 38 of file TransactionParams.cs.

◆ amountTip

long fr.marketpay.driver.TransactionParams.amountTip

Tip amount including the number of digits after the decimal separator, optional.

Definition at line 32 of file TransactionParams.cs.

◆ cashierId

string fr.marketpay.driver.TransactionParams.cashierId

Cashier identification, format: any unlimited string, optional if EcrConfiguration.cashierId is provided in parameters for IDriver.open(), mandatory if EcrConfiguration.cashierId is not provided in parameters for IDriver.open()

Definition at line 73 of file TransactionParams.cs.

◆ currency

int fr.marketpay.driver.TransactionParams.currency

Currency code, format: ISO 4217 number, mandatory

Definition at line 65 of file TransactionParams.cs.

◆ ecrTransactionId

string fr.marketpay.driver.TransactionParams.ecrTransactionId

Transaction identification, format: any unlimited string, mandatory

Definition at line 44 of file TransactionParams.cs.

◆ merchantOption

string fr.marketpay.driver.TransactionParams.merchantOption

Custom merchant options, format: any unlimited string, optional

Definition at line 79 of file TransactionParams.cs.

◆ mode

TransactionMode fr.marketpay.driver.TransactionParams.mode

Transaction mode.

Definition at line 20 of file TransactionParams.cs.

◆ transactionReference

string fr.marketpay.driver.TransactionParams.transactionReference

Reservation identifier. Used to manage reservation state. Values and roles are described by the following table:

Transaction type (type) Presence Role
PreAuthorisation Optional Payment terminal may try use this value as terminal's transaction ID.
Filally, the TransactionResult.terminalTransactionId must be used as transaction reference in next calls.
PreAuthorisationCompletion Required Value obtained from TransactionResult.terminalTransactionId during PreAuthorisation.
Other transaction types Not used Field is ignored with the warning log.
See also
TransactionResult.terminalTransactionId
Since
v18

Definition at line 59 of file TransactionParams.cs.

◆ type

TransactionType fr.marketpay.driver.TransactionParams.type

Transaction type.

Definition at line 15 of file TransactionParams.cs.


The documentation for this class was generated from the following file: