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

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#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

#initializeObject



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

def initialize: (

Instance Attribute Details

#purchasable_balanceInteger

The balance of seasoned receivables available to be purchased.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


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

required :purchasable_balance, Integer

#purchased_balanceInteger

The balance of receivables that have been purchased.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


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

required :purchased_balance, Integer

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {