Skip to content

@checkout-kit/ui / MoneyValue

Interface: MoneyValue ​

An amount as it travels: minor units, plus the currency that says how many those are.

Properties ​

PropertyModifierTypeDescription
amountreadonlynumberMinor units - 1999 is $19.99, and 1999 is also ¥1999, because JPY has no minor unit.
currencyreadonlystringISO 4217, in any case.

Apache-2.0 · Headless engine, provider adapters and runnable examples.