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

:amount :: :integer

The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.

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

ID of an existing, connected Stripe account to transfer funds to if transfer_data was specified in the charge request.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.ChargeTransferData{
  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()