MoneyAmount
A Money Amount represent a price amount, for example, a product variant's price or a price in a price list. Each Money Amount either has a Currency or Region associated with it to indicate the pricing in a given Currency or, for fully region-based pricing, the given price in a specific Region. If region-based pricing is used, the amount will be in the currency defined for the Region.
Constructors
constructor
**new MoneyAmount**()
A Money Amount represent a price amount, for example, a product variant's price or a price in a price list. Each Money Amount either has a Currency or Region associated with it to indicate the pricing in a given Currency or, for fully region-based pricing, the given price in a specific Region. If region-based pricing is used, the amount will be in the currency defined for the Region.
Properties
amount
numberRequiredcreated_at
DateRequiredcurrency_code
stringRequireddeleted_at
null | DateRequiredid
stringRequiredmax_quantity
null | numberRequiredmin_quantity
null | numberRequiredprice_list_id
null | stringRequiredregion_id
stringRequiredupdated_at
DateRequiredvariant_id
stringRequiredMethods
afterLoad
Private **afterLoad**(): void
Returns
void
void
voidbeforeInsert
Private **beforeInsert**(): undefined \| void
Returns
undefined
| void
undefined \| void
undefined | voidbeforeUpdate
Private **beforeUpdate**(): void