increase 1.271.0 → 1.274.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -233,52 +233,60 @@ module Increase
233
233
  # @see Increase::Models::EntityCreateParams::Corporation#address
234
234
  class Address < Increase::Internal::Type::BaseModel
235
235
  # @!attribute city
236
- # The city of the address.
236
+ # The city, district, town, or village of the address.
237
237
  #
238
238
  # @return [String]
239
239
  required :city, String
240
240
 
241
+ # @!attribute country
242
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
243
+ #
244
+ # @return [String]
245
+ required :country, String
246
+
241
247
  # @!attribute line1
242
248
  # The first line of the address. This is usually the street number and street.
243
249
  #
244
250
  # @return [String]
245
251
  required :line1, String
246
252
 
247
- # @!attribute state
248
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
249
- # the address.
253
+ # @!attribute line2
254
+ # The second line of the address. This might be the floor or room number.
250
255
  #
251
- # @return [String]
252
- required :state, String
256
+ # @return [String, nil]
257
+ optional :line2, String
253
258
 
254
- # @!attribute zip
255
- # The ZIP code of the address.
259
+ # @!attribute state
260
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
261
+ # state, province, or region of the address. Required in certain countries.
256
262
  #
257
- # @return [String]
258
- required :zip, String
263
+ # @return [String, nil]
264
+ optional :state, String
259
265
 
260
- # @!attribute line2
261
- # The second line of the address. This might be the floor or room number.
266
+ # @!attribute zip
267
+ # The ZIP or postal code of the address. Required in certain countries.
262
268
  #
263
269
  # @return [String, nil]
264
- optional :line2, String
270
+ optional :zip, String
265
271
 
266
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
272
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
267
273
  # Some parameter documentations has been truncated, see
268
274
  # {Increase::Models::EntityCreateParams::Corporation::Address} for more details.
269
275
  #
270
276
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
271
277
  # are disallowed.
272
278
  #
273
- # @param city [String] The city of the address.
279
+ # @param city [String] The city, district, town, or village of the address.
280
+ #
281
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
274
282
  #
275
283
  # @param line1 [String] The first line of the address. This is usually the street number and street.
276
284
  #
277
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
285
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
278
286
  #
279
- # @param zip [String] The ZIP code of the address.
287
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
280
288
  #
281
- # @param line2 [String] The second line of the address. This might be the floor or room number.
289
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
282
290
  end
283
291
 
284
292
  class BeneficialOwner < Increase::Internal::Type::BaseModel
@@ -937,37 +945,43 @@ module Increase
937
945
  # @see Increase::Models::EntityCreateParams::Joint::Individual#address
938
946
  class Address < Increase::Internal::Type::BaseModel
939
947
  # @!attribute city
940
- # The city of the address.
948
+ # The city, district, town, or village of the address.
941
949
  #
942
950
  # @return [String]
943
951
  required :city, String
944
952
 
953
+ # @!attribute country
954
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
955
+ #
956
+ # @return [String]
957
+ required :country, String
958
+
945
959
  # @!attribute line1
946
960
  # The first line of the address. This is usually the street number and street.
947
961
  #
948
962
  # @return [String]
949
963
  required :line1, String
950
964
 
951
- # @!attribute state
952
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
953
- # the address.
965
+ # @!attribute line2
966
+ # The second line of the address. This might be the floor or room number.
954
967
  #
955
- # @return [String]
956
- required :state, String
968
+ # @return [String, nil]
969
+ optional :line2, String
957
970
 
958
- # @!attribute zip
959
- # The ZIP code of the address.
971
+ # @!attribute state
972
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
973
+ # state, province, or region of the address. Required in certain countries.
960
974
  #
961
- # @return [String]
962
- required :zip, String
975
+ # @return [String, nil]
976
+ optional :state, String
963
977
 
964
- # @!attribute line2
965
- # The second line of the address. This might be the floor or room number.
978
+ # @!attribute zip
979
+ # The ZIP or postal code of the address. Required in certain countries.
966
980
  #
967
981
  # @return [String, nil]
968
- optional :line2, String
982
+ optional :zip, String
969
983
 
970
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
984
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
971
985
  # Some parameter documentations has been truncated, see
972
986
  # {Increase::Models::EntityCreateParams::Joint::Individual::Address} for more
