Class ApiPaymentRequest
java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiPaymentRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAmount for the operation.Additional data regarding the breakdown of the transaction amount.The type of authorizationCard dataDynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.Merchant DataA globally unique identifier of the operation, generated by you.
We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
It's used to detect duplicate requests or to reference an operation in technical reversals.Payment ReferencesTimestamp of transaction in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z)voidsetAmount(AmountData value) Amount for the operation.voidAdditional data regarding the breakdown of the transaction amount.voidsetAuthorizationType(String value) The type of authorizationvoidCard datavoidDynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.voidsetMerchant(MerchantData value) Merchant DatavoidsetOperationId(String value) A globally unique identifier of the operation, generated by you.
We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
It's used to detect duplicate requests or to reference an operation in technical reversals.voidsetReferences(PaymentReferences value) Payment ReferencesvoidsetTerminalData(TerminalData value) voidTimestamp of transaction in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z)withAmount(AmountData value) Amount for the operation.Additional data regarding the breakdown of the transaction amount.withAuthorizationType(String value) The type of authorizationCard dataDynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.withMerchant(MerchantData value) Merchant DatawithOperationId(String value) A globally unique identifier of the operation, generated by you.
We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
It's used to detect duplicate requests or to reference an operation in technical reversals.withReferences(PaymentReferences value) Payment ReferenceswithTerminalData(TerminalData value) Timestamp of transaction in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z)
-
Constructor Details
-
ApiPaymentRequest
public ApiPaymentRequest()
-
-
Method Details
-
getAmount
Amount for the operation. -
setAmount
Amount for the operation. -
withAmount
Amount for the operation. -
getAmountBreakdownData
Additional data regarding the breakdown of the transaction amount. This can include amounts such as tip or cashback. The amounts specified are included in the total transactionamount, the information is provided for data enrichment and reconciliation purposes. -
setAmountBreakdownData
Additional data regarding the breakdown of the transaction amount. This can include amounts such as tip or cashback. The amounts specified are included in the total transactionamount, the information is provided for data enrichment and reconciliation purposes. -
withAmountBreakdownData
Additional data regarding the breakdown of the transaction amount. This can include amounts such as tip or cashback. The amounts specified are included in the total transactionamount, the information is provided for data enrichment and reconciliation purposes. -
getAuthorizationType
The type of authorization -
setAuthorizationType
The type of authorization -
withAuthorizationType
The type of authorization -
getCardPaymentData
Card data -
setCardPaymentData
Card data -
withCardPaymentData
Card data -
getDynamicCurrencyConversion
Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions. -
setDynamicCurrencyConversion
Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions. -
withDynamicCurrencyConversion
Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions. -
getMerchant
Merchant Data -
setMerchant
Merchant Data -
withMerchant
Merchant Data -
getOperationId
A globally unique identifier of the operation, generated by you.
We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
It's used to detect duplicate requests or to reference an operation in technical reversals. -
setOperationId
A globally unique identifier of the operation, generated by you.
We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
It's used to detect duplicate requests or to reference an operation in technical reversals. -
withOperationId
A globally unique identifier of the operation, generated by you.
We advise you to submit a UUID or an identifier composed of an arbitrary string and a UUID/URL-safe Base64 UUID (RFC 4648 §5).
It's used to detect duplicate requests or to reference an operation in technical reversals. -
getReferences
Payment References -
setReferences
Payment References -
withReferences
Payment References -
getTerminalData
-
setTerminalData
-
withTerminalData
-
getTransactionTimestamp
Timestamp of transaction in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z) -
setTransactionTimestamp
Timestamp of transaction in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z) -
withTransactionTimestamp
Timestamp of transaction in ISO 8601 format (YYYY-MM-DDThh:mm:ss+TZD)
It can be expressed in merchant time zone (ex: 2023-10-10T08:00+02:00) or in UTC (ex: 2023-10-10T08:00Z)
-