Skip to main content

Class: LineItemAdjustment

Constructors

constructor

new LineItemAdjustment()

Properties

amount

amount: number

Defined in

models/line-item-adjustment.ts:45


description

description: string

Defined in

models/line-item-adjustment.ts:34


discount

discount: Discount

Defined in

models/line-item-adjustment.ts:38


discount_id

discount_id: string

Defined in

models/line-item-adjustment.ts:42


id

id: string

Defined in

models/line-item-adjustment.ts:23


item

item: LineItem

Defined in

models/line-item-adjustment.ts:31


item_id

item_id: string

Defined in

models/line-item-adjustment.ts:27


metadata

metadata: Record<string, unknown>

Defined in

models/line-item-adjustment.ts:48

Methods

beforeInsert

Private beforeInsert(): void

Returns

void

Defined in

models/line-item-adjustment.ts:50