Class: Lithic::Models::FinancialAccounts::CategoryBalances
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/lithic/models/financial_accounts/category_balances.rb,
sig/lithic/models/financial_accounts/category_balances.rbs
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(fees:, interest:, principal:) ⇒ Object
|
# File 'lib/lithic/models/financial_accounts/category_balances.rb', line 22
|
Instance Attribute Details
#fees ⇒ Integer
10
|
# File 'lib/lithic/models/financial_accounts/category_balances.rb', line 10
required :fees, Integer
|
#interest ⇒ Integer
15
|
# File 'lib/lithic/models/financial_accounts/category_balances.rb', line 15
required :interest, Integer
|
#principal ⇒ Integer
20
|
# File 'lib/lithic/models/financial_accounts/category_balances.rb', line 20
required :principal, Integer
|
Instance Method Details
#to_hash ⇒ { fees: Integer, interest: Integer, principal: Integer }
20
|
# File 'sig/lithic/models/financial_accounts/category_balances.rbs', line 20
def to_hash: -> { fees: Integer, interest: Integer, principal: Integer }
|