Skip to main content

Class: MoneyAmount

Hierarchy

  • SoftDeletableEntity

    MoneyAmount

Constructors

constructor

new MoneyAmount()

Inherited from

SoftDeletableEntity.constructor

Properties

amount

amount: number

Defined in

models/money-amount.ts:28


created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


currency

Optional currency: Currency

Defined in

models/money-amount.ts:25


currency_code

currency_code: string

Defined in

models/money-amount.ts:21


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

models/money-amount.ts:34


min_quantity

min_quantity: null | number

Defined in

models/money-amount.ts:31


price_list

price_list: null | PriceList

Defined in

models/money-amount.ts:44


price_list_id

price_list_id: null | string

Defined in

models/money-amount.ts:37


region

Optional region: Region

Defined in

models/money-amount.ts:62


region_id

region_id: string

Defined in

models/money-amount.ts:58


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19


variant

variant: ProductVariant

Defined in

models/money-amount.ts:54


variant_id

variant_id: string

Defined in

models/money-amount.ts:48

Methods

beforeInsert

Private beforeInsert(): undefined | void

Returns

undefined | void

Defined in

models/money-amount.ts:64