increase 1.270.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.
@@ -154,18 +154,19 @@ module Increase
154
154
  required :beneficial_owners,
155
155
  -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Corporation::BeneficialOwner] }
156
156
 
157
+ # @!attribute legal_identifier
158
+ # The legal identifier of the corporation. This is usually the Employer
159
+ # Identification Number (EIN).
160
+ #
161
+ # @return [Increase::Models::EntityCreateParams::Corporation::LegalIdentifier]
162
+ required :legal_identifier, -> { Increase::EntityCreateParams::Corporation::LegalIdentifier }
163
+
157
164
  # @!attribute name
158
165
  # The legal name of the corporation.
159
166
  #
160
167
  # @return [String]
161
168
  required :name, String
162
169
 
163
- # @!attribute tax_identifier
164
- # The Employer Identification Number (EIN) for the corporation.
165
- #
166
- # @return [String]
167
- required :tax_identifier, String
168
-
169
170
  # @!attribute beneficial_ownership_exemption_reason
170
171
  # If the entity is exempt from the requirement to submit beneficial owners,
171
172
  # provide the justification. If a reason is provided, you do not need to submit a
@@ -204,7 +205,7 @@ module Increase
204
205
  # @return [String, nil]
205
206
  optional :website, String
206
207
 
207
- # @!method initialize(address:, beneficial_owners:, name:, tax_identifier:, beneficial_ownership_exemption_reason: nil, email: nil, incorporation_state: nil, industry_code: nil, website: nil)
208
+ # @!method initialize(address:, beneficial_owners:, legal_identifier:, name:, beneficial_ownership_exemption_reason: nil, email: nil, incorporation_state: nil, industry_code: nil, website: nil)
208
209
  # Some parameter documentations has been truncated, see
209
210
  # {Increase::Models::EntityCreateParams::Corporation} for more details.
210
211
  #
@@ -215,9 +216,9 @@ module Increase
215
216
  #
216
217
  # @param beneficial_owners [Array<Increase::Models::EntityCreateParams::Corporation::BeneficialOwner>] The identifying details of each person who owns 25% or more of the business and
217
218
  #
218
- # @param name [String] The legal name of the corporation.
219
+ # @param legal_identifier [Increase::Models::EntityCreateParams::Corporation::LegalIdentifier] The legal identifier of the corporation. This is usually the Employer Identifica
219
220
  #
220
- # @param tax_identifier [String] The Employer Identification Number (EIN) for the corporation.
221
+ # @param name [String] The legal name of the corporation.
221
222
  #
222
223
  # @param beneficial_ownership_exemption_reason [Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason] If the entity is exempt from the requirement to submit beneficial owners, provid
223
224
  #
@@ -232,52 +233,60 @@ module Increase
232
233
  # @see Increase::Models::EntityCreateParams::Corporation#address
233
234
  class Address < Increase::Internal::Type::BaseModel
234
235
  # @!attribute city
235
- # The city of the address.
236
+ # The city, district, town, or village of the address.
236
237
  #
237
238
  # @return [String]
238
239
  required :city, String
239
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
+
240
247
  # @!attribute line1
241
248
  # The first line of the address. This is usually the street number and street.
242
249
  #
243
250
  # @return [String]
244
251
  required :line1, String
245
252
 
246
- # @!attribute state
247
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
248
- # the address.
253
+ # @!attribute line2
254
+ # The second line of the address. This might be the floor or room number.
249
255
  #
250
- # @return [String]
251
- required :state, String
256
+ # @return [String, nil]
257
+ optional :line2, String
252
258
 
253
- # @!attribute zip
254
- # 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.
255
262
  #
256
- # @return [String]
257
- required :zip, String
263
+ # @return [String, nil]
264
+ optional :state, String
258
265
 
259
- # @!attribute line2
260
- # 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.
261
268
  #
262
269
  # @return [String, nil]
263
- optional :line2, String
270
+ optional :zip, String
264
271
 
265
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
272
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
266
273
  # Some parameter documentations has been truncated, see
267
274
  # {Increase::Models::EntityCreateParams::Corporation::Address} for more details.
268
275
  #
269
276
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
270
277
  # are disallowed.
271
278
  #
272
- # @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.
273
282
  #
274
283
  # @param line1 [String] The first line of the address. This is usually the street number and street.
275
284
  #
276
- # @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.
277
286
  #
278
- # @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
279
288
  #
280
- # @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.
281
290
  end
282
291
 
283
292
  class BeneficialOwner < Increase::Internal::Type::BaseModel
@@ -656,6 +665,51 @@ module Increase
656
665
  end
657
666
  end
658
667
 
