View Source ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceLineItem (exoapi_stripe v0.1.4)

description: Represents a line item to be displayed on the reader

:amount :: :integer

The amount of the line item. A positive integer in the smallest currency unit.

:description :: :string

Description of the line item.

:quantity :: :integer

The quantity of the line item.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceLineItem{
  amount: integer() | nil,
  description: String.t() | nil,
  quantity: integer() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()