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

:amount :: :integer

Amount of the fee, in cents.

:application :: ExOAPI.Stripe.Schemas.Application

ID of the Connect application that earned the fee.

: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.

:type :: :string

Type of the fee, one of: application_fee, stripe_fee or tax.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Fee{
  amount: integer() | nil,
  application: String.t() | nil,
  currency: String.t() | nil,
  description: String.t() | nil,
  type: 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()