973
987
  # details.
@@ -975,15 +989,17 @@ module Increase
975
989
  # The individual's physical address. Mail receiving locations like PO Boxes and
976
990
  # PMB's are disallowed.
977
991
  #
978
- # @param city [String] The city of the address.
992
+ # @param city [String] The city, district, town, or village of the address.
993
+ #
994
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
979
995
  #
980
996
  # @param line1 [String] The first line of the address. This is usually the street number and street.
981
997
  #
982
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
998
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
983
999
  #
984
- # @param zip [String] The ZIP code of the address.
1000
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
985
1001
  #
986
- # @param line2 [String] The second line of the address. This might be the floor or room number.
1002
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
987
1003
  end
988
1004
 
989
1005
  # @see Increase::Models::EntityCreateParams::Joint::Individual#identification
@@ -1255,52 +1271,60 @@ module Increase
1255
1271
  # @see Increase::Models::EntityCreateParams::NaturalPerson#address
1256
1272
  class Address < Increase::Internal::Type::BaseModel
1257
1273
  # @!attribute city
1258
- # The city of the address.
1274
+ # The city, district, town, or village of the address.
1259
1275
  #
1260
1276
  # @return [String]
1261
1277
  required :city, String
1262
1278
 
1279
+ # @!attribute country
1280
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1281
+ #
1282
+ # @return [String]
1283
+ required :country, String
1284
+
1263
1285
  # @!attribute line1
1264
1286
  # The first line of the address. This is usually the street number and street.
1265
1287
  #
1266
1288
  # @return [String]
1267
1289
  required :line1, String
1268
1290
 
1269
- # @!attribute state
1270
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
1271
- # the address.
1291
+ # @!attribute line2
1292
+ # The second line of the address. This might be the floor or room number.
1272
1293
  #
1273
- # @return [String]
1274
- required :state, String
1294
+ # @return [String, nil]
1295
+ optional :line2, String
1275
1296
 
1276
- # @!attribute zip
1277
- # The ZIP code of the address.
1297
+ # @!attribute state
1298
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
1299
+ # state, province, or region of the address. Required in certain countries.
1278
1300
  #
1279
- # @return [String]
1280
- required :zip, String
1301
+ # @return [String, nil]
1302
+ optional :state, String
1281
1303
 
1282
- # @!attribute line2
1283
- # The second line of the address. This might be the floor or room number.
1304
+ # @!attribute zip
1305
+ # The ZIP or postal code of the address. Required in certain countries.
1284
1306
  #
1285
1307
  # @return [String, nil]
1286
- optional :line2, String
1308
+ optional :zip, String
1287
1309
 
1288
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
1310
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
1289
1311
  # Some parameter documentations has been truncated, see
1290
1312
  # {Increase::Models::EntityCreateParams::NaturalPerson::Address} for more details.
1291
1313
  #
1292
1314
  # The individual's physical address. Mail receiving locations like PO Boxes and
1293
1315
  # PMB's are disallowed.
1294
1316
  #
1295
- # @param city [String] The city of the address.
1317
+ # @param city [String] The city, district, town, or village of the address.
1318
+ #
1319
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1296
1320
  #
1297
1321
  # @param line1 [String] The first line of the address. This is usually the street number and street.
1298
1322
  #
1299
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
1323
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
1300
1324
  #
1301
- # @param zip [String] The ZIP code of the address.
1325
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
1302
1326
  #
1303
- # @param line2 [String] The second line of the address. This might be the floor or room number.
1327
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
1304
1328
  end
1305
1329
 
1306
1330
  # @see Increase::Models::EntityCreateParams::NaturalPerson#identification
@@ -1886,37 +1910,43 @@ module Increase
1886
1910
  # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual#address
1887
1911
  class Address < Increase::Internal::Type::BaseModel
1888
1912
  # @!attribute city
1889
- # The city of the address.
1913
+ # The city, district, town, or village of the address.
1890
1914
  #
1891
1915
  # @return [String]
1892
1916
  required :city, String
1893
1917
 
1918
+ # @!attribute country
1919
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1920
+ #
1921
+ # @return [String]
1922
+ required :country, String
1923
+
1894
1924
  # @!attribute line1
1895
1925
  # The first line of the address. This is usually the street number and street.
