Files
medusa-store/www/apps/docs/content/references/js-client/classes/internal.Cart.md
Shahed Nasser fa7c94b4cc docs: create docs workspace (#5174)
* docs: migrate ui docs to docs universe

* created yarn workspace

* added eslint and tsconfig configurations

* fix eslint configurations

* fixed eslint configurations

* shared tailwind configurations

* added shared ui package

* added more shared components

* migrating more components

* made details components shared

* move InlineCode component

* moved InputText

* moved Loading component

* Moved Modal component

* moved Select components

* Moved Tooltip component

* moved Search components

* moved ColorMode provider

* Moved Notification components and providers

* used icons package

* use UI colors in api-reference

* moved Navbar component

* used Navbar and Search in UI docs

* added Feedback to UI docs

* general enhancements

* fix color mode

* added copy colors file from ui-preset

* added features and enhancements to UI docs

* move Sidebar component and provider

* general fixes and preparations for deployment

* update docusaurus version

* adjusted versions

* fix output directory

* remove rootDirectory property

* fix yarn.lock

* moved code component

* added vale for all docs MD and MDX

* fix tests

* fix vale error

* fix deployment errors

* change ignore commands

* add output directory

* fix docs test

* general fixes

* content fixes

* fix announcement script

* added changeset

* fix vale checks

* added nofilter option

* fix vale error
2023-09-21 20:57:15 +03:00

5.9 KiB

displayed_sidebar
displayed_sidebar
jsClientSidebar

Class: Cart

internal.Cart

Base abstract entity for all entities

Hierarchy

Properties

afterLoad

Private afterLoad: any

Defined in

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


beforeInsert

Private beforeInsert: any

Defined in

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


billing_address

billing_address: Address

Defined in

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


billing_address_id

billing_address_id: string

Defined in

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


completed_at

completed_at: Date

Defined in

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


context

context: Record<string, unknown>

Defined in

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


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:202


customer_id

customer_id: string

Defined in

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


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:217


discounts

discounts: Discount[]

Defined in

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


email

email: string

Defined in

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


gift_card_tax_total

Optional gift_card_tax_total: number

Defined in

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


gift_card_total

Optional gift_card_total: number

Defined in

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


gift_cards

gift_cards: GiftCard[]

Defined in

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


id

id: string

Inherited from

SoftDeletableEntity.id

Defined in

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


idempotency_key

idempotency_key: string

Defined in

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


item_tax_total

Optional item_tax_total: null | number

Defined in

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


items

items: LineItem[]

Defined in

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


metadata

metadata: Record<string, unknown>

Defined in

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


object

Readonly object: "cart"

Defined in

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


payment

payment: Payment

Defined in

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


payment_authorized_at

payment_authorized_at: Date

Defined in

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


payment_id

payment_id: string

Defined in

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


payment_session

payment_session: null | PaymentSession

Defined in

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


payment_sessions

payment_sessions: PaymentSession[]

Defined in

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


refundable_amount

Optional refundable_amount: number

Defined in

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


refunded_total

Optional refunded_total: number

Defined in

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


region

region: Region

Defined in

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


region_id

region_id: string

Defined in

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


sales_channel

sales_channel: SalesChannel

Defined in

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


sales_channel_id

sales_channel_id: null | string

Defined in

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


shipping_address

shipping_address: null | Address

Defined in

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


shipping_address_id

shipping_address_id: string

Defined in

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


shipping_methods

shipping_methods: ShippingMethod[]

Defined in

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


shipping_tax_total

Optional shipping_tax_total: null | number

Defined in

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


shipping_total

Optional shipping_total: number

Defined in

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


subtotal

Optional subtotal: number

Defined in

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


tax_total

Optional tax_total: null | number

Defined in

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


total

Optional total: number

Defined in

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


type

type: CartType

Defined in

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


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

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