Class: Telnyx::Models::ManagedAccountBalance
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::ManagedAccountBalance
- Defined in:
- lib/telnyx/models/managed_account_balance.rb
Defined Under Namespace
Modules: RecordType
Instance Attribute Summary collapse
-
#available_credit ⇒ String?
Available amount to spend (balance + credit limit).
-
#balance ⇒ String?
The account’s current balance.
-
#credit_limit ⇒ String?
The account’s credit limit.
-
#currency ⇒ String?
The ISO 4217 currency identifier.
-
#record_type ⇒ Symbol, ...
Identifies the type of the resource.
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(available_credit: nil, balance: nil, credit_limit: nil, currency: nil, record_type: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/managed_account_balance.rb', line 36
|
Instance Attribute Details
#available_credit ⇒ String?
Available amount to spend (balance + credit limit)
10 |
# File 'lib/telnyx/models/managed_account_balance.rb', line 10 optional :available_credit, String |
#balance ⇒ String?
The account’s current balance.
16 |
# File 'lib/telnyx/models/managed_account_balance.rb', line 16 optional :balance, String |
#credit_limit ⇒ String?
The account’s credit limit.
22 |
# File 'lib/telnyx/models/managed_account_balance.rb', line 22 optional :credit_limit, String |
#currency ⇒ String?
The ISO 4217 currency identifier.
28 |
# File 'lib/telnyx/models/managed_account_balance.rb', line 28 optional :currency, String |
#record_type ⇒ Symbol, ...
Identifies the type of the resource.
34 |
# File 'lib/telnyx/models/managed_account_balance.rb', line 34 optional :record_type, enum: -> { Telnyx::ManagedAccountBalance::RecordType } |