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

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

ID of the Stripe account this fee was taken from.

:amount :: :integer

Amount earned, in %s.

:amount_refunded :: :integer

Amount in %s refunded (can be less than the amount attribute on the fee if a partial refund was issued)

:application :: ExOAPI.Stripe.Schemas.Application | :string

ID of the Connect application that earned the fee.

:balance_transaction :: ExOAPI.Stripe.Schemas.BalanceTransaction | :string

Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).

:charge :: ExOAPI.Stripe.Schemas.Charge | :string

ID of the charge that the application fee was taken from.

:created :: :integer

Time at which the object was created. Measured in seconds since the Unix epoch.

:currency :: :string

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

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

:originating_transaction :: ExOAPI.Stripe.Schemas.Charge | :string

ID of the corresponding charge on the platform account, if this fee was the result of a charge using the destination parameter.

:refunded :: :boolean

Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false.

::data :: ExOAPI.Stripe.Schemas.FeeRefund

:has_more :: :boolean

True if this list has another page of items after this one that can be fetched.

:object :: :string

String representing the object's type. Objects of the same type share the same value. Always has the value list.

:url :: :string

The URL where this list can be accessed.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.ApplicationFee{
  account: ExOAPI.EctoTypes.AnyOf.t() | nil,
  amount: integer() | nil,
  amount_refunded: integer() | nil,
  application: ExOAPI.EctoTypes.AnyOf.t() | nil,
  balance_transaction: ExOAPI.EctoTypes.AnyOf.t() | nil,
  charge: ExOAPI.EctoTypes.AnyOf.t() | nil,
  created: integer() | nil,
  currency: String.t() | nil,
  id: String.t() | nil,
  livemode: boolean() | nil,
  object: :application_fee | nil,
  originating_transaction: ExOAPI.EctoTypes.AnyOf.t() | nil,
  refunded: boolean() | nil,
  refunds: map() | nil
}

Link to this section Functions

Link to this function

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

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