2.2 KiB
displayed_sidebar
| displayed_sidebar |
|---|
| pricingReference |
CreateMoneyAmountDTO
An object that holds data to create a money amount.
Hierarchy
-
CreateMoneyAmountDTO
Properties
amount
Optional amount: number
A number indicating the amount of this money amount.
Defined in
packages/types/src/pricing/common/money-amount.ts:41
currency
Optional currency: CreateCurrencyDTO
An object of type CurrencyDTO that holds the details of the money amount's currency. Since this is a relation, it will only be retrieved if it's passed to the relations array of the find-configuration options.
Defined in
packages/types/src/pricing/common/money-amount.ts:40
currency_code
currency_code: string
A string that indicates the currency code of this money amount.
Defined in
packages/types/src/pricing/common/money-amount.ts:39
id
Optional id: string
A string that indicates the ID of the money amount.
Defined in
packages/types/src/pricing/common/money-amount.ts:38
max_quantity
Optional max_quantity: number
A number that indicates the maximum quantity required to be purchased for this money amount to be applied.
Defined in
packages/types/src/pricing/common/money-amount.ts:43
min_quantity
Optional min_quantity: number
A number that indicates the minimum quantity required to be purchased for this money amount to be applied.