Class ApiPaymentRefundRequest

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

public class ApiPaymentRefundRequest extends Object
  • Constructor Details

    • ApiPaymentRefundRequest

      public ApiPaymentRefundRequest()
  • Method Details

    • getAmount

      public AmountData getAmount()
      Amount to refund. If not provided, the full amount will be refunded.
    • setAmount

      public void setAmount(AmountData value)
      Amount to refund. If not provided, the full amount will be refunded.
    • withAmount

      public ApiPaymentRefundRequest withAmount(AmountData value)
      Amount to refund. If not provided, the full amount will be refunded.
    • getCaptureImmediately

      public Boolean getCaptureImmediately()
      If true the transaction will be authorized and captured immediately
    • setCaptureImmediately

      public void setCaptureImmediately(Boolean value)
      If true the transaction will be authorized and captured immediately
    • withCaptureImmediately

      public ApiPaymentRefundRequest withCaptureImmediately(Boolean value)
      If true the transaction will be authorized and captured immediately
    • 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 ApiPaymentRefundRequest 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 ApiPaymentRefundRequest 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.
    • getReferences

      public PaymentReferences getReferences()
      Payment References
    • setReferences

      public void setReferences(PaymentReferences value)
      Payment References
    • withReferences

      public ApiPaymentRefundRequest withReferences(PaymentReferences value)
      Payment References
    • getTerminalData

      public TerminalData getTerminalData()
    • setTerminalData

      public void setTerminalData(TerminalData value)
    • withTerminalData

      public ApiPaymentRefundRequest 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 ApiPaymentRefundRequest 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)