Files
medusa-store/docs/content/references/js-client/classes/internal.LineItem.md
Shahed Nasser 02d5c1da88 docs: update Typedoc and regenerate references (#1994)
* generated new services reference

* changed from automatic push to automated pull request

* updated typedoc, regenerated JS Client reference

* regenerated the reference after updating typedoc

* added action for js client
2022-08-04 17:29:52 +03:00

5.0 KiB

displayed_sidebar
displayed_sidebar
jsClientSidebar

Class: LineItem

internal.LineItem

Base abstract entity for all entities

Hierarchy

Properties

adjustments

adjustments: LineItemAdjustment[]

Defined in

medusa/dist/models/line-item.d.ts:19


allow_discounts

allow_discounts: boolean

Defined in

medusa/dist/models/line-item.d.ts:26


beforeInsert

Private beforeInsert: any

Defined in

medusa/dist/models/line-item.d.ts:44


cart

cart: Cart

Defined in

medusa/dist/models/line-item.d.ts:11


cart_id

cart_id: string

Defined in

medusa/dist/models/line-item.d.ts:10


claim_order

claim_order: ClaimOrder

Defined in

medusa/dist/models/line-item.d.ts:17


claim_order_id

claim_order_id: string

Defined in

medusa/dist/models/line-item.d.ts:16


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

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


description

description: string

Defined in

medusa/dist/models/line-item.d.ts:21


discount_total

Optional discount_total: null | number

Defined in

medusa/dist/models/line-item.d.ts:42


fulfilled_quantity

fulfilled_quantity: number

Defined in

medusa/dist/models/line-item.d.ts:32


gift_card_total

Optional gift_card_total: null | number

Defined in

medusa/dist/models/line-item.d.ts:43


has_shipping

has_shipping: boolean

Defined in

medusa/dist/models/line-item.d.ts:27


id

id: string

Inherited from

BaseEntity.id

Defined in

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


is_giftcard

is_giftcard: boolean

Defined in

medusa/dist/models/line-item.d.ts:24


is_return

is_return: boolean

Defined in

medusa/dist/models/line-item.d.ts:23


metadata

metadata: Record<string, unknown>

Defined in

medusa/dist/models/line-item.d.ts:35


order

order: Order

Defined in

medusa/dist/models/line-item.d.ts:13


order_id

order_id: string

Defined in

medusa/dist/models/line-item.d.ts:12


original_tax_total

Optional original_tax_total: null | number

Defined in

medusa/dist/models/line-item.d.ts:41


original_total

Optional original_total: null | number

Defined in

medusa/dist/models/line-item.d.ts:40


quantity

quantity: number

Defined in

medusa/dist/models/line-item.d.ts:31


refundable

Optional refundable: null | number

Defined in

medusa/dist/models/line-item.d.ts:36


returned_quantity

returned_quantity: number

Defined in

medusa/dist/models/line-item.d.ts:33


shipped_quantity

shipped_quantity: number

Defined in

medusa/dist/models/line-item.d.ts:34


should_merge

should_merge: boolean

Defined in

medusa/dist/models/line-item.d.ts:25


subtotal

Optional subtotal: null | number

Defined in

medusa/dist/models/line-item.d.ts:37


swap

swap: Swap

Defined in

medusa/dist/models/line-item.d.ts:15


swap_id

swap_id: string

Defined in

medusa/dist/models/line-item.d.ts:14


tax_lines

tax_lines: LineItemTaxLine[]

Defined in

medusa/dist/models/line-item.d.ts:18


tax_total

Optional tax_total: null | number

Defined in

medusa/dist/models/line-item.d.ts:38


thumbnail

thumbnail: null | string

Defined in

medusa/dist/models/line-item.d.ts:22


title

title: string

Defined in

medusa/dist/models/line-item.d.ts:20


total

Optional total: null | number

Defined in

medusa/dist/models/line-item.d.ts:39


unit_price

unit_price: number

Defined in

medusa/dist/models/line-item.d.ts:28


updated_at

updated_at: Date

Inherited from

BaseEntity.updated_at

Defined in

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


variant

variant: ProductVariant

Defined in

medusa/dist/models/line-item.d.ts:30


variant_id

variant_id: string

Defined in

medusa/dist/models/line-item.d.ts:29