Class: Increase::Models::Entity::Corporation

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

Overview

See Also:

Defined Under Namespace

Classes: Address, BeneficialOwner

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

Some parameter documentations has been truncated, see Address for more details.

The corporation’s address.

Parameters:

  • city (String) (defaults to: )

    The city of the address.

  • line1 (String) (defaults to: )

    The first line of the address.

  • line2 (String, nil) (defaults to: )

    The second line of the address.

  • state (String) (defaults to: )

    The two-letter United States Postal Service (USPS) abbreviation for the state of

  • zip (String) (defaults to: )

    The ZIP code of the address.



# File 'lib/increase/models/entity.rb', line 204


Instance Attribute Details

#addressIncrease::Models::Entity::Corporation::Address

The corporation’s address.



162
# File 'lib/increase/models/entity.rb', line 162

required :address, -> { Increase::Entity::Corporation::Address }

#beneficial_ownersArray<Increase::Models::Entity::Corporation::BeneficialOwner>

The identifying details of anyone controlling or owning 25% or more of the corporation.



169
170
# File 'lib/increase/models/entity.rb', line 169

required :beneficial_owners,
-> { Increase::Internal::Type::ArrayOf[Increase::Entity::Corporation::BeneficialOwner] }

#incorporation_stateString?

The two-letter United States Postal Service (USPS) abbreviation for the corporation’s state of incorporation.

Returns:

  • (String, nil)


177
# File 'lib/increase/models/entity.rb', line 177

required :incorporation_state, String, nil?: true

#industry_codeString?

The numeric North American Industry Classification System (NAICS) code submitted for the corporation.

Returns:

  • (String, nil)


184
# File 'lib/increase/models/entity.rb', line 184

required :industry_code, String, nil?: true

#nameString

The legal name of the corporation.

Returns:

  • (String)


190
# File 'lib/increase/models/entity.rb', line 190

required :name, String

#tax_identifierString?

The Employer Identification Number (EIN) for the corporation.

Returns:

  • (String, nil)


196
# File 'lib/increase/models/entity.rb', line 196

required :tax_identifier, String, nil?: true

#websiteString?

The website of the corporation.

Returns:

  • (String, nil)


202
# File 'lib/increase/models/entity.rb', line 202

required :website, String, nil?: true