LinePrice Object
Description
Price breakdown for a line item including base price, taxes, discounts, and totals.
Declaration
type LinePrice {
base: Float!
beforeTaxes: Float!
discounts: [LinePriceDiscount!]
postDiscount: Float
subtotal: Float
subtotalBeforeTaxes: Float
taxes: [Tax!]!
taxAmounts: [Tax!]
total: Float
}
Fields
| Name | Type | Description |
|---|---|---|
base | Float! | Base price of the item before any adjustments. |
beforeTaxes | Float! | Price before taxes are applied. |
discounts | [LinePriceDiscount!] | Discounts applied to this line item. |
postDiscount | Float | Price after discounts are applied. |
subtotal | Float | Subtotal for this line item after discounts and before taxes. |
subtotalBeforeTaxes | Float | Subtotal before taxes are applied. |
taxes | [Tax!]! | Tax information applied to this line item. |
taxAmounts | [Tax!] | Tax amounts broken down by tax definition. |
total | Float | Total price for this line item including all taxes and discounts. |