* generated new services reference * changed from automatic push to automated pull request * updated typedoc, regenerated JS Client reference * regenerated the reference after updating typedoc * added action for js client
5.7 KiB
displayed_sidebar
| displayed_sidebar |
|---|
| jsClientSidebar |
Class: Cart
internal.Cart
Base abstract entity for all entities
Hierarchy
-
↳
Cart
Properties
afterLoad
• Private afterLoad: any
Defined in
medusa/dist/models/cart.d.ts:138
beforeInsert
• Private beforeInsert: any
Defined in
medusa/dist/models/cart.d.ts:139
billing_address
• billing_address: Address
Defined in
medusa/dist/models/cart.d.ts:106
billing_address_id
• billing_address_id: string
Defined in
medusa/dist/models/cart.d.ts:105
completed_at
• completed_at: Date
Defined in
medusa/dist/models/cart.d.ts:122
context
• context: Record<string, unknown>
Defined in
medusa/dist/models/cart.d.ts:125
created_at
• created_at: Date
Inherited from
SoftDeletableEntity.created_at
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:6
customer
• customer: Customer
Defined in
medusa/dist/models/cart.d.ts:115
customer_id
• customer_id: string
Defined in
medusa/dist/models/cart.d.ts:114
deleted_at
• deleted_at: null | Date
Inherited from
SoftDeletableEntity.deleted_at
Defined in
medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3
discount_total
• Optional discount_total: number
Defined in
medusa/dist/models/cart.d.ts:130
discounts
• discounts: Discount[]
Defined in
medusa/dist/models/cart.d.ts:112
• email: string
Defined in
medusa/dist/models/cart.d.ts:104
gift_card_tax_total
• Optional gift_card_tax_total: number
Defined in
medusa/dist/models/cart.d.ts:137
gift_card_total
• Optional gift_card_total: number
Defined in
medusa/dist/models/cart.d.ts:136
gift_cards
• gift_cards: GiftCard[]
Defined in
medusa/dist/models/cart.d.ts:113
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/cart.d.ts:124
items
• items: LineItem[]
Defined in
medusa/dist/models/cart.d.ts:109
metadata
• metadata: Record<string, unknown>
Defined in
medusa/dist/models/cart.d.ts:126
object
• Readonly object: "cart"
Defined in
medusa/dist/models/cart.d.ts:103
payment
• payment: Payment
Defined in
medusa/dist/models/cart.d.ts:119
payment_authorized_at
• payment_authorized_at: Date
Defined in
medusa/dist/models/cart.d.ts:123
payment_id
• payment_id: string
Defined in
medusa/dist/models/cart.d.ts:118
payment_session
• payment_session: null | PaymentSession
Defined in
medusa/dist/models/cart.d.ts:116
payment_sessions
• payment_sessions: PaymentSession[]
Defined in
medusa/dist/models/cart.d.ts:117
refundable_amount
• Optional refundable_amount: number
Defined in
medusa/dist/models/cart.d.ts:135
refunded_total
• Optional refunded_total: number
Defined in
medusa/dist/models/cart.d.ts:132
region
• region: Region
Defined in
medusa/dist/models/cart.d.ts:111
region_id
• region_id: string
Defined in
medusa/dist/models/cart.d.ts:110
sales_channel
• sales_channel: SalesChannel
Defined in
medusa/dist/models/cart.d.ts:128
sales_channel_id
• sales_channel_id: null | string
Defined in
medusa/dist/models/cart.d.ts:127
shipping_address
• shipping_address: null | Address
Defined in
medusa/dist/models/cart.d.ts:108
shipping_address_id
• shipping_address_id: string
Defined in
medusa/dist/models/cart.d.ts:107
shipping_methods
• shipping_methods: ShippingMethod[]
Defined in
medusa/dist/models/cart.d.ts:120
shipping_total
• Optional shipping_total: number
Defined in
medusa/dist/models/cart.d.ts:129
subtotal
• Optional subtotal: number
Defined in
medusa/dist/models/cart.d.ts:134
tax_total
• Optional tax_total: null | number
Defined in
medusa/dist/models/cart.d.ts:131
total
• Optional total: number
Defined in
medusa/dist/models/cart.d.ts:133
type
• type: CartType
Defined in
medusa/dist/models/cart.d.ts:121
updated_at
• updated_at: Date
Inherited from
SoftDeletableEntity.updated_at
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:7