custom
Creates a CustomCurrency.
Parameters
code
The code of the currency.
minor Units
The minor units (i.e., the decimal places) of the currency.
Throws
When minorUnits is lower than a zero.
fun custom(code: String, minorUnits: Int, config: CustomCurrency.CustomCurrencyConfig.() -> Unit): CustomCurrency(source)
Creates a CustomCurrency.
Parameters
code
The code of the currency.
minor Units
The minor units (i.e., the decimal places) of the currency.
config
An optional block to configure the CustomCurrency object.
Throws
When minorUnits is lower than a zero.