Class: DraftOrder
Hierarchy
BaseEntity
↳
DraftOrder
Constructors
constructor
• new DraftOrder()
Inherited from
BaseEntity.constructor
Properties
canceled_at
• canceled_at: Date
Defined in
cart
• cart: Cart
Defined in
cart_id
• cart_id: string
Defined in
completed_at
• completed_at: Date
Defined in
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
id
• id: string
Inherited from
BaseEntity.id
Defined in
interfaces/models/base-entity.ts:13
idempotency_key
• idempotency_key: string
Defined in
metadata
• metadata: Record
<string
, unknown
>
Defined in
no_notification_order
• no_notification_order: boolean
Defined in
order
• order: Order
Defined in
order_id
• order_id: string
Defined in
status
• status: DraftOrderStatus
Defined in
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
Was this page helpful?