LineItemAdjustment
A Line Item Adjustment includes details on discounts applied on a line item.
Constructors
constructor
**new LineItemAdjustment**()
A Line Item Adjustment includes details on discounts applied on a line item.
Properties
amountnumberRequiredThe adjustment amount
descriptionstringRequiredThe line item's adjustment description
The details of the discount associated with the adjustment.
discount_idstringRequiredThe ID of the discount associated with the adjustment
idstringRequiredThe Line Item Adjustment's ID
The details of the line item.
item_idstringRequiredThe ID of the line item
metadataRecord<string, unknown>RequiredAn optional key-value map with additional details
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
voidvoidWas this section helpful?