Class CurrencyConversionResult

java.lang.Object
com.onlinepayments.domain.CurrencyConversionResult

public class CurrencyConversionResult extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Functional response to the request: Allowed: Dynamic currency conversion may be offered to the cardholder InvalidCard: The card is not valid for dynamic currency conversion InvalidMerchant: The card acceptor has not been recognised NoRate: Exchange rates are not available NotAvailable: Dynamic currency conversion is not available for other reason
    Plain text explaining the result of the currency conversion request
    void
    Functional response to the request: Allowed: Dynamic currency conversion may be offered to the cardholder InvalidCard: The card is not valid for dynamic currency conversion InvalidMerchant: The card acceptor has not been recognised NoRate: Exchange rates are not available NotAvailable: Dynamic currency conversion is not available for other reason
    void
    Plain text explaining the result of the currency conversion request
    Functional response to the request: Allowed: Dynamic currency conversion may be offered to the cardholder InvalidCard: The card is not valid for dynamic currency conversion InvalidMerchant: The card acceptor has not been recognised NoRate: Exchange rates are not available NotAvailable: Dynamic currency conversion is not available for other reason
    Plain text explaining the result of the currency conversion request

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CurrencyConversionResult

      public CurrencyConversionResult()
  • Method Details

    • getResult

      public String getResult()
      Functional response to the request:
      • Allowed: Dynamic currency conversion may be offered to the cardholder
      • InvalidCard: The card is not valid for dynamic currency conversion
      • InvalidMerchant: The card acceptor has not been recognised
      • NoRate: Exchange rates are not available
      • NotAvailable: Dynamic currency conversion is not available for other reason
    • setResult

      public void setResult(String value)
      Functional response to the request:
      • Allowed: Dynamic currency conversion may be offered to the cardholder
      • InvalidCard: The card is not valid for dynamic currency conversion
      • InvalidMerchant: The card acceptor has not been recognised
      • NoRate: Exchange rates are not available
      • NotAvailable: Dynamic currency conversion is not available for other reason
    • withResult

      public CurrencyConversionResult withResult(String value)
      Functional response to the request:
      • Allowed: Dynamic currency conversion may be offered to the cardholder
      • InvalidCard: The card is not valid for dynamic currency conversion
      • InvalidMerchant: The card acceptor has not been recognised
      • NoRate: Exchange rates are not available
      • NotAvailable: Dynamic currency conversion is not available for other reason
    • getResultReason

      public String getResultReason()
      Plain text explaining the result of the currency conversion request
    • setResultReason

      public void setResultReason(String value)
      Plain text explaining the result of the currency conversion request
    • withResultReason

      public CurrencyConversionResult withResultReason(String value)
      Plain text explaining the result of the currency conversion request