public class CurrencyConversion
Holds data about any on-terminal currency conversion.
public CurrencyConversion(@NotNull java.lang.String convertedCurrencyCode, long convertedAmount, double conversionRate)
Holds data about any on-terminal currency conversion.
convertedCurrencyCode
- The amount of the payment converted into the currency in minor currency units.convertedAmount
- The 3-letter ISO 4217 currency code which the amount was converted to.conversionRate
- The conversion rate from the merchant's currency to the cardholder's local currency.@NotNull public java.lang.String getConvertedCurrencyCode()
public long getConvertedAmount()
public double getConversionRate()
@NotNull public java.lang.String component1()
public long component2()
public double component3()
@NotNull public CurrencyConversion copy(@NotNull java.lang.String convertedCurrencyCode, long convertedAmount, double conversionRate)
Holds data about any on-terminal currency conversion.
convertedCurrencyCode
- The amount of the payment converted into the currency in minor currency units.convertedAmount
- The 3-letter ISO 4217 currency code which the amount was converted to.conversionRate
- The conversion rate from the merchant's currency to the cardholder's local currency.@NotNull public java.lang.String toString()
Holds data about any on-terminal currency conversion.
public int hashCode()
Holds data about any on-terminal currency conversion.
public boolean equals(@Nullable java.lang.Object p)
Holds data about any on-terminal currency conversion.