Class: Increase::Models::IntrafiBalance
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::IntrafiBalance
- Defined in:
- lib/increase/models/intrafi_balance.rb
Overview
Defined Under Namespace
Modules: Currency, Type Classes: Balance
Instance Attribute Summary collapse
-
#balances ⇒ Array<Increase::Models::IntrafiBalance::Balance>
Each entry represents a balance held at a different bank.
-
#currency ⇒ Symbol, Increase::Models::IntrafiBalance::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the account currency.
-
#effective_date ⇒ Date
The date this balance reflects.
-
#id ⇒ String
The identifier of this balance.
-
#total_balance ⇒ Integer
The total balance, in minor units of ‘currency`.
-
#type ⇒ Symbol, Increase::Models::IntrafiBalance::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(city: , state: ) ⇒ Object
constructor
The primary location of the bank.
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(city: , state: ) ⇒ Object
The primary location of the bank.
|
|
# File 'lib/increase/models/intrafi_balance.rb', line 128
|
Instance Attribute Details
#balances ⇒ Array<Increase::Models::IntrafiBalance::Balance>
Each entry represents a balance held at a different bank. IntraFi separates the total balance across many participating banks in the network.
18 |
# File 'lib/increase/models/intrafi_balance.rb', line 18 required :balances, -> { Increase::Internal::Type::ArrayOf[Increase::IntrafiBalance::Balance] } |
#currency ⇒ Symbol, Increase::Models::IntrafiBalance::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the account currency.
25 |
# File 'lib/increase/models/intrafi_balance.rb', line 25 required :currency, enum: -> { Increase::IntrafiBalance::Currency } |
#effective_date ⇒ Date
The date this balance reflects.
31 |
# File 'lib/increase/models/intrafi_balance.rb', line 31 required :effective_date, Date |
#id ⇒ String
The identifier of this balance.
11 |
# File 'lib/increase/models/intrafi_balance.rb', line 11 required :id, String |
#total_balance ⇒ Integer
The total balance, in minor units of ‘currency`. Increase reports this balance to IntraFi daily.
38 |
# File 'lib/increase/models/intrafi_balance.rb', line 38 required :total_balance, Integer |
#type ⇒ Symbol, Increase::Models::IntrafiBalance::Type
A constant representing the object’s type. For this resource it will always be ‘intrafi_balance`.
45 |
# File 'lib/increase/models/intrafi_balance.rb', line 45 required :type, enum: -> { Increase::IntrafiBalance::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/intrafi_balance.rb', line 147
|