Skip to main content

Class: Cart

internal.Cart

Base abstract entity for all entities

Hierarchy

Properties

afterLoad

Copy to Clipboard
afterLoad:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:226


beforeInsert

Copy to Clipboard
beforeInsert:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:227


billing_address

billing_address:

Defined in

medusa/dist/models/cart.d.ts:192


billing_address_id

billing_address_id:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:191


completed_at

completed_at:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:208


context

context:

Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Defined in

medusa/dist/models/cart.d.ts:211


created_at

created_at:

Copy to Clipboard

Inherited from

SoftDeletableEntity.created_at

Defined in

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


customer

customer:

Defined in

medusa/dist/models/cart.d.ts:201


customer_id

customer_id:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:200


deleted_at

deleted_at:

Copy to Clipboard
|
Copy to Clipboard

Inherited from

SoftDeletableEntity.deleted_at

Defined in

medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3


discount_total

Copy to Clipboard
discount_total:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:216


discounts

discounts:

[]

Defined in

medusa/dist/models/cart.d.ts:198


email

email:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:190


gift_card_tax_total

Copy to Clipboard
gift_card_tax_total:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:225


gift_card_total

Copy to Clipboard
gift_card_total:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:224


gift_cards

gift_cards:

[]

Defined in

medusa/dist/models/cart.d.ts:199


id

id:

Copy to Clipboard

Inherited from

SoftDeletableEntity.id

Defined in

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


idempotency_key

idempotency_key:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:210


item_tax_total

Copy to Clipboard
item_tax_total:
Copy to Clipboard
|
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:217


items

items:

[]

Defined in

medusa/dist/models/cart.d.ts:195


metadata

metadata:

Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Defined in

medusa/dist/models/cart.d.ts:212


object

Copy to Clipboard
object:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:189


payment

payment:

Defined in

medusa/dist/models/cart.d.ts:205


payment_authorized_at

payment_authorized_at:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:209


payment_id

payment_id:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:204


payment_session

payment_session:

Copy to Clipboard
|
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:202


payment_sessions

payment_sessions:

[]

Defined in

medusa/dist/models/cart.d.ts:203


refundable_amount

Copy to Clipboard
refundable_amount:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:223


refunded_total

Copy to Clipboard
refunded_total:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:220


region

region:

Defined in

medusa/dist/models/cart.d.ts:197


region_id

region_id:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:196


sales_channel

sales_channel:

Defined in

medusa/dist/models/cart.d.ts:214


sales_channel_id

sales_channel_id:

Copy to Clipboard
|
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:213


shipping_address

shipping_address:

Copy to Clipboard
|
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:194


shipping_address_id

shipping_address_id:

Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:193


shipping_methods

shipping_methods:

[]

Defined in

medusa/dist/models/cart.d.ts:206


shipping_tax_total

Copy to Clipboard
shipping_tax_total:
Copy to Clipboard
|
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:218


shipping_total

Copy to Clipboard
shipping_total:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:215


subtotal

Copy to Clipboard
subtotal:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:222


tax_total

Copy to Clipboard
tax_total:
Copy to Clipboard
|
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:219


total

Copy to Clipboard
total:
Copy to Clipboard

Defined in

medusa/dist/models/cart.d.ts:221


type

type:

Defined in

medusa/dist/models/cart.d.ts:207


updated_at

updated_at:

Copy to Clipboard

Inherited from

SoftDeletableEntity.updated_at

Defined in

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