View Source ExOAPI.Stripe.Schemas.InvoiceTransferData (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.

: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.InvoiceTransferData{
  amount: integer() | 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()