Class GetDccRateRequest

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

public class GetDccRateRequest extends Object
  • Constructor Details

    • GetDccRateRequest

      public GetDccRateRequest()
  • Method Details

    • getCardPaymentData

      public CardDataForDcc getCardPaymentData()
    • setCardPaymentData

      public void setCardPaymentData(CardDataForDcc value)
    • withCardPaymentData

      public GetDccRateRequest withCardPaymentData(CardDataForDcc value)
    • 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 GetDccRateRequest 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.
    • getOriginalPaymentDate

      public LocalDate getOriginalPaymentDate()
      The date of the original payment. Our system will try to return the original rate associated with the provided originalPaymentDate, but it may not always be possible to retrieve the exact original rate. If possible you should use rateReferenceId instead.
    • setOriginalPaymentDate

      public void setOriginalPaymentDate(LocalDate value)
      The date of the original payment. Our system will try to return the original rate associated with the provided originalPaymentDate, but it may not always be possible to retrieve the exact original rate. If possible you should use rateReferenceId instead.
    • withOriginalPaymentDate

      public GetDccRateRequest withOriginalPaymentDate(LocalDate value)
      The date of the original payment. Our system will try to return the original rate associated with the provided originalPaymentDate, but it may not always be possible to retrieve the exact original rate. If possible you should use rateReferenceId instead.
    • getPointOfSaleData

      public PointOfSaleDataForDcc getPointOfSaleData()
    • setPointOfSaleData

      public void setPointOfSaleData(PointOfSaleDataForDcc value)
    • withPointOfSaleData

      public GetDccRateRequest withPointOfSaleData(PointOfSaleDataForDcc value)
    • getRateReferenceId

      public String getRateReferenceId()
      The reference of a previously used rate
      This can be used in case of any follow-up action for which you want to reference the original rate. Our system will try to return the original rate associated with the provided rateReferenceId.

      Alternatively you can provide originalPaymentDate to reference the date of the original payment. Our system will try to return the original rate associated with the provided originalPaymentDate, but it may not always be possible to retrieve the exact original rate. If possible you should use rateReferenceId instead.

    • setRateReferenceId

      public void setRateReferenceId(String value)
      The reference of a previously used rate
      This can be used in case of any follow-up action for which you want to reference the original rate. Our system will try to return the original rate associated with the provided rateReferenceId.

      Alternatively you can provide originalPaymentDate to reference the date of the original payment. Our system will try to return the original rate associated with the provided originalPaymentDate, but it may not always be possible to retrieve the exact original rate. If possible you should use rateReferenceId instead.

    • withRateReferenceId

      public GetDccRateRequest withRateReferenceId(String value)
      The reference of a previously used rate
      This can be used in case of any follow-up action for which you want to reference the original rate. Our system will try to return the original rate associated with the provided rateReferenceId.

      Alternatively you can provide originalPaymentDate to reference the date of the original payment. Our system will try to return the original rate associated with the provided originalPaymentDate, but it may not always be possible to retrieve the exact original rate. If possible you should use rateReferenceId instead.

    • getTargetCurrency

      public String getTargetCurrency()
      The currency to convert to
    • setTargetCurrency

      public void setTargetCurrency(String value)
      The currency to convert to
    • withTargetCurrency

      public GetDccRateRequest withTargetCurrency(String value)
      The currency to convert to
    • getTransaction

      public TransactionDataForDcc getTransaction()
    • setTransaction

      public void setTransaction(TransactionDataForDcc value)
    • withTransaction

      public GetDccRateRequest withTransaction(TransactionDataForDcc value)