Class ApiPaymentReversalRequest
java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiPaymentReversalRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.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.Amount to reverse.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)voidDynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.voidsetOperationId(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.voidsetReversalAmount(AmountData value) Amount to reverse.voidsetTerminalData(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)Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
Mandatory for DCC transactions.withOperationId(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.withReversalAmount(AmountData value) Amount to reverse.withTerminalData(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
-
ApiPaymentReversalRequest
public ApiPaymentReversalRequest()
-
-
Method Details
-
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. -
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. -
getReversalAmount
Amount to reverse. If not provided, the full amount will be reversed. -
setReversalAmount
Amount to reverse. If not provided, the full amount will be reversed. -
withReversalAmount
Amount to reverse. If not provided, the full amount will be reversed. -
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)
-