View Source ExOAPI.Stripe.Schemas.SourceOrderItem (exoapi_stripe v0.1.4)
:amount :: :integer
The amount (price) for this order item.
:currency :: :string
This currency of this order item. Required when amount
is present.
:description :: :string
Human-readable description for this order item.
:parent :: :string
The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU).
:quantity :: :integer
The quantity of this order item. When type is sku
, this is the number of instances of the SKU to be ordered.
:type :: :string
The type of this order item. Must be sku
, tax
, or shipping
.
Link to this section Summary
Link to this section Types
@type params() :: map()
Link to this section Functions
@spec changeset(t(), params()) :: Ecto.Changeset.t()