Class
Name | Description |
---|---|
MerchantPos |
Extends AdyenPos . Class used to implement all payment platform functionality. Implements all functions that do not involve the PED. |
Method
Name | Description |
---|---|
|
Start a cancel or refund. If a This method returns an immediate response of type |
Tender Parameter
Name | Type | Required | Description |
---|---|---|---|
tender |
Tender | Represents the tender. |
Attributes
Name | Type | Required | Definition |
---|---|---|---|
merchantAccount |
String | The merchantAccount account to receive the money. |
|
merchantReference |
String | The transaction reference provided by the Merchant (reported in the plataforma de pagamentos da Adyen). | |
pspReference |
String | The reference provided by the Adyen PSP (reported in the plataforma de pagamentos da Adyen). Use the PSP reference to identify the transaction to be cancelled. | |
tenderReference |
String | Tender reference provided by the library if there is no connection to the PSP. Use the Tender reference to identify the transaction to be cancelled. | |
terminalId |
String | The PED to process the transaction on. |
Callback
Name | Description |
---|---|
|
Returns the result of creating the tender |
Callback Response Attributes
Name | Description |
---|---|
additionalData |
Adyen returns the additionalData object, a generic container that can hold extra response fields |
tenderReference |
Reference the PED provides for the transaction, used in reporting on the plataforma de pagamentos da Adyen. |
tenderState |
Transaction state |
adyenResult |
Transaction result details |
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.