1896
1926
  #
1897
1927
  # @return [String]
1898
1928
  required :line1, String
1899
1929
 
1900
- # @!attribute state
1901
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
1902
- # the address.
1930
+ # @!attribute line2
1931
+ # The second line of the address. This might be the floor or room number.
1903
1932
  #
1904
- # @return [String]
1905
- required :state, String
1933
+ # @return [String, nil]
1934
+ optional :line2, String
1906
1935
 
1907
- # @!attribute zip
1908
- # The ZIP code of the address.
1936
+ # @!attribute state
1937
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
1938
+ # state, province, or region of the address. Required in certain countries.
1909
1939
  #
1910
- # @return [String]
1911
- required :zip, String
1940
+ # @return [String, nil]
1941
+ optional :state, String
1912
1942
 
1913
- # @!attribute line2
1914
- # The second line of the address. This might be the floor or room number.
1943
+ # @!attribute zip
1944
+ # The ZIP or postal code of the address. Required in certain countries.
1915
1945
  #
1916
1946
  # @return [String, nil]
1917
- optional :line2, String
1947
+ optional :zip, String
1918
1948
 
1919
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
1949
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
1920
1950
  # Some parameter documentations has been truncated, see
1921
1951
  # {Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Address} for
1922
1952
  # more details.
@@ -1924,15 +1954,17 @@ module Increase
1924
1954
  # The individual's physical address. Mail receiving locations like PO Boxes and
1925
1955
  # PMB's are disallowed.
1926
1956
  #
1927
- # @param city [String] The city of the address.
1957
+ # @param city [String] The city, district, town, or village of the address.
1958
+ #
1959
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1928
1960
  #
1929
1961
  # @param line1 [String] The first line of the address. This is usually the street number and street.
1930
1962
  #
1931
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
1963
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
1932
1964
  #
1933
- # @param zip [String] The ZIP code of the address.
1965
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
1934
1966
  #
1935
- # @param line2 [String] The second line of the address. This might be the floor or room number.
1967
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
1936
1968
  end
1937
1969
 
1938
1970
  # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual#identification
@@ -2205,37 +2237,43 @@ module Increase
2205
2237
  # @see Increase::Models::EntityCreateParams::Trust::Grantor#address
2206
2238
  class Address < Increase::Internal::Type::BaseModel
2207
2239
  # @!attribute city
2208
- # The city of the address.
2240
+ # The city, district, town, or village of the address.
2209
2241
  #
2210
2242
  # @return [String]
2211
2243
  required :city, String
2212
2244
 
2245
+ # @!attribute country
2246
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2247
+ #
2248
+ # @return [String]
2249
+ required :country, String
2250
+
2213
2251
  # @!attribute line1
2214
2252
  # The first line of the address. This is usually the street number and street.
2215
2253
  #
2216
2254
  # @return [String]
2217
2255
  required :line1, String
2218
2256
 
2219
- # @!attribute state
2220
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
2221
- # the address.
2257
+ # @!attribute line2
2258
+ # The second line of the address. This might be the floor or room number.
2222
2259
  #
2223
- # @return [String]
2224
- required :state, String
2260
+ # @return [String, nil]
2261
+ optional :line2, String
2225
2262
 
2226
- # @!attribute zip
2227
- # The ZIP code of the address.
2263
+ # @!attribute state
2264
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
2265
+ # state, province, or region of the address. Required in certain countries.
2228
2266
  #
2229
- # @return [String]
2230
- required :zip, String
2267
+ # @return [String, nil]
2268
+ optional :state, String
2231
2269
 
2232
- # @!attribute line2
2233
- # The second line of the address. This might be the floor or room number.
2270
+ # @!attribute zip
2271
+ # The ZIP or postal code of the address. Required in certain countries.
2234
2272
  #
2235
2273
  # @return [String, nil]
2236
- optional :line2, String
2274
+ optional :zip, String
2237
2275
 
2238
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
2276
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
2239
2277
  # Some parameter documentations has been truncated, see
2240
2278
  # {Increase::Models::EntityCreateParams::Trust::Grantor::Address} for more
2241
2279
  # details.
@@ -2243,15 +2281,17 @@ module Increase
2243
2281
  # The individual's physical address. Mail receiving locations like PO Boxes and
