Package com.onlinepayments.domain
Class CurrencyConversionResult
java.lang.Object
com.onlinepayments.domain.CurrencyConversionResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFunctional 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 reasonPlain text explaining the result of the currency conversion requestvoidFunctional 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 reasonvoidsetResultReason(String value) Plain text explaining the result of the currency conversion requestwithResult(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 reasonwithResultReason(String value) Plain text explaining the result of the currency conversion request
-
Constructor Details
-
CurrencyConversionResult
public CurrencyConversionResult()
-
-
Method Details
-
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
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
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
Plain text explaining the result of the currency conversion request -
setResultReason
Plain text explaining the result of the currency conversion request -
withResultReason
Plain text explaining the result of the currency conversion request
-