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

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

Overview

See Also:

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:



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

Instance Attribute Details

#due_atTime?

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the loan payment is due.

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.

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.

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.



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

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