Class: MoneyAmount
internal.MoneyAmount
Base abstract entity for all entities
Hierarchy
↳
MoneyAmount
Properties
amount
• amount: number
Defined in
medusa/dist/models/money-amount.d.ts:9
beforeInsert
• Private
beforeInsert: any
Defined in
medusa/dist/models/money-amount.d.ts:18
created_at
• created_at: Date
Inherited from
SoftDeletableEntity.created_at
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:6
currency
• Optional
currency: Currency
Defined in
medusa/dist/models/money-amount.d.ts:8
currency_code
• currency_code: string
Defined in
medusa/dist/models/money-amount.d.ts:7
deleted_at
• deleted_at: null
| Date
Inherited from
SoftDeletableEntity.deleted_at
Defined in
medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3
id
• id: string
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:5
max_quantity
• max_quantity: null
| number
Defined in
medusa/dist/models/money-amount.d.ts:11
min_quantity
• min_quantity: null
| number
Defined in
medusa/dist/models/money-amount.d.ts:10
price_list
• price_list: null
| PriceList
Defined in
medusa/dist/models/money-amount.d.ts:13
price_list_id
• price_list_id: null
| string
Defined in
medusa/dist/models/money-amount.d.ts:12
region
• Optional
region: Region
Defined in
medusa/dist/models/money-amount.d.ts:17
region_id
• region_id: string
Defined in
medusa/dist/models/money-amount.d.ts:16
updated_at
• updated_at: Date
Inherited from
SoftDeletableEntity.updated_at
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:7
variant
• variant: ProductVariant
Defined in
medusa/dist/models/money-amount.d.ts:15
variant_id
• variant_id: string
Defined in
medusa/dist/models/money-amount.d.ts:14