Skip to content

Money

Describes@ebitex/commerce-sdk 0.2.xSee the changelog:@ebitex/commerce-sdk

A price as the Store holds it: whole minor units beside a currency, and the same amount as the Store’s own decimal string. Never a float.

amount: string

The amount as a decimal string in the currency’s own exponent ("89.50", "5000" for JPY). Show this; do arithmetic on amountMinor.


amountMinor: number


compareAt: string | null


compareAtMinor: number | null


currency: string


taxIncluded: boolean

Whether the stored price already includes tax: the Store’s setting.