Class ApiPaymentReversalRequest

java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.ApiPaymentReversalRequest

public class ApiPaymentReversalRequest extends Object
  • Constructor Details

    • ApiPaymentReversalRequest

      public ApiPaymentReversalRequest()
  • Method Details

    • getDynamicCurrencyConversion

      public DccData getDynamicCurrencyConversion()
      Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
      Mandatory for DCC transactions.
    • setDynamicCurrencyConversion

      public void setDynamicCurrencyConversion(DccData value)
      Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
      Mandatory for DCC transactions.
    • withDynamicCurrencyConversion

      public ApiPaymentReversalRequest withDynamicCurrencyConversion(DccData value)
      Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
      Mandatory for DCC transactions.
    • getOperationId

      public String 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

      public void setOperationId(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.
    • withOperationId

      public ApiPaymentReversalRequest 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.
    • getReversalAmount

      public AmountData getReversalAmount()
      Amount to reverse. If not provided, the full amount will be reversed.
    • setReversalAmount

      public void setReversalAmount(AmountData value)
      Amount to reverse. If not provided, the full amount will be reversed.
    • withReversalAmount

      public ApiPaymentReversalRequest withReversalAmount(AmountData value)
      Amount to reverse. If not provided, the full amount will be reversed.
    • getTerminalData

      public TerminalData getTerminalData()
    • setTerminalData

      public void setTerminalData(TerminalData value)
    • withTerminalData

      public ApiPaymentReversalRequest withTerminalData(TerminalData value)
    • getTransactionTimestamp

      public ZonedDateTime 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

      public void setTransactionTimestamp(ZonedDateTime 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)
    • withTransactionTimestamp

      public ApiPaymentReversalRequest withTransactionTimestamp(ZonedDateTime 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)