Skip to main content

Class: LineItem

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Constructors

constructor

new LineItem()

Inherited from

BaseEntity.constructor

Properties

adjustments

adjustments: Copy to Clipboard[]

Defined in

models/line-item.ts:85


allow_discounts

allow_discounts: Copy to Clipboard

Defined in

models/line-item.ts:127


cart

cart: Copy to Clipboard

Defined in

models/line-item.ts:53


cart_id

cart_id: Copy to Clipboard

Defined in

models/line-item.ts:49


claim_order

claim_order: Copy to Clipboard

Defined in

models/line-item.ts:77


claim_order_id

claim_order_id: Copy to Clipboard

Defined in

models/line-item.ts:73


created_at

created_at: Copy to Clipboard

Inherited from

BaseEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


description

description: Copy to Clipboard

Defined in

models/line-item.ts:112


discount_total

Copy to Clipboard discount_total: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:167


fulfilled_quantity

fulfilled_quantity: Copy to Clipboard

Defined in

models/line-item.ts:147


gift_card_total

Copy to Clipboard gift_card_total: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:168


has_shipping

has_shipping: Copy to Clipboard

Defined in

models/line-item.ts:130


id

id: Copy to Clipboard

Inherited from

BaseEntity.id

Defined in

interfaces/models/base-entity.ts:13


includes_tax

includes_tax: Copy to Clipboard

Defined in

models/line-item.ts:159


is_giftcard

is_giftcard: Copy to Clipboard

Defined in

models/line-item.ts:121


is_return

is_return: Copy to Clipboard

Defined in

models/line-item.ts:118


metadata

metadata: Copy to Clipboard<Copy to Clipboard, Copy to Clipboard>

Defined in

models/line-item.ts:156


order

order: Copy to Clipboard

Defined in

models/line-item.ts:61


order_edit

Copy to Clipboard order_edit: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:106


order_edit_id

Copy to Clipboard order_edit_id: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:97


order_id

order_id: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:57


original_item_id

Copy to Clipboard original_item_id: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:91


original_tax_total

Copy to Clipboard original_tax_total: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:166


original_total

Copy to Clipboard original_total: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:165


quantity

quantity: Copy to Clipboard

Defined in

models/line-item.ts:144


refundable

Copy to Clipboard refundable: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:161


returned_quantity

returned_quantity: Copy to Clipboard

Defined in

models/line-item.ts:150


shipped_quantity

shipped_quantity: Copy to Clipboard

Defined in

models/line-item.ts:153


should_merge

should_merge: Copy to Clipboard

Defined in

models/line-item.ts:124


subtotal

Copy to Clipboard subtotal: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:162


swap

swap: Copy to Clipboard

Defined in

models/line-item.ts:69


swap_id

swap_id: Copy to Clipboard

Defined in

models/line-item.ts:65


tax_lines

tax_lines: Copy to Clipboard[]

Defined in

models/line-item.ts:80


tax_total

Copy to Clipboard tax_total: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:163


thumbnail

thumbnail: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:115


title

title: Copy to Clipboard

Defined in

models/line-item.ts:109


total

Copy to Clipboard total: Copy to Clipboard | Copy to Clipboard

Defined in

models/line-item.ts:164


unit_price

unit_price: Copy to Clipboard

Defined in

models/line-item.ts:133


updated_at

updated_at: Copy to Clipboard

Inherited from

BaseEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19


variant

variant: Copy to Clipboard

Defined in

models/line-item.ts:141


variant_id

variant_id: Copy to Clipboard

Defined in

models/line-item.ts:137

Methods

beforeInsert

Copy to Clipboard beforeInsert(): Copy to Clipboard

Returns

Copy to Clipboard

Defined in

models/line-item.ts:170