Class CurrencyConversionResponse

java.lang.Object
com.onlinepayments.domain.CurrencyConversionResponse

public class CurrencyConversionResponse extends Object
  • Constructor Details

    • CurrencyConversionResponse

      public CurrencyConversionResponse()
  • Method Details

    • getDccSessionId

      public String getDccSessionId()
      The identifier of the Dynamic Currency Conversion(DCC) session that has been created. 'dccSessionId' will be populated exclusively when the result is "Allowed" for other outcomes such as "InvalidCard", "InvalidMerchant", "NoRate" or "NotAvailable" this field value will be an empty string.
    • setDccSessionId

      public void setDccSessionId(String value)
      The identifier of the Dynamic Currency Conversion(DCC) session that has been created. 'dccSessionId' will be populated exclusively when the result is "Allowed" for other outcomes such as "InvalidCard", "InvalidMerchant", "NoRate" or "NotAvailable" this field value will be an empty string.
    • withDccSessionId

      public CurrencyConversionResponse withDccSessionId(String value)
      The identifier of the Dynamic Currency Conversion(DCC) session that has been created. 'dccSessionId' will be populated exclusively when the result is "Allowed" for other outcomes such as "InvalidCard", "InvalidMerchant", "NoRate" or "NotAvailable" this field value will be an empty string.
    • getProposal

      public DccProposal getProposal()
      Details of currency conversion to be proposed to the cardholder
    • setProposal

      public void setProposal(DccProposal value)
      Details of currency conversion to be proposed to the cardholder
    • withProposal

      public CurrencyConversionResponse withProposal(DccProposal value)
      Details of currency conversion to be proposed to the cardholder
    • getResult

      public CurrencyConversionResult getResult()
      Result of a requested currency conversion
    • setResult

      public void setResult(CurrencyConversionResult value)
      Result of a requested currency conversion
    • withResult

      Result of a requested currency conversion