668
+ # @see Increase::Models::EntityCreateParams::Corporation#legal_identifier
669
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
670
+ # @!attribute value
671
+ # The legal identifier.
672
+ #
673
+ # @return [String]
674
+ required :value, String
675
+
676
+ # @!attribute category
677
+ # The category of the legal identifier. If not provided, the default is
678
+ # `us_employer_identification_number`.
679
+ #
680
+ # @return [Symbol, Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::Category, nil]
681
+ optional :category, enum: -> { Increase::EntityCreateParams::Corporation::LegalIdentifier::Category }
682
+
683
+ # @!method initialize(value:, category: nil)
684
+ # Some parameter documentations has been truncated, see
685
+ # {Increase::Models::EntityCreateParams::Corporation::LegalIdentifier} for more
686
+ # details.
687
+ #
688
+ # The legal identifier of the corporation. This is usually the Employer
689
+ # Identification Number (EIN).
690
+ #
691
+ # @param value [String] The legal identifier.
692
+ #
693
+ # @param category [Symbol, Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::Category] The category of the legal identifier. If not provided, the default is `us_employ
694
+
695
+ # The category of the legal identifier. If not provided, the default is
696
+ # `us_employer_identification_number`.
697
+ #
698
+ # @see Increase::Models::EntityCreateParams::Corporation::LegalIdentifier#category
699
+ module Category
700
+ extend Increase::Internal::Type::Enum
701
+
702
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
703
+ US_EMPLOYER_IDENTIFICATION_NUMBER = :us_employer_identification_number
704
+
705
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
706
+ OTHER = :other
707
+
708
+ # @!method self.values
709
+ # @return [Array<Symbol>]
710
+ end
711
+ end
712
+
659
713
  # If the entity is exempt from the requirement to submit beneficial owners,
660
714
  # provide the justification. If a reason is provided, you do not need to submit a
661
715
  # list of beneficial owners.
@@ -891,37 +945,43 @@ module Increase
891
945
  # @see Increase::Models::EntityCreateParams::Joint::Individual#address
892
946
  class Address < Increase::Internal::Type::BaseModel
893
947
  # @!attribute city
894
- # The city of the address.
948
+ # The city, district, town, or village of the address.
895
949
  #
896
950
  # @return [String]
897
951
  required :city, String
898
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
+
899
959
  # @!attribute line1
900
960
  # The first line of the address. This is usually the street number and street.
901
961
  #
902
962
  # @return [String]
903
963
  required :line1, String
904
964
 
905
- # @!attribute state
906
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
907
- # the address.
965
+ # @!attribute line2
966
+ # The second line of the address. This might be the floor or room number.
908
967
  #
909
- # @return [String]
910
- required :state, String
968
+ # @return [String, nil]
969
+ optional :line2, String
911
970
 
912
- # @!attribute zip
913
- # 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.
914
974
  #
915
- # @return [String]
916
- required :zip, String
975
+ # @return [String, nil]
976
+ optional :state, String
917
977
 
918
- # @!attribute line2
919
- # 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.
920
980
  #
921
981
  # @return [String, nil]
922
- optional :line2, String
982
+ optional :zip, String
923
983
 
924
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
984
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
925
985
  # Some parameter documentations has been truncated, see
926
986
  # {Increase::Models::EntityCreateParams::Joint::Individual::Address} for more
927
987
  # details.
@@ -929,15 +989,17 @@ module Increase
929
989
  # The individual's physical address. Mail receiving locations like PO Boxes and
930
990
  # PMB's are disallowed.
931
991
  #
932
- # @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.
933
995
  #
934
996
  # @param line1 [String] The first line of the address. This is usually the street number and street.
935
997
  #
936
- # @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.
937
999
  #
938
- # @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
939
1001
  #
940
- # @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.
941
1003
  end
942
1004
 
943
1005
  # @see Increase::Models::EntityCreateParams::Joint::Individual#identification
@@ -1209,52 +1271,60 @@ module Increase
1209
1271
  # @see Increase::Models::EntityCreateParams::NaturalPerson#address
1210
1272
  class Address < Increase::Internal::Type::BaseModel
1211
1273
  # @!attribute city
1212
- # The city of the address.
1274
+ # The city, district, town, or village of the address.
1213
1275
  #
1214
1276
  # @return [String]
1215
1277
  required :city, String
1216
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
+
1217
1285
  # @!attribute line1
1218
1286
  # The first line of the address. This is usually the street number and street.
1219
1287
  #
1220
1288
  # @return [String]
1221
1289
  required :line1, String
1222
1290
 
1223
- # @!attribute state
1224
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
1225
- # the address.
1291
+ # @!attribute line2
1292
+ # The second line of the address. This might be the floor or room number.
1226
1293
  #
1227
- # @return [String]
1228
- required :state, String
1294
+ # @return [String, nil]
1295
+ optional :line2, String
1229
1296
 
1230
- # @!attribute zip
1231
- # 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.
1232
1300
  #
1233
- # @return [String]
1234
- required :zip, String
1301
+ # @return [String, nil]
1302
+ optional :state, String
1235
1303
 
1236
- # @!attribute line2
1237
- # 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.
1238
1306
  #
1239
1307
  # @return [String, nil]
1240
- optional :line2, String
1308
+ optional :zip, String
1241
1309
 
1242
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
1310
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
1243
1311
  # Some parameter documentations has been truncated, see
