increase 1.271.0 → 1.273.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +175 -0
- data/README.md +1 -1
- data/lib/increase/internal/util.rb +1 -2
- data/lib/increase/models/entity.rb +147 -91
- data/lib/increase/models/entity_create_params.rb +130 -90
- data/lib/increase/models/entity_update_params.rb +52 -36
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/entity.rbi +175 -119
- data/rbi/increase/models/entity_create_params.rbi +175 -105
- data/rbi/increase/models/entity_update_params.rbi +70 -42
- data/sig/increase/models/entity.rbs +119 -84
- data/sig/increase/models/entity_create_params.rbs +100 -55
- data/sig/increase/models/entity_update_params.rbs +40 -22
- metadata +2 -2
|
@@ -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
|
|
248
|
-
# The
|
|
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
|
-
|
|
256
|
+
# @return [String, nil]
|
|
257
|
+
optional :line2, String
|
|
253
258
|
|
|
254
|
-
# @!attribute
|
|
255
|
-
# The
|
|
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
|
-
|
|
263
|
+
# @return [String, nil]
|
|
264
|
+
optional :state, String
|
|
259
265
|
|
|
260
|
-
# @!attribute
|
|
261
|
-
# The
|
|
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 :
|
|
270
|
+
optional :zip, String
|
|
265
271
|
|
|
266
|
-
# @!method initialize(city:, line1:, state
|
|
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
|
|
285
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
278
286
|
#
|
|
279
|
-
# @param
|
|
287
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
280
288
|
#
|
|
281
|
-
# @param
|
|
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
|
|
952
|
-
# The
|
|
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
|
-
|
|
968
|
+
# @return [String, nil]
|
|
969
|
+
optional :line2, String
|
|
957
970
|
|
|
958
|
-
# @!attribute
|
|
959
|
-
# The
|
|
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
|
-
|
|
975
|
+
# @return [String, nil]
|
|
976
|
+
optional :state, String
|
|
963
977
|
|
|
964
|
-
# @!attribute
|
|
965
|
-
# The
|
|
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 :
|
|
982
|
+
optional :zip, String
|
|
969
983
|
|
|
970
|
-
# @!method initialize(city:, line1:, state
|
|
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
|
|
998
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
983
999
|
#
|
|
984
|
-
# @param
|
|
1000
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
985
1001
|
#
|
|
986
|
-
# @param
|
|
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
|
|
1270
|
-
# The
|
|
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
|
-
|
|
1294
|
+
# @return [String, nil]
|
|
1295
|
+
optional :line2, String
|
|
1275
1296
|
|
|
1276
|
-
# @!attribute
|
|
1277
|
-
# The
|
|
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
|
-
|
|
1301
|
+
# @return [String, nil]
|
|
1302
|
+
optional :state, String
|
|
1281
1303
|
|
|
1282
|
-
# @!attribute
|
|
1283
|
-
# The
|
|
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 :
|
|
1308
|
+
optional :zip, String
|
|
1287
1309
|
|
|
1288
|
-
# @!method initialize(city:, line1:, state
|
|
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
|
|
1323
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
1300
1324
|
#
|
|
1301
|
-
# @param
|
|
1325
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
1302
1326
|
#
|
|
1303
|
-
# @param
|
|
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
|
|
1901
|
-
# The
|
|
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
|
-
|
|
1933
|
+
# @return [String, nil]
|
|
1934
|
+
optional :line2, String
|
|
1906
1935
|
|
|
1907
|
-
# @!attribute
|
|
1908
|
-
# The
|
|
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
|
-
|
|
1940
|
+
# @return [String, nil]
|
|
1941
|
+
optional :state, String
|
|
1912
1942
|
|
|
1913
|
-
# @!attribute
|
|
1914
|
-
# The
|
|
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 :
|
|
1947
|
+
optional :zip, String
|
|
1918
1948
|
|
|
1919
|
-
# @!method initialize(city:, line1:, state
|
|
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
|
|
1963
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
1932
1964
|
#
|
|
1933
|
-
# @param
|
|
1965
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
1934
1966
|
#
|
|
1935
|
-
# @param
|
|
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
|
|
2220
|
-
# The
|
|
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
|
-
|
|
2260
|
+
# @return [String, nil]
|
|
2261
|
+
optional :line2, String
|
|
2225
2262
|
|
|
2226
|
-
# @!attribute
|
|
2227
|
-
# The
|
|
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
|
-
|
|
2267
|
+
# @return [String, nil]
|
|
2268
|
+
optional :state, String
|
|
2231
2269
|
|
|
2232
|
-
# @!attribute
|
|
2233
|
-
# The
|
|
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 :
|
|
2274
|
+
optional :zip, String
|
|
2237
2275
|
|
|
2238
|
-
# @!method initialize(city:, line1:, state
|
|
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
|
|
2290
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
2251
2291
|
#
|
|
2252
|
-
# @param
|
|
2292
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
2253
2293
|
#
|
|
2254
|
-
# @param
|
|
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
|
|
@@ -151,52 +151,60 @@ module Increase
|
|
|
151
151
|
# @see Increase::Models::EntityUpdateParams::Corporation#address
|
|
152
152
|
class Address < Increase::Internal::Type::BaseModel
|
|
153
153
|
# @!attribute city
|
|
154
|
-
# The city of the address.
|
|
154
|
+
# The city, district, town, or village of the address.
|
|
155
155
|
#
|
|
156
156
|
# @return [String]
|
|
157
157
|
required :city, String
|
|
158
158
|
|
|
159
|
+
# @!attribute country
|
|
160
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
161
|
+
#
|
|
162
|
+
# @return [String]
|
|
163
|
+
required :country, String
|
|
164
|
+
|
|
159
165
|
# @!attribute line1
|
|
160
166
|
# The first line of the address. This is usually the street number and street.
|
|
161
167
|
#
|
|
162
168
|
# @return [String]
|
|
163
169
|
required :line1, String
|
|
164
170
|
|
|
165
|
-
# @!attribute
|
|
166
|
-
# The
|
|
167
|
-
# the address.
|
|
171
|
+
# @!attribute line2
|
|
172
|
+
# The second line of the address. This might be the floor or room number.
|
|
168
173
|
#
|
|
169
|
-
# @return [String]
|
|
170
|
-
|
|
174
|
+
# @return [String, nil]
|
|
175
|
+
optional :line2, String
|
|
171
176
|
|
|
172
|
-
# @!attribute
|
|
173
|
-
# The
|
|
177
|
+
# @!attribute state
|
|
178
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
179
|
+
# state, province, or region of the address. Required in certain countries.
|
|
174
180
|
#
|
|
175
|
-
# @return [String]
|
|
176
|
-
|
|
181
|
+
# @return [String, nil]
|
|
182
|
+
optional :state, String
|
|
177
183
|
|
|
178
|
-
# @!attribute
|
|
179
|
-
# The
|
|
184
|
+
# @!attribute zip
|
|
185
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
180
186
|
#
|
|
181
187
|
# @return [String, nil]
|
|
182
|
-
optional :
|
|
188
|
+
optional :zip, String
|
|
183
189
|
|
|
184
|
-
# @!method initialize(city:, line1:, state
|
|
190
|
+
# @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
|
|
185
191
|
# Some parameter documentations has been truncated, see
|
|
186
192
|
# {Increase::Models::EntityUpdateParams::Corporation::Address} for more details.
|
|
187
193
|
#
|
|
188
194
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
189
195
|
# are disallowed.
|
|
190
196
|
#
|
|
191
|
-
# @param city [String] The city of the address.
|
|
197
|
+
# @param city [String] The city, district, town, or village of the address.
|
|
198
|
+
#
|
|
199
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
192
200
|
#
|
|
193
201
|
# @param line1 [String] The first line of the address. This is usually the street number and street.
|
|
194
202
|
#
|
|
195
|
-
# @param
|
|
203
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
196
204
|
#
|
|
197
|
-
# @param
|
|
205
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
198
206
|
#
|
|
199
|
-
# @param
|
|
207
|
+
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
200
208
|
end
|
|
201
209
|
end
|
|
202
210
|
|
|
@@ -306,52 +314,60 @@ module Increase
|
|
|
306
314
|
# @see Increase::Models::EntityUpdateParams::NaturalPerson#address
|
|
307
315
|
class Address < Increase::Internal::Type::BaseModel
|
|
308
316
|
# @!attribute city
|
|
309
|
-
# The city of the address.
|
|
317
|
+
# The city, district, town, or village of the address.
|
|
310
318
|
#
|
|
311
319
|
# @return [String]
|
|
312
320
|
required :city, String
|
|
313
321
|
|
|
322
|
+
# @!attribute country
|
|
323
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
324
|
+
#
|
|
325
|
+
# @return [String]
|
|
326
|
+
required :country, String
|
|
327
|
+
|
|
314
328
|
# @!attribute line1
|
|
315
329
|
# The first line of the address. This is usually the street number and street.
|
|
316
330
|
#
|
|
317
331
|
# @return [String]
|
|
318
332
|
required :line1, String
|
|
319
333
|
|
|
320
|
-
# @!attribute
|
|
321
|
-
# The
|
|
322
|
-
# the address.
|
|
334
|
+
# @!attribute line2
|
|
335
|
+
# The second line of the address. This might be the floor or room number.
|
|
323
336
|
#
|
|
324
|
-
# @return [String]
|
|
325
|
-
|
|
337
|
+
# @return [String, nil]
|
|
338
|
+
optional :line2, String
|
|
326
339
|
|
|
327
|
-
# @!attribute
|
|
328
|
-
# The
|
|
340
|
+
# @!attribute state
|
|
341
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
342
|
+
# state, province, or region of the address. Required in certain countries.
|
|
329
343
|
#
|
|
330
|
-
# @return [String]
|
|
331
|
-
|
|
344
|
+
# @return [String, nil]
|
|
345
|
+
optional :state, String
|
|
332
346
|
|
|
333
|
-
# @!attribute
|
|
334
|
-
# The
|
|
347
|
+
# @!attribute zip
|
|
348
|
+
# The ZIP or postal code of the address. Required in certain countries.
|
|
335
349
|
#
|
|
336
350
|
# @return [String, nil]
|
|
337
|
-
optional :
|
|
351
|
+
optional :zip, String
|
|
338
352
|
|
|
339
|
-
# @!method initialize(city:, line1:, state
|
|
353
|
+
# @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
|
|
340
354
|
# Some parameter documentations has been truncated, see
|
|
341
355
|
# {Increase::Models::EntityUpdateParams::NaturalPerson::Address} for more details.
|
|
342
356
|
#
|
|
343
357
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
344
358
|
# are disallowed.
|
|
345
359
|
#
|
|
346
|
-
# @param city [String] The city of the address.
|
|
360
|
+
# @param city [String] The city, district, town, or village of the address.
|
|
361
|
+
#
|
|
362
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
347
363
|
#
|
|
348
364
|
# @param line1 [String] The first line of the address. This is usually the street number and street.
|
|
349
365
|
#
|
|
350
|
-
# @param
|
|
366
|
+
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
351
367
|
#
|
|
352
|
-
# @param
|
|
368
|
+
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
353
369
|
#
|
|
354
|
-
# @param
|
|
370
|
+
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
355
371
|
end
|
|
356
372
|
end
|
|
357
373
|
|
data/lib/increase/version.rb
CHANGED