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

:amount :: :integer

A non-negative integer in cents representing how much to charge.

:currency :: :string

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

Link to this section Summary

Link to this section Types

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

Link to this section Functions

Link to this function

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

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