Class: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor

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

Overview

See Also:

  • Increase::Models::EntityUpdateParams::SoleProprietorship#sole_proprietor

Defined Under Namespace

Classes: Address, Identification

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(city:, country:, line1:, line2: nil, state: nil, zip: nil) ⇒ Object

The sole proprietor's physical address. Mail receiving locations like PO Boxes and PMB's are disallowed.



# File 'lib/increase/models/entity_update_params.rb', line 922


Instance Attribute Details

#addressIncrease::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address?

The sole proprietor's physical address. Mail receiving locations like PO Boxes and PMB's are disallowed.



906
# File 'lib/increase/models/entity_update_params.rb', line 906

optional :address, -> { Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address }

#identificationIncrease::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification?

A means of verifying the sole proprietor's identity. Unlike at creation, an identity document is accepted here.



913
914
# File 'lib/increase/models/entity_update_params.rb', line 913

optional :identification,
-> { Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification }

#nameString?

The sole proprietor's legal name.



920
# File 'lib/increase/models/entity_update_params.rb', line 920

optional :name, String

Instance Method Details

#to_hash{



756
# File 'sig/increase/models/entity_update_params.rbs', line 756

def to_hash: -> {