Class ApiPaymentRequest

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

public class ApiPaymentRequest extends Object
  • Constructor Details

    • ApiPaymentRequest

      public ApiPaymentRequest()
  • Method Details

    • getAmount

      public AmountData getAmount()
      Amount for the operation.
    • setAmount

      public void setAmount(AmountData value)
      Amount for the operation.
    • withAmount

      public ApiPaymentRequest withAmount(AmountData value)
      Amount for the operation.
    • getAmountBreakdownData

      public AmountBreakdownData 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 transaction amount, the information is provided for data enrichment and reconciliation purposes.
    • setAmountBreakdownData

      public void setAmountBreakdownData(AmountBreakdownData value)
      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 transaction amount, the information is provided for data enrichment and reconciliation purposes.
    • withAmountBreakdownData

      public ApiPaymentRequest withAmountBreakdownData(AmountBreakdownData value)
      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 transaction amount, the information is provided for data enrichment and reconciliation purposes.
    • getAuthorizationType

      public String getAuthorizationType()
      The type of authorization
    • setAuthorizationType

      public void setAuthorizationType(String value)
      The type of authorization
    • withAuthorizationType

      public ApiPaymentRequest withAuthorizationType(String value)
      The type of authorization
    • getCardPaymentData

      public CardPaymentData getCardPaymentData()
      Card data
    • setCardPaymentData

      public void setCardPaymentData(CardPaymentData value)
      Card data
    • withCardPaymentData

      public ApiPaymentRequest withCardPaymentData(CardPaymentData value)
      Card data
    • 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 ApiPaymentRequest withDynamicCurrencyConversion(DccData value)
      Dynamic Currency Conversion (DCC) rate data from DCC lookup response.
      Mandatory for DCC transactions.
    • getMerchant

      public MerchantData getMerchant()
      Merchant Data
    • setMerchant

      public void setMerchant(MerchantData value)
      Merchant Data
    • withMerchant

      public ApiPaymentRequest withMerchant(MerchantData value)
      Merchant Data
    • 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 ApiPaymentRequest 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 ApiPaymentRequest withReferences(PaymentReferences value)
      Payment References
    • getTerminalData

      public TerminalData getTerminalData()
    • setTerminalData

      public void setTerminalData(TerminalData value)
    • withTerminalData

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