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

:amount :: :integer

A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.

:currency :: :string

Three-letter ISO currency code, in lowercase. Must be a supported currency.

:email :: :string

The email address of the customer placing the order.

::items :: ExOAPI.Stripe.Schemas.SourceOrderItem

:shipping :: ExOAPI.Stripe.Schemas.Shipping

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.SourceOrder{
  amount: integer() | nil,
  currency: String.t() | nil,
  email: String.t() | nil,
  items: [ExOAPI.Stripe.Schemas.SourceOrderItem.t()],
  shipping: ExOAPI.Stripe.Schemas.Shipping.t() | nil
}

Link to this section Functions

Link to this function

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

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