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

:amount :: :integer

Amount transferred, in %s.

:currency :: :string

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

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

ID of the account that funds are being collected for.

:id :: :string

Unique identifier for the object.

:livemode :: :boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

: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.ConnectCollectionTransfer{
  amount: integer() | nil,
  currency: String.t() | nil,
  destination: ExOAPI.EctoTypes.AnyOf.t() | nil,
  id: String.t() | nil,
  livemode: boolean() | nil,
  object: :connect_collection_transfer | nil
}

Link to this section Functions

Link to this function

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

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