# `Stripe.Item`
[🔗](https://github.com/code-corps/stripity_stripe/blob/v3.3.3/lib/generated/item.ex#L1)

A line item.

# `t`

```elixir
@type t() :: %Stripe.Item{
  amount_discount: integer(),
  amount_subtotal: integer(),
  amount_tax: integer(),
  amount_total: integer(),
  currency: binary(),
  description: binary() | nil,
  discounts: term(),
  id: binary(),
  object: binary(),
  price: Stripe.Price.t() | nil,
  quantity: integer() | nil,
  taxes: term()
}
```

The `item` type.

  * `amount_discount` Total discount amount applied. If no discounts were applied, defaults to 0.
  * `amount_subtotal` Total before any discounts or taxes are applied.
  * `amount_tax` Total tax amount applied. If no tax was applied, defaults to 0.
  * `amount_total` Total after discounts and taxes.
  * `currency` Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
  * `description` An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.
  * `discounts` The discounts applied to the line item.
  * `id` Unique identifier for the object.
  * `object` String representing the object's type. Objects of the same type share the same value.
  * `price` The price used to generate the line item.
  * `quantity` The quantity of products being purchased.
  * `taxes` The taxes applied to the line item.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
