DynamicCurrencyConversion

@Serializable
data class DynamicCurrencyConversion(val status: String, val originalAmount: Long?, val transactionFxRate: Float?, val transactionMarkupPercent: Float?, val cardholderRate: Float?, val referenceFxRate: Float?, val referenceMarkupPercent: Float?, val fxAsOf: Float?) : Serializable

Dynamic currency conversion details for a given transaction.

Constructors

Link copied to clipboard
constructor(status: String, originalAmount: Long?, transactionFxRate: Float?, transactionMarkupPercent: Float?, cardholderRate: Float?, referenceFxRate: Float?, referenceMarkupPercent: Float?, fxAsOf: Float?)

Properties

Link copied to clipboard

Exchange rate received by the cardholder, including markup.

Link copied to clipboard

Time at which the provided exchange rates were determined. Measured in seconds since the Unix epoch.

Link copied to clipboard

Amount in the original currency before conversion.

Link copied to clipboard

Reference exchange rate published by a regulatory body for cardholder disclosure. Present only for transactions where the merchant and cardholder are both in the European Economic Area (EEA).

Link copied to clipboard

Markup percentage added to the reference_fx_rate to get the cardholder_rate. Used for cardholder disclosure and present only for transactions where the merchant and cardholder are both in the European Economic Area (EEA).

Link copied to clipboard

Whether dynamic currency conversion was performed on this transaction.

Link copied to clipboard

Exchange rate applied to the transaction, excluding markup.

Link copied to clipboard

Markup percentage added to the transaction_fx_rate to get the cardholder_rate.