Skip to content

@checkout-kit/ui / MoneyProps

Interface: MoneyProps ​

Extends ​

  • FormatMoneyOptions

Properties ​

PropertyModifierTypeDescriptionInherited from
amountpublicnumberMinor units, the way an intent carries them.-
className?publicstring--
currencypublicstring--
display?readonly"symbol" | "code" | "none"symbol is "$19.99", code is "USD 19.99", none is "19.99".FormatMoneyOptions.display
locale?readonlystringDefaults to the runtime's locale, which on a server is rarely the shopper's.FormatMoneyOptions.locale

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