2244
2282
  # PMB's are disallowed.
2245
2283
  #
2246
- # @param city [String] The city of the address.
2284
+ # @param city [String] The city, district, town, or village of the address.
2285
+ #
2286
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2247
2287
  #
2248
2288
  # @param line1 [String] The first line of the address. This is usually the street number and street.
2249
2289
  #
2250
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
2290
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
2251
2291
  #
2252
- # @param zip [String] The ZIP code of the address.
2292
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
2253
2293
  #
2254
- # @param line2 [String] The second line of the address. This might be the floor or room number.
2294
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
2255
2295
  end
2256
2296
 
2257
2297
  # @see Increase::Models::EntityCreateParams::Trust::Grantor#identification
@@ -117,19 +117,20 @@ module Increase
117
117
  # @return [String, nil]
118
118
  optional :industry_code, String
119
119
 
120
+ # @!attribute legal_identifier
121
+ # The legal identifier of the corporation. This is usually the Employer
122
+ # Identification Number (EIN).
123
+ #
124
+ # @return [Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier, nil]
125
+ optional :legal_identifier, -> { Increase::EntityUpdateParams::Corporation::LegalIdentifier }
126
+
120
127
  # @!attribute name
121
128
  # The legal name of the corporation.
122
129
  #
123
130
  # @return [String, nil]
124
131
  optional :name, String
125
132
 
126
- # @!attribute tax_identifier
127
- # The Employer Identification Number (EIN) for the corporation.
128
- #
129
- # @return [String, nil]
130
- optional :tax_identifier, String
131
-
132
- # @!method initialize(address: nil, email: nil, incorporation_state: nil, industry_code: nil, name: nil, tax_identifier: nil)
133
+ # @!method initialize(address: nil, email: nil, incorporation_state: nil, industry_code: nil, legal_identifier: nil, name: nil)
133
134
  # Some parameter documentations has been truncated, see
134
135
  # {Increase::Models::EntityUpdateParams::Corporation} for more details.
135
136
  #
@@ -144,59 +145,106 @@ module Increase
144
145
  #
145
146
  # @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati
146
147
  #
147
- # @param name [String] The legal name of the corporation.
148
+ # @param legal_identifier [Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier] The legal identifier of the corporation. This is usually the Employer Identifica
148
149
  #
149
- # @param tax_identifier [String] The Employer Identification Number (EIN) for the corporation.
150
+ # @param name [String] The legal name of the corporation.
150
151
 
151
152
  # @see Increase::Models::EntityUpdateParams::Corporation#address
152
153
  class Address < Increase::Internal::Type::BaseModel
153
154
  # @!attribute city
154
- # The city of the address.
155
+ # The city, district, town, or village of the address.
155
156
  #
156
157
  # @return [String]
157
158
  required :city, String
158
159
 
160
+ # @!attribute country
161
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
162
+ #
163
+ # @return [String]
164
+ required :country, String
165
+
159
166
  # @!attribute line1
160
167
  # The first line of the address. This is usually the street number and street.
161
168
  #
162
169
  # @return [String]
163
170
  required :line1, String
164
171
 
165
- # @!attribute state
166
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
167
- # the address.
172
+ # @!attribute line2
173
+ # The second line of the address. This might be the floor or room number.
168
174
  #
169
- # @return [String]
170
- required :state, String
175
+ # @return [String, nil]
176
+ optional :line2, String
171
177
 
172
- # @!attribute zip
173
- # The ZIP code of the address.
178
+ # @!attribute state
179
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
180
+ # state, province, or region of the address. Required in certain countries.
174
181
  #
175
- # @return [String]
176
- required :zip, String
182
+ # @return [String, nil]
183
+ optional :state, String
177
184
 
178
- # @!attribute line2
179
- # The second line of the address. This might be the floor or room number.
185
+ # @!attribute zip
186
+ # The ZIP or postal code of the address. Required in certain countries.
180
187
  #
181
188
  # @return [String, nil]
182
- optional :line2, String
189
+ optional :zip, String
183
190
 
184
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
191
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
185
192
  # Some parameter documentations has been truncated, see
186
193
  # {Increase::Models::EntityUpdateParams::Corporation::Address} for more details.
187
194
  #
188
195
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
189
196
  # are disallowed.
