Class: Lithic::Models::Balance
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::Balance
- Defined in:
- lib/lithic/models/balance.rb
Overview
Defined Under Namespace
Modules: FinancialAccountType
Instance Attribute Summary collapse
-
#available_amount ⇒ Integer
Funds available for spend in the currency’s smallest unit (e.g., cents for USD).
-
#created ⇒ Time
Date and time for when the balance was first created.
-
#currency ⇒ String
3-character alphabetic ISO 4217 code for the local currency of the balance.
-
#financial_account_token ⇒ String
Globally unique identifier for the financial account that holds this balance.
-
#financial_account_type ⇒ Symbol, Lithic::Models::Balance::FinancialAccountType
Type of financial account.
-
#last_transaction_event_token ⇒ String
Globally unique identifier for the last financial transaction event that impacted this balance.
-
#last_transaction_token ⇒ String
Globally unique identifier for the last financial transaction that impacted this balance.
-
#pending_amount ⇒ Integer
Funds not available for spend due to card authorizations or pending ACH release.
-
#total_amount ⇒ Integer
The sum of available and pending balance in the currency’s smallest unit (e.g., cents for USD).
-
#updated ⇒ Time
Date and time for when the balance was last updated.
Instance Method Summary collapse
-
#initialize(available_amount:, created:, currency:, financial_account_token:, financial_account_type:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, updated:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Balance for more details.
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_amount:, created:, currency:, financial_account_token:, financial_account_type:, last_transaction_event_token:, last_transaction_token:, pending_amount:, total_amount:, updated:) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::Balance for more details.
Balance
|
|
# File 'lib/lithic/models/balance.rb', line 71
|
Instance Attribute Details
#available_amount ⇒ Integer
Funds available for spend in the currency’s smallest unit (e.g., cents for USD)
11 |
# File 'lib/lithic/models/balance.rb', line 11 required :available_amount, Integer |
#created ⇒ Time
Date and time for when the balance was first created.
17 |
# File 'lib/lithic/models/balance.rb', line 17 required :created, Time |
#currency ⇒ String
3-character alphabetic ISO 4217 code for the local currency of the balance.
23 |
# File 'lib/lithic/models/balance.rb', line 23 required :currency, String |
#financial_account_token ⇒ String
Globally unique identifier for the financial account that holds this balance.
29 |
# File 'lib/lithic/models/balance.rb', line 29 required :financial_account_token, String |
#financial_account_type ⇒ Symbol, Lithic::Models::Balance::FinancialAccountType
Type of financial account.
35 |
# File 'lib/lithic/models/balance.rb', line 35 required :financial_account_type, enum: -> { Lithic::Balance::FinancialAccountType } |
#last_transaction_event_token ⇒ String
Globally unique identifier for the last financial transaction event that impacted this balance.
42 |
# File 'lib/lithic/models/balance.rb', line 42 required :last_transaction_event_token, String |
#last_transaction_token ⇒ String
Globally unique identifier for the last financial transaction that impacted this balance.
49 |
# File 'lib/lithic/models/balance.rb', line 49 required :last_transaction_token, String |
#pending_amount ⇒ Integer
Funds not available for spend due to card authorizations or pending ACH release. Shown in the currency’s smallest unit (e.g., cents for USD).
56 |
# File 'lib/lithic/models/balance.rb', line 56 required :pending_amount, Integer |
#total_amount ⇒ Integer
The sum of available and pending balance in the currency’s smallest unit (e.g., cents for USD).
63 |
# File 'lib/lithic/models/balance.rb', line 63 required :total_amount, Integer |
#updated ⇒ Time
Date and time for when the balance was last updated.
69 |
# File 'lib/lithic/models/balance.rb', line 69 required :updated, Time |