Class: Increase::Models::BalanceLookup::Loan

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

Overview

See Also:

  • Increase::Models::BalanceLookup#loan

Defined Under Namespace

Classes: Receivables

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(due_at:, due_balance:, past_due_balance:, receivables:) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::BalanceLookup::Loan for more details.

The loan balances for the Account.

Parameters:

  • due_at (Time, nil)

    The ISO 8601 time at which the loan pa

  • due_balance (Integer)

    The total amount due on the loan.

  • past_due_balance (Integer)

    The amount past due on the loan.

  • receivables (Increase::Models::BalanceLookup::Loan::Receivables, nil)

    The receivables balances for the loan.



# File 'lib/increase/models/balance_lookup.rb', line 84

Instance Attribute Details

#due_atTime?

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

Parameters:

  • value (Time, nil)

Returns:

  • (Time, nil)


64
# File 'lib/increase/models/balance_lookup.rb', line 64

required :due_at, Time, nil?: true

#due_balanceInteger

The total amount due on the loan.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


70
# File 'lib/increase/models/balance_lookup.rb', line 70

required :due_balance, Integer

#past_due_balanceInteger

The amount past due on the loan.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


76
# File 'lib/increase/models/balance_lookup.rb', line 76

required :past_due_balance, Integer

#receivablesIncrease::Models::BalanceLookup::Loan::Receivables?

The receivables balances for the loan.

Parameters:

  • value (Increase::BalanceLookup::Loan::Receivables, nil)

Returns:



82
# File 'lib/increase/models/balance_lookup.rb', line 82

required :receivables, -> { Increase::BalanceLookup::Loan::Receivables }, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


63
# File 'sig/increase/models/balance_lookup.rbs', line 63

def to_hash: -> {