Skip to main content

Class: OrderEdit

internal.OrderEdit

Base abstract entity for all entities

Hierarchy

Properties

beforeInsert

Private beforeInsert: any

Defined in

medusa/dist/models/order-edit.d.ts:37


canceled_at

Optional canceled_at: Date

Defined in

medusa/dist/models/order-edit.d.ts:24


canceled_by

Optional canceled_by: string

Defined in

medusa/dist/models/order-edit.d.ts:23


changes

changes: OrderItemChange[]

Defined in

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


confirmed_at

Optional confirmed_at: Date

Defined in

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


confirmed_by

Optional confirmed_by: string

Defined in

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


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

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


created_by

created_by: string

Defined in

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


declined_at

Optional declined_at: Date

Defined in

medusa/dist/models/order-edit.d.ts:22


declined_by

Optional declined_by: string

Defined in

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


declined_reason

Optional declined_reason: string

Defined in

medusa/dist/models/order-edit.d.ts:21


difference_due

difference_due: number

Defined in

medusa/dist/models/order-edit.d.ts:35


discount_total

discount_total: number

Defined in

medusa/dist/models/order-edit.d.ts:29


gift_card_tax_total

gift_card_tax_total: number

Defined in

medusa/dist/models/order-edit.d.ts:34


gift_card_total

gift_card_total: number

Defined in

medusa/dist/models/order-edit.d.ts:33


id

id: string

Inherited from

BaseEntity.id

Defined in

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


internal_note

Optional internal_note: string

Defined in

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


items

items: LineItem[]

Defined in

medusa/dist/models/order-edit.d.ts:25


order

order: Order

Defined in

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


order_id

order_id: string

Defined in

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


payment_collection

payment_collection: PaymentCollection

Defined in

medusa/dist/models/order-edit.d.ts:27


payment_collection_id

payment_collection_id: string

Defined in

medusa/dist/models/order-edit.d.ts:26


requested_at

Optional requested_at: Date

Defined in

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


requested_by

Optional requested_by: string

Defined in

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


shipping_total

shipping_total: number

Defined in

medusa/dist/models/order-edit.d.ts:28


status

status: OrderEditStatus

Defined in

medusa/dist/models/order-edit.d.ts:36


subtotal

subtotal: number

Defined in

medusa/dist/models/order-edit.d.ts:32


tax_total

tax_total: null | number

Defined in

medusa/dist/models/order-edit.d.ts:30


total

total: number

Defined in

medusa/dist/models/order-edit.d.ts:31


updated_at

updated_at: Date

Inherited from

BaseEntity.updated_at

Defined in

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

Methods

loadStatus

loadStatus(): void

Returns

void

Defined in

medusa/dist/models/order-edit.d.ts:38