@checkout-kit/ui / MoneyValue
Interface: MoneyValue
An amount as it travels: minor units, plus the currency that says how many those are.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
amount | readonly | number | Minor units - 1999 is $19.99, and 1999 is also ¥1999, because JPY has no minor unit. |
currency | readonly | string | ISO 4217, in any case. |