Class: Order
internal.Order
Base abstract entity for all entities
Hierarchy
↳
Order
Properties
beforeInsert
• Private
beforeInsert: any
Defined in
medusa/dist/models/order.d.ts:99
billing_address
• billing_address: Address
Defined in
medusa/dist/models/order.d.ts:60
billing_address_id
• billing_address_id: string
Defined in
medusa/dist/models/order.d.ts:59
canceled_at
• canceled_at: Date
Defined in
medusa/dist/models/order.d.ts:82
cart
• cart: Cart
Defined in
medusa/dist/models/order.d.ts:55
cart_id
• cart_id: string
Defined in
medusa/dist/models/order.d.ts:54
claims
• claims: ClaimOrder
[]
Defined in
medusa/dist/models/order.d.ts:74
created_at
• created_at: Date
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:6
currency
• currency: Currency
Defined in
medusa/dist/models/order.d.ts:66
currency_code
• currency_code: string
Defined in
medusa/dist/models/order.d.ts:65
customer
• customer: Customer
Defined in
medusa/dist/models/order.d.ts:57
customer_id
• customer_id: string
Defined in
medusa/dist/models/order.d.ts:56
discount_total
• discount_total: number
Defined in
medusa/dist/models/order.d.ts:90
discounts
• discounts: Discount
[]
Defined in
medusa/dist/models/order.d.ts:68
display_id
• display_id: number
Defined in
medusa/dist/models/order.d.ts:53
draft_order
• draft_order: DraftOrder
Defined in
medusa/dist/models/order.d.ts:78
draft_order_id
• draft_order_id: string
Defined in
medusa/dist/models/order.d.ts:77
edits
• edits: OrderEdit
[]
Defined in
medusa/dist/models/order.d.ts:79
email
• email: string
Defined in
medusa/dist/models/order.d.ts:58
external_id
• external_id: null
| string
Defined in
medusa/dist/models/order.d.ts:86
fulfillment_status
• fulfillment_status: FulfillmentStatus
Defined in
medusa/dist/models/order.d.ts:51
fulfillments
• fulfillments: Fulfillment
[]
Defined in
medusa/dist/models/order.d.ts:72
gift_card_tax_total
• gift_card_tax_total: number
Defined in
medusa/dist/models/order.d.ts:98
gift_card_total
• gift_card_total: number
Defined in
medusa/dist/models/order.d.ts:97
gift_card_transactions
• gift_card_transactions: GiftCardTransaction
[]
Defined in
medusa/dist/models/order.d.ts:81
gift_cards
• gift_cards: GiftCard
[]
Defined in
medusa/dist/models/order.d.ts:69
id
• id: string
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:5
idempotency_key
• idempotency_key: string
Defined in
medusa/dist/models/order.d.ts:85
items
• items: LineItem
[]
Defined in
medusa/dist/models/order.d.ts:80
metadata
• metadata: Record
<string
, unknown
>
Defined in
medusa/dist/models/order.d.ts:83
no_notification
• no_notification: boolean
Defined in
medusa/dist/models/order.d.ts:84
object
• Readonly
object: "order"
Defined in
medusa/dist/models/order.d.ts:49
paid_total
• paid_total: number
Defined in
medusa/dist/models/order.d.ts:95
payment_status
• payment_status: PaymentStatus
Defined in
medusa/dist/models/order.d.ts:52
payments
• payments: Payment
[]
Defined in
medusa/dist/models/order.d.ts:71
refundable_amount
• refundable_amount: number
Defined in
medusa/dist/models/order.d.ts:96
refunded_total
• refunded_total: number
Defined in
medusa/dist/models/order.d.ts:92
refunds
• refunds: Refund
[]
Defined in
medusa/dist/models/order.d.ts:75
region
• region: Region
Defined in
medusa/dist/models/order.d.ts:64
region_id
• region_id: string
Defined in
medusa/dist/models/order.d.ts:63
returns
• returns: Return
[]
Defined in
medusa/dist/models/order.d.ts:73
sales_channel
• sales_channel: SalesChannel
Defined in
medusa/dist/models/order.d.ts:88
sales_channel_id
• sales_channel_id: null
| string
Defined in
medusa/dist/models/order.d.ts:87
shipping_address
• shipping_address: Address
Defined in
medusa/dist/models/order.d.ts:62
shipping_address_id
• shipping_address_id: string
Defined in
medusa/dist/models/order.d.ts:61
shipping_methods
• shipping_methods: ShippingMethod
[]
Defined in
medusa/dist/models/order.d.ts:70
shipping_total
• shipping_total: number
Defined in
medusa/dist/models/order.d.ts:89
status
• status: OrderStatus
Defined in
medusa/dist/models/order.d.ts:50
subtotal
• subtotal: number
Defined in
medusa/dist/models/order.d.ts:94
swaps
• swaps: Swap
[]
Defined in
medusa/dist/models/order.d.ts:76
tax_rate
• tax_rate: null
| number
Defined in
medusa/dist/models/order.d.ts:67
tax_total
• tax_total: null
| number
Defined in
medusa/dist/models/order.d.ts:91
total
• total: number
Defined in
medusa/dist/models/order.d.ts:93
updated_at
• updated_at: Date
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:7