CurrencyConversion

data class CurrencyConversion(val source: String, val target: String, val rates: Map<String, Double> = emptyMap())

currencySource / currencyTarget / currencyRates.

Constructors

Link copied to clipboard
constructor(source: String, target: String, rates: Map<String, Double> = emptyMap())

Properties

Link copied to clipboard

Exchange rates keyed by currency code; empty uses Carbone's built-in rates.

Link copied to clipboard

Source currency code the document's amounts are expressed in.

Link copied to clipboard

Target currency code amounts are converted to.