Class: Increase::Models::AccountStatement::Loan

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/account_statement.rb,
sig/increase/models/account_statement.rbs

Overview

See Also:

  • Increase::Models::AccountStatement#loan

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

#initializeObject



74
# File 'sig/increase/models/account_statement.rbs', line 74

def initialize: (

Instance Attribute Details

#due_atTime?

The ISO 8601 time at which the loan payment is due.

Parameters:

  • value (Time, nil)

Returns:

  • (Time, nil)


106
# File 'lib/increase/models/account_statement.rb', line 106

required :due_at, Time, nil?: true

#due_balanceInteger

The total amount due on the loan.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


112
# File 'lib/increase/models/account_statement.rb', line 112

required :due_balance, Integer

#past_due_balanceInteger

The amount past due on the loan.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


118
# File 'lib/increase/models/account_statement.rb', line 118

required :past_due_balance, Integer

Instance Method Details

#to_hash{

Returns:

  • ({)


80
# File 'sig/increase/models/account_statement.rbs', line 80

def to_hash: -> {