190
197
  #
191
- # @param city [String] The city of the address.
198
+ # @param city [String] The city, district, town, or village of the address.
199
+ #
200
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
192
201
  #
193
202
  # @param line1 [String] The first line of the address. This is usually the street number and street.
194
203
  #
195
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
204
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
196
205
  #
197
- # @param zip [String] The ZIP code of the address.
206
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
198
207
  #
199
- # @param line2 [String] The second line of the address. This might be the floor or room number.
208
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
209
+ end
210
+
211
+ # @see Increase::Models::EntityUpdateParams::Corporation#legal_identifier
212
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
213
+ # @!attribute value
214
+ # The identifier of the legal identifier.
215
+ #
216
+ # @return [String]
217
+ required :value, String
218
+
219
+ # @!attribute category
220
+ # The category of the legal identifier.
221
+ #
222
+ # @return [Symbol, Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::Category, nil]
223
+ optional :category, enum: -> { Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category }
224
+
225
+ # @!method initialize(value:, category: nil)
226
+ # The legal identifier of the corporation. This is usually the Employer
227
+ # Identification Number (EIN).
228
+ #
229
+ # @param value [String] The identifier of the legal identifier.
230
+ #
231
+ # @param category [Symbol, Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::Category] The category of the legal identifier.
232
+
233
+ # The category of the legal identifier.
234
+ #
235
+ # @see Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier#category
236
+ module Category
237
+ extend Increase::Internal::Type::Enum
238
+
239
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
240
+ US_EMPLOYER_IDENTIFICATION_NUMBER = :us_employer_identification_number
241
+
242
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
243
+ OTHER = :other
244
+
245
+ # @!method self.values
246
+ # @return [Array<Symbol>]
247
+ end
200
248
  end
201
249
  end
202
250
 
@@ -306,52 +354,60 @@ module Increase
306
354
  # @see Increase::Models::EntityUpdateParams::NaturalPerson#address
307
355
  class Address < Increase::Internal::Type::BaseModel
308
356
  # @!attribute city
309
- # The city of the address.
357
+ # The city, district, town, or village of the address.
310
358
  #
311
359
  # @return [String]
312
360
  required :city, String
313
361
 
362
+ # @!attribute country
363
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
364
+ #
365
+ # @return [String]
366
+ required :country, String
367
+
314
368
  # @!attribute line1
315
369
  # The first line of the address. This is usually the street number and street.
316
370
  #
317
371
  # @return [String]
318
372
  required :line1, String
319
373
 
320
- # @!attribute state
321
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
322
- # the address.
374
+ # @!attribute line2
375
+ # The second line of the address. This might be the floor or room number.
323
376
  #
324
- # @return [String]
325
- required :state, String
377
+ # @return [String, nil]
378
+ optional :line2, String
326
379
 
327
- # @!attribute zip
328
- # The ZIP code of the address.
380
+ # @!attribute state
381
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
382
+ # state, province, or region of the address. Required in certain countries.
329
383
  #
330
- # @return [String]
331
- required :zip, String
384
+ # @return [String, nil]
385
+ optional :state, String
332
386
 
333
- # @!attribute line2
334
- # The second line of the address. This might be the floor or room number.
387
+ # @!attribute zip
388
+ # The ZIP or postal code of the address. Required in certain countries.
335
389
  #
336
390
  # @return [String, nil]
337
- optional :line2, String
391
+ optional :zip, String
338
392
 
339
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
393
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
340
394
  # Some parameter documentations has been truncated, see
341
395
  # {Increase::Models::EntityUpdateParams::NaturalPerson::Address} for more details.
342
396
  #
343
397
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
344
398
  # are disallowed.
345
399
  #
346
- # @param city [String] The city of the address.
400
+ # @param city [String] The city, district, town, or village of the address.
401
+ #
402
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
347
403
  #
348
404
  # @param line1 [String] The first line of the address. This is usually the street number and street.
349
405
  #
350
- # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
406
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
351
407
  #
352
- # @param zip [String] The ZIP code of the address.
408
+ # @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
353
409
  #
354
- # @param line2 [String] The second line of the address. This might be the floor or room number.
410
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
355
411
  end
356
412
  end
357
413
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.271.0"
4
+ VERSION = "1.274.0"
5
5
  end