Class: Lithic::Models::FinancialAccounts::LoanTape::PreviousStatementBalance

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/financial_accounts/loan_tape.rb,
sig/lithic/models/financial_accounts/loan_tape.rbs

Overview

See Also:

  • Lithic::Models::FinancialAccounts::LoanTape#previous_statement_balance

Instance Attribute Summary collapse

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(amount:, remaining:) ⇒ PreviousStatementBalance

Returns a new instance of PreviousStatementBalance.

Parameters:

  • amount (Integer)
  • remaining (Integer)
  • amount: (Integer)
  • remaining: (Integer)


# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 509

Instance Attribute Details

#amountInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


502
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 502

required :amount, Integer

#remainingInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


507
# File 'lib/lithic/models/financial_accounts/loan_tape.rb', line 507

required :remaining, Integer

Instance Method Details

#to_hash{ amount: Integer, remaining: Integer }

Returns:

  • ({ amount: Integer, remaining: Integer })


404
# File 'sig/lithic/models/financial_accounts/loan_tape.rbs', line 404

def to_hash: -> { amount: Integer, remaining: Integer }