* 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
8.8 KiB
displayed_sidebar
| displayed_sidebar |
|---|
| entitiesSidebar |
Class: LineItem
Hierarchy
-
BaseEntity↳
LineItem
Constructors
constructor
• new LineItem()
Inherited from
BaseEntity.constructor
Properties
adjustments
• adjustments: LineItemAdjustment[]
Defined in
allow_discounts
• allow_discounts: boolean
Defined in
cart
• cart: Cart
Defined in
cart_id
• cart_id: string
Defined in
claim_order
• claim_order: ClaimOrder
Defined in
claim_order_id
• claim_order_id: string
Defined in
created_at
• created_at: Date
Inherited from
BaseEntity.created_at
Defined in
interfaces/models/base-entity.ts:16
description
• description: string
Defined in
discount_total
• Optional discount_total: null | number
Defined in
fulfilled_quantity
• fulfilled_quantity: number
Defined in
gift_card_total
• Optional gift_card_total: null | number
Defined in
has_shipping
• has_shipping: boolean
Defined in
id
• id: string
Inherited from
BaseEntity.id
Defined in
interfaces/models/base-entity.ts:13
includes_tax
• includes_tax: boolean
Defined in
is_giftcard
• is_giftcard: boolean
Defined in
is_return
• is_return: boolean
Defined in
metadata
• metadata: Record<string, unknown>
Defined in
order
• order: Order
Defined in
order_edit
• Optional order_edit: null | OrderEdit
Defined in
order_edit_id
• Optional order_edit_id: null | string
Defined in
order_id
• order_id: null | string
Defined in
original_item_id
• Optional original_item_id: null | string
Defined in
original_tax_total
• Optional original_tax_total: null | number
Defined in
original_total
• Optional original_total: null | number
Defined in
quantity
• quantity: number
Defined in
refundable
• Optional refundable: null | number
Defined in
returned_quantity
• returned_quantity: number
Defined in
shipped_quantity
• shipped_quantity: number
Defined in
should_merge
• should_merge: boolean
Defined in
subtotal
• Optional subtotal: null | number
Defined in
swap
• swap: Swap
Defined in
swap_id
• swap_id: string
Defined in
tax_lines
• tax_lines: LineItemTaxLine[]
Defined in
tax_total
• Optional tax_total: null | number
Defined in
thumbnail
• thumbnail: null | string
Defined in
title
• title: string
Defined in
total
• Optional total: null | number
Defined in
unit_price
• unit_price: number
Defined in
updated_at
• updated_at: Date
Inherited from
BaseEntity.updated_at
Defined in
interfaces/models/base-entity.ts:19
variant
• variant: ProductVariant
Defined in
variant_id
• variant_id: string
Defined in
Methods
beforeInsert
▸ Private beforeInsert(): void
Returns
void