Skip to main content

Class: DraftOrder

internal.DraftOrder

Base abstract entity for all entities

Hierarchy

Properties

beforeInsert

Private beforeInsert: any

Defined in

medusa/dist/models/draft-order.d.ts:20


canceled_at

canceled_at: Date

Defined in

medusa/dist/models/draft-order.d.ts:15


cart

cart: Cart

Defined in

medusa/dist/models/draft-order.d.ts:12


cart_id

cart_id: string

Defined in

medusa/dist/models/draft-order.d.ts:11


completed_at

completed_at: Date

Defined in

medusa/dist/models/draft-order.d.ts:16


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:6


display_id

display_id: number

Defined in

medusa/dist/models/draft-order.d.ts:10


id

id: string

Inherited from

BaseEntity.id

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:5


idempotency_key

idempotency_key: string

Defined in

medusa/dist/models/draft-order.d.ts:19


metadata

metadata: Record<string, unknown>

Defined in

medusa/dist/models/draft-order.d.ts:18


no_notification_order

no_notification_order: boolean

Defined in

medusa/dist/models/draft-order.d.ts:17


order

order: Order

Defined in

medusa/dist/models/draft-order.d.ts:14


order_id

order_id: string

Defined in

medusa/dist/models/draft-order.d.ts:13


status

status: DraftOrderStatus

Defined in

medusa/dist/models/draft-order.d.ts:9


updated_at

updated_at: Date

Inherited from

BaseEntity.updated_at

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:7

Was this page helpful?