1244
1312
  # {Increase::Models::EntityCreateParams::NaturalPerson::Address} for more details.
1245
1313
  #
1246
1314
  # The individual's physical address. Mail receiving locations like PO Boxes and
1247
1315
  # PMB's are disallowed.
1248
1316
  #
1249
- # @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.
1250
1320
  #
1251
1321
  # @param line1 [String] The first line of the address. This is usually the street number and street.
1252
1322
  #
1253
- # @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.
1254
1324
  #
1255
- # @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
1256
1326
  #
1257
- # @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.
1258
1328
  end
1259
1329
 
1260
1330
  # @see Increase::Models::EntityCreateParams::NaturalPerson#identification
@@ -1840,37 +1910,43 @@ module Increase
1840
1910
  # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual#address
1841
1911
  class Address < Increase::Internal::Type::BaseModel
1842
1912
  # @!attribute city
1843
- # The city of the address.
1913
+ # The city, district, town, or village of the address.
1844
1914
  #
1845
1915
  # @return [String]
1846
1916
  required :city, String
1847
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
+
1848
1924
  # @!attribute line1
1849
1925
  # The first line of the address. This is usually the street number and street.
1850
1926
  #
1851
1927
  # @return [String]
1852
1928
  required :line1, String
1853
1929
 
1854
- # @!attribute state
1855
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
1856
- # the address.
1930
+ # @!attribute line2
1931
+ # The second line of the address. This might be the floor or room number.
1857
1932
  #
1858
- # @return [String]
1859
- required :state, String
1933
+ # @return [String, nil]
1934
+ optional :line2, String
1860
1935
 
1861
- # @!attribute zip
1862
- # 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.
1863
1939
  #
1864
- # @return [String]
1865
- required :zip, String
1940
+ # @return [String, nil]
1941
+ optional :state, String
1866
1942
 
1867
- # @!attribute line2
1868
- # 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.
1869
1945
  #
1870
1946
  # @return [String, nil]
1871
- optional :line2, String
1947
+ optional :zip, String
1872
1948
 
1873
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
1949
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
1874
1950
  # Some parameter documentations has been truncated, see
1875
1951
  # {Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Address} for
1876
1952
  # more details.
@@ -1878,15 +1954,17 @@ module Increase
1878
1954
  # The individual's physical address. Mail receiving locations like PO Boxes and
1879
1955
  # PMB's are disallowed.
1880
1956
  #
1881
- # @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.
1882
1960
  #
1883
1961
  # @param line1 [String] The first line of the address. This is usually the street number and street.
1884
1962
  #
1885
- # @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.
1886
1964
  #
1887
- # @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
1888
1966
  #
1889
- # @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.
1890
1968
  end
1891
1969
 
1892
1970
  # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual#identification
@@ -2159,37 +2237,43 @@ module Increase
2159
2237
  # @see Increase::Models::EntityCreateParams::Trust::Grantor#address
2160
2238
  class Address < Increase::Internal::Type::BaseModel
2161
2239
  # @!attribute city
2162
- # The city of the address.
2240
+ # The city, district, town, or village of the address.
2163
2241
  #
2164
2242
  # @return [String]
2165
2243
  required :city, String
2166
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
+
2167
2251
  # @!attribute line1
2168
2252
  # The first line of the address. This is usually the street number and street.
2169
2253
  #
2170
2254
  # @return [String]
2171
2255
  required :line1, String
2172
2256
 
2173
- # @!attribute state
2174
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
2175
- # the address.
2257
+ # @!attribute line2
2258
+ # The second line of the address. This might be the floor or room number.
2176
2259
  #
2177
- # @return [String]
2178
- required :state, String
2260
+ # @return [String, nil]
2261
+ optional :line2, String
2179
2262
 
2180
- # @!attribute zip
2181
- # 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.
2182
2266
  #
2183
- # @return [String]
2184
- required :zip, String
2267
+ # @return [String, nil]
2268
+ optional :state, String
2185
2269
 
2186
- # @!attribute line2
2187
- # 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.
2188
2272
  #
2189
2273
  # @return [String, nil]
2190
- optional :line2, String
2274
+ optional :zip, String
2191
2275
 
2192
- # @!method initialize(city:, line1:, state:, zip:, line2: nil)
2276
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
2193
2277
  # Some parameter documentations has been truncated, see
2194
2278
  # {Increase::Models::EntityCreateParams::Trust::Grantor::Address} for more
2195
2279
  # details.
@@ -2197,15 +2281,17 @@ module Increase
2197
2281
  # The individual's physical address. Mail receiving locations like PO Boxes and
2198
2282
  # PMB's are disallowed.
2199
2283
  #
2200
- # @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.
2201
2287
  #
2202
2288
  # @param line1 [String] The first line of the address. This is usually the street number and street.
2203
2289
  #
2204
- # @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.
2205
2291
  #
2206
- # @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
2207
2293
  #
2208
- # @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.
2209
2295
  end
2210
2296
 
2211
2297
  # @see Increase::Models::EntityCreateParams::Trust::Grantor#identification