CreditBalance
Summary
Types
@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 supportmonetarybilling credits. Possible values:monetary.
@type available_balance_monetary() :: %{ optional(:currency) => String.t() | nil, optional(:value) => integer() | nil, optional(String.t()) => term() }
currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Max length: 5000.value- A positive integer representing the amount.
@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 supportmonetarybilling credits. Possible values:monetary.
@type ledger_balance_monetary() :: %{ optional(:currency) => String.t() | nil, optional(:value) => integer() | nil, optional(String.t()) => term() }
currency- Three-letter ISO currency code, in lowercase. Must be a supported currency. Max length: 5000.value- A positive integer representing the amount.
@type t() :: %Stripe.Resources.Billing.CreditBalance{ available_balance: available_balance(), ledger_balance: ledger_balance() }
available_balance- Expandable.ledger_balance- Expandable.