Represents a line item returned by Stripe Quote APIs.
Quote line items appear in three places:
- embedded on
%LatticeStripe.Quote{}snapshots - embedded inside
computed.upfrontorcomputed.recurring - from paginated Quote line-item endpoints
Stripe may evolve the pricing subtrees here over time, so bounded fields are
typed directly while pricing, period, tax, and discount detail branches remain
raw maps or lists. Unknown fields are preserved in extra.
Summary
Types
@type t() :: %LatticeStripe.Quote.LineItem{ amount_discount: integer() | nil, amount_subtotal: integer() | nil, amount_tax: integer() | nil, amount_total: integer() | nil, currency: String.t() | nil, description: String.t() | nil, discounts: list() | nil, extra: map(), id: String.t() | nil, object: String.t(), period: map() | nil, price: map() | nil, pricing: map() | nil, quantity: integer() | nil, taxes: list() | map() | nil }