Class: Increase::Models::Program::Lending

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

Overview

See Also:

  • Increase::Models::Program#lending

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

#initializeLending

Returns a new instance of Lending.

Parameters:

  • maximum_extendable_credit: (Integer)


86
# File 'sig/increase/models/program.rbs', line 86

def initialize: (maximum_extendable_credit: Integer) -> void

Instance Attribute Details

#maximum_extendable_creditInteger

The maximum extendable credit of the program.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


126
# File 'lib/increase/models/program.rb', line 126

required :maximum_extendable_credit, Integer

Instance Method Details

#to_hash{ maximum_extendable_credit: Integer }

Returns:

  • ({ maximum_extendable_credit: Integer })


88
# File 'sig/increase/models/program.rbs', line 88

def to_hash: -> { maximum_extendable_credit: Integer }