Skip to main content

Class: DraftOrder

Hierarchy

  • BaseEntity

    DraftOrder

Constructors

constructor

new DraftOrder()

Inherited from

BaseEntity.constructor

Properties

canceled_at

canceled_at: Date

Defined in

models/draft-order.ts:54


cart

cart: Cart

Defined in

models/draft-order.ts:43


cart_id

cart_id: string

Defined in

models/draft-order.ts:39


completed_at

completed_at: Date

Defined in

models/draft-order.ts:57


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


display_id

display_id: number

Defined in

models/draft-order.ts:35


id

id: string

Inherited from

BaseEntity.id

Defined in

interfaces/models/base-entity.ts:13


idempotency_key

idempotency_key: string

Defined in

models/draft-order.ts:66


metadata

metadata: Record<string, unknown>

Defined in

models/draft-order.ts:63


no_notification_order

no_notification_order: boolean

Defined in

models/draft-order.ts:60


order

order: Order

Defined in

models/draft-order.ts:51


order_id

order_id: string

Defined in

models/draft-order.ts:47


status

status: DraftOrderStatus

Defined in

models/draft-order.ts:30


updated_at

updated_at: Date

Inherited from

BaseEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

Private beforeInsert(): Promise<void>

Returns

Promise<void>

Defined in

models/draft-order.ts:68

Was this page helpful?