Defines the object schema located at components.schemas.item in the specification.
A line item.
Constructors
ItemitemAmountDiscount :: Maybe Intamount_discount: Total discount amount applied. If no discounts were applied, defaults to 0.
itemAmountSubtotal :: Intamount_subtotal: Total before any discounts or taxes are applied.
itemAmountTax :: Maybe Intamount_tax: Total tax amount applied. If no tax was applied, defaults to 0.
itemAmountTotal :: Intamount_total: Total after discounts and taxes.
itemCurrency :: Textcurrency: Three-letter ISO currency code, in lowercase. Must be a supported currency.
itemDescription :: Textdescription: An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.
Constraints:
Maximum length of 5000
itemDiscounts :: Maybe [LineItemsDiscountAmount]discounts: The discounts applied to the line item.
itemId :: Textid: Unique identifier for the object.
Constraints:
Maximum length of 5000
itemPrice :: Maybe (Nullable ItemPrice'NonNullable)price: The price used to generate the line item.
itemProduct :: Maybe ItemProduct'Variantsproduct: The ID of the product for this line item.
This will always be the same as `price.product`.
itemQuantity :: Maybe (Nullable Int)quantity: The quantity of products being purchased.
itemTaxes :: Maybe [LineItemsTaxAmount]taxes: The taxes applied to the line item.