Stripe.Resources.Billing.CreditBalance (tiger_stripe v0.3.0)

Copy Markdown View Source

CreditBalance

Summary

Types

available_balance()

@type available_balance() :: %{
  optional(:monetary) => available_balance_monetary() | nil,
  optional(:type) => String.t() | nil,
  optional(String.t()) => term()
}
  • monetary - The monetary amount. Nullable.
  • type - The type of this amount. We currently only support monetary billing credits. Possible values: monetary.

available_balance_monetary()

@type available_balance_monetary() :: %{
  optional(:currency) => String.t() | nil,
  optional(:value) => integer() | nil,
  optional(String.t()) => term()
}

ledger_balance()

@type ledger_balance() :: %{
  optional(:monetary) => ledger_balance_monetary() | nil,
  optional(:type) => String.t() | nil,
  optional(String.t()) => term()
}
  • monetary - The monetary amount. Nullable.
  • type - The type of this amount. We currently only support monetary billing credits. Possible values: monetary.

ledger_balance_monetary()

@type ledger_balance_monetary() :: %{
  optional(:currency) => String.t() | nil,
  optional(:value) => integer() | nil,
  optional(String.t()) => term()
}

t()

@type t() :: %Stripe.Resources.Billing.CreditBalance{
  available_balance: available_balance(),
  ledger_balance: ledger_balance()
}
  • available_balance - Expandable.
  • ledger_balance - Expandable.

Functions

expandable_fields()

object_name()