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

:amount :: :integer

The amount in %s that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination.

:amount_percent :: :number

A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount will be transferred to the destination.

:destination :: ExOAPI.Stripe.Schemas.Account | :string

The account where funds from the payment will be transferred to upon payment success.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.QuotesResourceTransferData{
  amount: integer() | nil,
  amount_percent: float() | nil,
  destination: ExOAPI.EctoTypes.AnyOf.t() | nil
}

Link to this section Functions

Link to this function

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

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