Generated the following references: - `api_key` - `auth` - `cart` - `core_flows` - `currency` - `customer` - `dml` - `fulfillment` - `helper_steps` - `inventory_next` - `js_sdk` - `medusa` - `medusa_config` - `modules` - `modules_sdk` - `order` - `payment` - `payment_provider` - `pricing` - `product` - `product_models` - `promotion` - `region` - `sales_channel` - `search` - `stock_location_next` - `store` - `tax` - `tax_provider` - `types` - `user` - `utils` - `workflows` Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
---
|
|
displayed_sidebar: cartModelReference
|
|
slug: /references/cart/models
|
|
---
|
|
|
|
import { TypeList } from "docs-ui"
|
|
|
|
# Cart Module Data Models Reference
|
|
|
|
This documentation provides a reference to the data models in the Cart Module
|
|
|
|
## Relations Overview
|
|
|
|
```mermaid
|
|
erDiagram
|
|
Cart }|--|{ Address : shipping_address
|
|
Cart ||--|| LineItem : items
|
|
Cart ||--|| ShippingMethod : shipping_methods
|
|
LineItem ||--|| LineItemTaxLine : tax_lines
|
|
LineItem ||--|| LineItemAdjustment : adjustments
|
|
ShippingMethod ||--|| ShippingMethodTaxLine : tax_lines
|
|
ShippingMethod ||--|| ShippingMethodAdjustment : adjustments
|
|
|
|
```
|
|
|
|
## Classes
|
|
|
|
- [Address](../../cart_models/classes/cart_models.Address/page.mdx)
|
|
- [Cart](../../cart_models/classes/cart_models.Cart/page.mdx)
|
|
- [LineItem](../../cart_models/classes/cart_models.LineItem/page.mdx)
|
|
- [LineItemAdjustment](../../cart_models/classes/cart_models.LineItemAdjustment/page.mdx)
|
|
- [LineItemTaxLine](../../cart_models/classes/cart_models.LineItemTaxLine/page.mdx)
|
|
- [ShippingMethod](../../cart_models/classes/cart_models.ShippingMethod/page.mdx)
|
|
- [ShippingMethodAdjustment](../../cart_models/classes/cart_models.ShippingMethodAdjustment/page.mdx)
|
|
- [ShippingMethodTaxLine](../../cart_models/classes/cart_models.ShippingMethodTaxLine/page.mdx)
|