Class: MoneyAmount
Hierarchy
SoftDeletableEntity
↳
MoneyAmount
Constructors
constructor
• new MoneyAmount()
Inherited from
SoftDeletableEntity.constructor
Properties
amount
• amount: number
Defined in
created_at
• created_at: Date
Inherited from
SoftDeletableEntity.created_at
Defined in
interfaces/models/base-entity.ts:16
currency
• Optional
currency: Currency
Defined in
currency_code
• currency_code: string
Defined in
deleted_at
• deleted_at: null
| Date
Inherited from
SoftDeletableEntity.deleted_at
Defined in
interfaces/models/soft-deletable-entity.ts:7
id
• id: string
Inherited from
SoftDeletableEntity.id
Defined in
interfaces/models/base-entity.ts:13
max_quantity
• max_quantity: null
| number
Defined in
min_quantity
• min_quantity: null
| number
Defined in
price_list
• price_list: null
| PriceList
Defined in
price_list_id
• price_list_id: null
| string
Defined in
region
• Optional
region: Region
Defined in
region_id
• region_id: string
Defined in
updated_at
• updated_at: Date
Inherited from
SoftDeletableEntity.updated_at
Defined in
interfaces/models/base-entity.ts:19
variant
• variant: ProductVariant
Defined in
variant_id
• variant_id: string
Defined in
Methods
beforeInsert
▸ Private
beforeInsert(): undefined
| void
Returns
undefined
| void