Class
Name | Description |
---|---|
|
Extends |
Method
Name | Description |
---|---|
|
Creates a tender using a number of attributes. This method returns an immediate response of type |
Tender Parameter
Name | Type | Description |
---|---|---|
tender |
Tender | Holds tender attributes. |
For gift card operations, you create a tender prior to calling cardOperation
. This createTender
must not include a KeyedEntry
tender option. If the original tender contains a KeyedEntry
tender option, it is not possible to perform a cardOperation
.
Attributes
Name | Type | Required | Definition |
---|---|---|---|
|
String |
The | |
|
String |
The transaction reference provided by the Merchant (reported in the plataforma de pagamentos da Adyen). | |
|
String |
The transaction currency. | |
|
long |
The transaction amount in minor units (100 is 1.00 with EUR). | |
|
Tender.TenderOption |
The transaction options. Can be an empty TenderOption. | |
|
TransactionTypes |
The tender type (GOODS_SERVICES or REFUND GOODS_SERVICES_WITH_CASHBACK, CASHOUT). | |
|
String |
The tender reference provided by the Adyen PSP (reported in the plataforma de pagamentos da Adyen). A | |
|
String |
The order reference for split payments (reported in the plataforma de pagamentos da Adyen). | |
|
String |
The original reference for refunds (reported in the plataforma de pagamentos da Adyen). | |
|
long |
The tender gratuity amount in minor units (100 is 1.00 with EUR). | |
|
String |
Shopper identification (used for omnichannel digital customer recognition; minimum length three characters). | |
|
String |
Shopper identification (used for omnichannel digital customer recognition). | |
|
RecurringContract |
Recurring contract if registering for RECURRING or ONE_CLICK payments. | |
|
String |
Recurring contract detail key (points at payment details of this Tender). | |
|
DccData |
Container for the DCC data. | |
|
List |
Holds a list of receipt information. | |
|
String |
authorization code for the transaction. A | |
|
String |
Reason for refused transaction, if applicable. | |
|
AdyenPed |
The PED to run this transaction on, do not serialize it | |
|
String |
The PED to process the transaction on. | |
|
String |
The transaction adjusted currency. | |
|
long |
The transaction adjusted amount in minor units (100 is 1.00 with EUR). |
Passing tender options
Pass tender options, such as creating a recurring contract, with the TenderOption
list. For more information, see pass tender options.
Determine the current and final tender state
Adyen provides a method to determine the current, or final, tender state. For more information, see Determine the current and final tender state - JNI.
Callbacks
Name | Description |
---|---|
createTenderCallback |
Immediate callback to creation of the tender. |
progressCallback
|
Reports the progress on a running tender |
additionalDataCallback
|
Invoked after the shopper inserts or swipes a card. Retrieves additional data about the cardholder. |
tenderDccCallback
|
Returns dynamic currency conversion information to inform the POS what is happening on the PED. On the PED the shopper is allowed to choose their own currency to complete the tender. |
tenderPrintReceiptCallback
|
Returns the receipt for printing, and requests that the POS confirms it has received the receipt. |
tenderCheckSignatureCallback
|
Allows the store assistant to accept or decline a shopper's signature on the PED. |
finalCallback
|
When the system finishes processing the tender, it triggers the final state callback. |