Class: Telnyx::Models::BalanceRetrieveResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::BalanceRetrieveResponse::Data
- Defined in:
- lib/telnyx/models/balance_retrieve_response.rb
Overview
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.
-
#pending ⇒ String?
The account’s pending amount.
-
#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, pending: nil, record_type: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/balance_retrieve_response.rb', line 53
|
Instance Attribute Details
#available_credit ⇒ String?
Available amount to spend (balance + credit limit)
21 |
# File 'lib/telnyx/models/balance_retrieve_response.rb', line 21 optional :available_credit, String |
#balance ⇒ String?
The account’s current balance.
27 |
# File 'lib/telnyx/models/balance_retrieve_response.rb', line 27 optional :balance, String |
#credit_limit ⇒ String?
The account’s credit limit.
33 |
# File 'lib/telnyx/models/balance_retrieve_response.rb', line 33 optional :credit_limit, String |
#currency ⇒ String?
The ISO 4217 currency identifier.
39 |
# File 'lib/telnyx/models/balance_retrieve_response.rb', line 39 optional :currency, String |
#pending ⇒ String?
The account’s pending amount.
45 |
# File 'lib/telnyx/models/balance_retrieve_response.rb', line 45 optional :pending, String |
#record_type ⇒ Symbol, ...
Identifies the type of the resource.
51 |
# File 'lib/telnyx/models/balance_retrieve_response.rb', line 51 optional :record_type, enum: -> { Telnyx::Models::BalanceRetrieveResponse::Data::RecordType } |