Class: Increase::Models::EntityUpdateParams::Corporation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::EntityUpdateParams::Corporation
- Defined in:
- lib/increase/models/entity_update_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Increase::Models::EntityUpdateParams::Corporation::Address?
The entity’s physical address.
-
#email ⇒ String?
An email address for the business.
-
#incorporation_state ⇒ String?
The two-letter United States Postal Service (USPS) abbreviation for the corporation’s state of incorporation.
-
#industry_code ⇒ String?
The North American Industry Classification System (NAICS) code for the corporation’s primary line of business.
-
#name ⇒ String?
The legal name of the corporation.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, incorporation_state: nil, industry_code: nil, name: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Corporation for more details.
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(address: nil, email: nil, incorporation_state: nil, industry_code: nil, name: nil) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::EntityUpdateParams::Corporation for more details.
Details of the corporation entity to update. If you specify this parameter and the entity is not a corporation, the request will fail.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
# File 'lib/increase/models/entity_update_params.rb', line 81 class Corporation < Increase::Internal::Type::BaseModel # @!attribute address # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. # # @return [Increase::Models::EntityUpdateParams::Corporation::Address, nil] optional :address, -> { Increase::EntityUpdateParams::Corporation::Address } # @!attribute email # An email address for the business. Not every program requires an email for # submitted Entities. # # @return [String, nil] optional :email, String # @!attribute incorporation_state # The two-letter United States Postal Service (USPS) abbreviation for the # corporation's state of incorporation. # # @return [String, nil] optional :incorporation_state, String # @!attribute industry_code # The North American Industry Classification System (NAICS) code for the # corporation's primary line of business. This is a number, like `5132` for # `Software Publishers`. A full list of classification codes is available # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes). # # @return [String, nil] optional :industry_code, String # @!attribute name # The legal name of the corporation. # # @return [String, nil] optional :name, String # @!method initialize(address: nil, email: nil, incorporation_state: nil, industry_code: nil, name: nil) # Some parameter documentations has been truncated, see # {Increase::Models::EntityUpdateParams::Corporation} for more details. # # Details of the corporation entity to update. If you specify this parameter and # the entity is not a corporation, the request will fail. # # @param address [Increase::Models::EntityUpdateParams::Corporation::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's # # @param email [String] An email address for the business. Not every program requires an email for submi # # @param incorporation_state [String] The two-letter United States Postal Service (USPS) abbreviation for the corporat # # @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati # # @param name [String] The legal name of the corporation. # @see Increase::Models::EntityUpdateParams::Corporation#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. # # @return [String] required :city, String # @!attribute line1 # The first line of the address. This is usually the street number and street. # # @return [String] required :line1, String # @!attribute state # The two-letter United States Postal Service (USPS) abbreviation for the state of # the address. # # @return [String] required :state, String # @!attribute zip # The ZIP code of the address. # # @return [String] required :zip, String # @!attribute line2 # The second line of the address. This might be the floor or room number. # # @return [String, nil] optional :line2, String # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see # {Increase::Models::EntityUpdateParams::Corporation::Address} for more details. # # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. # # @param city [String] The city of the address. # # @param line1 [String] The first line of the address. This is usually the street number and street. # # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of # # @param zip [String] The ZIP code of the address. # # @param line2 [String] The second line of the address. This might be the floor or room number. end end |
Instance Attribute Details
#address ⇒ Increase::Models::EntityUpdateParams::Corporation::Address?
The entity’s physical address. Mail receiving locations like PO Boxes and PMB’s are disallowed.
87 |
# File 'lib/increase/models/entity_update_params.rb', line 87 optional :address, -> { Increase::EntityUpdateParams::Corporation::Address } |
#email ⇒ String?
An email address for the business. Not every program requires an email for submitted Entities.
94 |
# File 'lib/increase/models/entity_update_params.rb', line 94 optional :email, String |
#incorporation_state ⇒ String?
The two-letter United States Postal Service (USPS) abbreviation for the corporation’s state of incorporation.
101 |
# File 'lib/increase/models/entity_update_params.rb', line 101 optional :incorporation_state, String |
#industry_code ⇒ String?
The North American Industry Classification System (NAICS) code for the corporation’s primary line of business. This is a number, like ‘5132` for `Software Publishers`. A full list of classification codes is available [here](increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
110 |
# File 'lib/increase/models/entity_update_params.rb', line 110 optional :industry_code, String |
#name ⇒ String?
The legal name of the corporation.
116 |
# File 'lib/increase/models/entity_update_params.rb', line 116 optional :name, String |