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

:amount :: :integer

:currency :: :string

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

:description :: :string

An arbitrary string attached to the object. Often useful for displaying to users.

:id :: :string

Unique identifier for the object.

:object :: :string

String representing the object's type. Objects of the same type share the same value.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.ReserveTransaction{
  amount: integer() | nil,
  currency: String.t() | nil,
  description: String.t() | nil,
  id: String.t() | nil,
  object: :reserve_transaction | nil
}

Link to this section Functions

Link to this function

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

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