* 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
5.5 KiB
displayed_sidebar
| displayed_sidebar |
|---|
| jsClientSidebar |
Class: LineItem
internal.LineItem
Base abstract entity for all entities
Hierarchy
-
↳
LineItem
Properties
adjustments
• adjustments: LineItemAdjustment[]
Defined in
medusa/dist/models/line-item.d.ts:20
allow_discounts
• allow_discounts: boolean
Defined in
medusa/dist/models/line-item.d.ts:30
beforeInsert
• Private beforeInsert: any
Defined in
medusa/dist/models/line-item.d.ts:49
cart
• cart: Cart
Defined in
medusa/dist/models/line-item.d.ts:12
cart_id
• cart_id: string
Defined in
medusa/dist/models/line-item.d.ts:11
claim_order
• claim_order: ClaimOrder
Defined in
medusa/dist/models/line-item.d.ts:18
claim_order_id
• claim_order_id: string
Defined in
medusa/dist/models/line-item.d.ts:17
created_at
• created_at: Date
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:6
description
• description: string
Defined in
medusa/dist/models/line-item.d.ts:25
discount_total
• Optional discount_total: null | number
Defined in
medusa/dist/models/line-item.d.ts:47
fulfilled_quantity
• fulfilled_quantity: number
Defined in
medusa/dist/models/line-item.d.ts:36
gift_card_total
• Optional gift_card_total: null | number
Defined in
medusa/dist/models/line-item.d.ts:48
has_shipping
• has_shipping: boolean
Defined in
medusa/dist/models/line-item.d.ts:31
id
• id: string
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:5
includes_tax
• includes_tax: boolean
Defined in
medusa/dist/models/line-item.d.ts:40
is_giftcard
• is_giftcard: boolean
Defined in
medusa/dist/models/line-item.d.ts:28
is_return
• is_return: boolean
Defined in
medusa/dist/models/line-item.d.ts:27
metadata
• metadata: Record<string, unknown>
Defined in
medusa/dist/models/line-item.d.ts:39
order
• order: Order
Defined in
medusa/dist/models/line-item.d.ts:14
order_edit
• Optional order_edit: null | OrderEdit
Defined in
medusa/dist/models/line-item.d.ts:23
order_edit_id
• Optional order_edit_id: null | string
Defined in
medusa/dist/models/line-item.d.ts:22
order_id
• order_id: null | string
Defined in
medusa/dist/models/line-item.d.ts:13
original_item_id
• Optional original_item_id: null | string
Defined in
medusa/dist/models/line-item.d.ts:21
original_tax_total
• Optional original_tax_total: null | number
Defined in
medusa/dist/models/line-item.d.ts:46
original_total
• Optional original_total: null | number
Defined in
medusa/dist/models/line-item.d.ts:45
quantity
• quantity: number
Defined in
medusa/dist/models/line-item.d.ts:35
refundable
• Optional refundable: null | number
Defined in
medusa/dist/models/line-item.d.ts:41
returned_quantity
• returned_quantity: number
Defined in
medusa/dist/models/line-item.d.ts:37
shipped_quantity
• shipped_quantity: number
Defined in
medusa/dist/models/line-item.d.ts:38
should_merge
• should_merge: boolean
Defined in
medusa/dist/models/line-item.d.ts:29
subtotal
• Optional subtotal: null | number
Defined in
medusa/dist/models/line-item.d.ts:42
swap
• swap: Swap
Defined in
medusa/dist/models/line-item.d.ts:16
swap_id
• swap_id: string
Defined in
medusa/dist/models/line-item.d.ts:15
tax_lines
• tax_lines: LineItemTaxLine[]
Defined in
medusa/dist/models/line-item.d.ts:19
tax_total
• Optional tax_total: null | number
Defined in
medusa/dist/models/line-item.d.ts:43
thumbnail
• thumbnail: null | string
Defined in
medusa/dist/models/line-item.d.ts:26
title
• title: string
Defined in
medusa/dist/models/line-item.d.ts:24
total
• Optional total: null | number
Defined in
medusa/dist/models/line-item.d.ts:44
unit_price
• unit_price: number
Defined in
medusa/dist/models/line-item.d.ts:32
updated_at
• updated_at: Date
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:7
variant
• variant: ProductVariant
Defined in
medusa/dist/models/line-item.d.ts:34
variant_id
• variant_id: string
Defined in
medusa/dist/models/line-item.d.ts:33