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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +183 -0
- data/README.md +1 -1
- data/lib/increase/internal/util.rb +1 -2
- data/lib/increase/models/entity.rb +194 -100
- data/lib/increase/models/entity_create_params.rb +185 -99
- data/lib/increase/models/entity_update_params.rb +52 -36
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/entity.rbi +283 -127
- data/rbi/increase/models/entity_create_params.rbi +299 -113
- data/rbi/increase/models/entity_update_params.rbi +70 -42
- data/sig/increase/models/entity.rbs +160 -89
- data/sig/increase/models/entity_create_params.rbs +145 -60
- data/sig/increase/models/entity_update_params.rbs +40 -22
- metadata +2 -2
|
@@ -208,25 +208,25 @@ module Increase
|
|
|
208
208
|
# @return [String, nil]
|
|
209
209
|
required :industry_code, String, nil?: true
|
|
210
210
|
|
|
211
|
+
# @!attribute legal_identifier
|
|
212
|
+
# The legal identifier of the corporation.
|
|
213
|
+
#
|
|
214
|
+
# @return [Increase::Models::Entity::Corporation::LegalIdentifier, nil]
|
|
215
|
+
required :legal_identifier, -> { Increase::Entity::Corporation::LegalIdentifier }, nil?: true
|
|
216
|
+
|
|
211
217
|
# @!attribute name
|
|
212
218
|
# The legal name of the corporation.
|
|
213
219
|
#
|
|
214
220
|
# @return [String]
|
|
215
221
|
required :name, String
|
|
216
222
|
|
|
217
|
-
# @!attribute tax_identifier
|
|
218
|
-
# The Employer Identification Number (EIN) for the corporation.
|
|
219
|
-
#
|
|
220
|
-
# @return [String, nil]
|
|
221
|
-
required :tax_identifier, String, nil?: true
|
|
222
|
-
|
|
223
223
|
# @!attribute website
|
|
224
224
|
# The website of the corporation.
|
|
225
225
|
#
|
|
226
226
|
# @return [String, nil]
|
|
227
227
|
required :website, String, nil?: true
|
|
228
228
|
|
|
229
|
-
# @!method initialize(address:, beneficial_owners:, email:, incorporation_state:, industry_code:,
|
|
229
|
+
# @!method initialize(address:, beneficial_owners:, email:, incorporation_state:, industry_code:, legal_identifier:, name:, website:)
|
|
230
230
|
# Some parameter documentations has been truncated, see
|
|
231
231
|
# {Increase::Models::Entity::Corporation} for more details.
|
|
232
232
|
#
|
|
@@ -243,19 +243,25 @@ module Increase
|
|
|
243
243
|
#
|
|
244
244
|
# @param industry_code [String, nil] The numeric North American Industry Classification System (NAICS) code submitted
|
|
245
245
|
#
|
|
246
|
-
# @param
|
|
246
|
+
# @param legal_identifier [Increase::Models::Entity::Corporation::LegalIdentifier, nil] The legal identifier of the corporation.
|
|
247
247
|
#
|
|
248
|
-
# @param
|
|
248
|
+
# @param name [String] The legal name of the corporation.
|
|
249
249
|
#
|
|
250
250
|
# @param website [String, nil] The website of the corporation.
|
|
251
251
|
|
|
252
252
|
# @see Increase::Models::Entity::Corporation#address
|
|
253
253
|
class Address < Increase::Internal::Type::BaseModel
|
|
254
254
|
# @!attribute city
|
|
255
|
-
# The city of the address.
|
|
255
|
+
# The city, district, town, or village of the address.
|
|
256
|
+
#
|
|
257
|
+
# @return [String, nil]
|
|
258
|
+
required :city, String, nil?: true
|
|
259
|
+
|
|
260
|
+
# @!attribute country
|
|
261
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
256
262
|
#
|
|
257
263
|
# @return [String]
|
|
258
|
-
required :
|
|
264
|
+
required :country, String
|
|
259
265
|
|
|
260
266
|
# @!attribute line1
|
|
261
267
|
# The first line of the address.
|
|
@@ -270,33 +276,35 @@ module Increase
|
|
|
270
276
|
required :line2, String, nil?: true
|
|
271
277
|
|
|
272
278
|
# @!attribute state
|
|
273
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the
|
|
274
|
-
# the address.
|
|
279
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
280
|
+
# state, province, or region of the address.
|
|
275
281
|
#
|
|
276
|
-
# @return [String]
|
|
277
|
-
required :state, String
|
|
282
|
+
# @return [String, nil]
|
|
283
|
+
required :state, String, nil?: true
|
|
278
284
|
|
|
279
285
|
# @!attribute zip
|
|
280
|
-
# The ZIP code of the address.
|
|
286
|
+
# The ZIP or postal code of the address.
|
|
281
287
|
#
|
|
282
|
-
# @return [String]
|
|
283
|
-
required :zip, String
|
|
288
|
+
# @return [String, nil]
|
|
289
|
+
required :zip, String, nil?: true
|
|
284
290
|
|
|
285
|
-
# @!method initialize(city:, line1:, line2:, state:, zip:)
|
|
291
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
286
292
|
# Some parameter documentations has been truncated, see
|
|
287
293
|
# {Increase::Models::Entity::Corporation::Address} for more details.
|
|
288
294
|
#
|
|
289
295
|
# The corporation's address.
|
|
290
296
|
#
|
|
291
|
-
# @param city [String] The city of the address.
|
|
297
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
298
|
+
#
|
|
299
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
292
300
|
#
|
|
293
301
|
# @param line1 [String] The first line of the address.
|
|
294
302
|
#
|
|
295
303
|
# @param line2 [String, nil] The second line of the address.
|
|
296
304
|
#
|
|
297
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state
|
|
305
|
+
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
298
306
|
#
|
|
299
|
-
# @param zip [String] The ZIP code of the address.
|
|
307
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
300
308
|
end
|
|
301
309
|
|
|
302
310
|
class BeneficialOwner < Increase::Internal::Type::BaseModel
|
|
@@ -501,6 +509,44 @@ module Increase
|
|
|
501
509
|
# @return [Array<Symbol>]
|
|
502
510
|
end
|
|
503
511
|
end
|
|
512
|
+
|
|
513
|
+
# @see Increase::Models::Entity::Corporation#legal_identifier
|
|
514
|
+
class LegalIdentifier < Increase::Internal::Type::BaseModel
|
|
515
|
+
# @!attribute category
|
|
516
|
+
# The category of the legal identifier.
|
|
517
|
+
#
|
|
518
|
+
# @return [Symbol, Increase::Models::Entity::Corporation::LegalIdentifier::Category]
|
|
519
|
+
required :category, enum: -> { Increase::Entity::Corporation::LegalIdentifier::Category }
|
|
520
|
+
|
|
521
|
+
# @!attribute value
|
|
522
|
+
# The identifier of the legal identifier.
|
|
523
|
+
#
|
|
524
|
+
# @return [String]
|
|
525
|
+
required :value, String
|
|
526
|
+
|
|
527
|
+
# @!method initialize(category:, value:)
|
|
528
|
+
# The legal identifier of the corporation.
|
|
529
|
+
#
|
|
530
|
+
# @param category [Symbol, Increase::Models::Entity::Corporation::LegalIdentifier::Category] The category of the legal identifier.
|
|
531
|
+
#
|
|
532
|
+
# @param value [String] The identifier of the legal identifier.
|
|
533
|
+
|
|
534
|
+
# The category of the legal identifier.
|
|
535
|
+
#
|
|
536
|
+
# @see Increase::Models::Entity::Corporation::LegalIdentifier#category
|
|
537
|
+
module Category
|
|
538
|
+
extend Increase::Internal::Type::Enum
|
|
539
|
+
|
|
540
|
+
# The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
|
|
541
|
+
US_EMPLOYER_IDENTIFICATION_NUMBER = :us_employer_identification_number
|
|
542
|
+
|
|
543
|
+
# A legal identifier issued by a foreign government, like a tax identification number or registration number.
|
|
544
|
+
OTHER = :other
|
|
545
|
+
|
|
546
|
+
# @!method self.values
|
|
547
|
+
# @return [Array<Symbol>]
|
|
548
|
+
end
|
|
549
|
+
end
|
|
504
550
|
end
|
|
505
551
|
|
|
506
552
|
# @see Increase::Models::Entity#government_authority
|
|
@@ -561,10 +607,16 @@ module Increase
|
|
|
561
607
|
# @see Increase::Models::Entity::GovernmentAuthority#address
|
|
562
608
|
class Address < Increase::Internal::Type::BaseModel
|
|
563
609
|
# @!attribute city
|
|
564
|
-
# The city of the address.
|
|
610
|
+
# The city, district, town, or village of the address.
|
|
611
|
+
#
|
|
612
|
+
# @return [String, nil]
|
|
613
|
+
required :city, String, nil?: true
|
|
614
|
+
|
|
615
|
+
# @!attribute country
|
|
616
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
565
617
|
#
|
|
566
618
|
# @return [String]
|
|
567
|
-
required :
|
|
619
|
+
required :country, String
|
|
568
620
|
|
|
569
621
|
# @!attribute line1
|
|
570
622
|
# The first line of the address.
|
|
@@ -579,33 +631,35 @@ module Increase
|
|
|
579
631
|
required :line2, String, nil?: true
|
|
580
632
|
|
|
581
633
|
# @!attribute state
|
|
582
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the
|
|
583
|
-
# the address.
|
|
634
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
635
|
+
# state, province, or region of the address.
|
|
584
636
|
#
|
|
585
|
-
# @return [String]
|
|
586
|
-
required :state, String
|
|
637
|
+
# @return [String, nil]
|
|
638
|
+
required :state, String, nil?: true
|
|
587
639
|
|
|
588
640
|
# @!attribute zip
|
|
589
|
-
# The ZIP code of the address.
|
|
641
|
+
# The ZIP or postal code of the address.
|
|
590
642
|
#
|
|
591
|
-
# @return [String]
|
|
592
|
-
required :zip, String
|
|
643
|
+
# @return [String, nil]
|
|
644
|
+
required :zip, String, nil?: true
|
|
593
645
|
|
|
594
|
-
# @!method initialize(city:, line1:, line2:, state:, zip:)
|
|
646
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
595
647
|
# Some parameter documentations has been truncated, see
|
|
596
648
|
# {Increase::Models::Entity::GovernmentAuthority::Address} for more details.
|
|
597
649
|
#
|
|
598
650
|
# The government authority's address.
|
|
599
651
|
#
|
|
600
|
-
# @param city [String] The city of the address.
|
|
652
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
653
|
+
#
|
|
654
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
601
655
|
#
|
|
602
656
|
# @param line1 [String] The first line of the address.
|
|
603
657
|
#
|
|
604
658
|
# @param line2 [String, nil] The second line of the address.
|
|
605
659
|
#
|
|
606
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state
|
|
660
|
+
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
607
661
|
#
|
|
608
|
-
# @param zip [String] The ZIP code of the address.
|
|
662
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
609
663
|
end
|
|
610
664
|
|
|
611
665
|
class AuthorizedPerson < Increase::Internal::Type::BaseModel
|
|
@@ -708,10 +762,16 @@ module Increase
|
|
|
708
762
|
# @see Increase::Models::Entity::Joint::Individual#address
|
|
709
763
|
class Address < Increase::Internal::Type::BaseModel
|
|
710
764
|
# @!attribute city
|
|
711
|
-
# The city of the address.
|
|
765
|
+
# The city, district, town, or village of the address.
|
|
766
|
+
#
|
|
767
|
+
# @return [String, nil]
|
|
768
|
+
required :city, String, nil?: true
|
|
769
|
+
|
|
770
|
+
# @!attribute country
|
|
771
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
712
772
|
#
|
|
713
773
|
# @return [String]
|
|
714
|
-
required :
|
|
774
|
+
required :country, String
|
|
715
775
|
|
|
716
776
|
# @!attribute line1
|
|
717
777
|
# The first line of the address.
|
|
@@ -726,33 +786,35 @@ module Increase
|
|
|
726
786
|
required :line2, String, nil?: true
|
|
727
787
|
|
|
728
788
|
# @!attribute state
|
|
729
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the
|
|
730
|
-
# the address.
|
|
789
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
790
|
+
# state, province, or region of the address.
|
|
731
791
|
#
|
|
732
|
-
# @return [String]
|
|
733
|
-
required :state, String
|
|
792
|
+
# @return [String, nil]
|
|
793
|
+
required :state, String, nil?: true
|
|
734
794
|
|
|
735
795
|
# @!attribute zip
|
|
736
|
-
# The ZIP code of the address.
|
|
796
|
+
# The ZIP or postal code of the address.
|
|
737
797
|
#
|
|
738
|
-
# @return [String]
|
|
739
|
-
required :zip, String
|
|
798
|
+
# @return [String, nil]
|
|
799
|
+
required :zip, String, nil?: true
|
|
740
800
|
|
|
741
|
-
# @!method initialize(city:, line1:, line2:, state:, zip:)
|
|
801
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
742
802
|
# Some parameter documentations has been truncated, see
|
|
743
803
|
# {Increase::Models::Entity::Joint::Individual::Address} for more details.
|
|
744
804
|
#
|
|
745
805
|
# The person's address.
|
|
746
806
|
#
|
|
747
|
-
# @param city [String] The city of the address.
|
|
807
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
808
|
+
#
|
|
809
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
748
810
|
#
|
|
749
811
|
# @param line1 [String] The first line of the address.
|
|
750
812
|
#
|
|
751
813
|
# @param line2 [String, nil] The second line of the address.
|
|
752
814
|
#
|
|
753
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state
|
|
815
|
+
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
754
816
|
#
|
|
755
|
-
# @param zip [String] The ZIP code of the address.
|
|
817
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
756
818
|
end
|
|
757
819
|
|
|
758
820
|
# @see Increase::Models::Entity::Joint::Individual#identification
|
|
@@ -851,10 +913,16 @@ module Increase
|
|
|
851
913
|
# @see Increase::Models::Entity::NaturalPerson#address
|
|
852
914
|
class Address < Increase::Internal::Type::BaseModel
|
|
853
915
|
# @!attribute city
|
|
854
|
-
# The city of the address.
|
|
916
|
+
# The city, district, town, or village of the address.
|
|
917
|
+
#
|
|
918
|
+
# @return [String, nil]
|
|
919
|
+
required :city, String, nil?: true
|
|
920
|
+
|
|
921
|
+
# @!attribute country
|
|
922
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
855
923
|
#
|
|
856
924
|
# @return [String]
|
|
857
|
-
required :
|
|
925
|
+
required :country, String
|
|
858
926
|
|
|
859
927
|
# @!attribute line1
|
|
860
928
|
# The first line of the address.
|
|
@@ -869,33 +937,35 @@ module Increase
|
|
|
869
937
|
required :line2, String, nil?: true
|
|
870
938
|
|
|
871
939
|
# @!attribute state
|
|
872
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the
|
|
873
|
-
# the address.
|
|
940
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
941
|
+
# state, province, or region of the address.
|
|
874
942
|
#
|
|
875
|
-
# @return [String]
|
|
876
|
-
required :state, String
|
|
943
|
+
# @return [String, nil]
|
|
944
|
+
required :state, String, nil?: true
|
|
877
945
|
|
|
878
946
|
# @!attribute zip
|
|
879
|
-
# The ZIP code of the address.
|
|
947
|
+
# The ZIP or postal code of the address.
|
|
880
948
|
#
|
|
881
|
-
# @return [String]
|
|
882
|
-
required :zip, String
|
|
949
|
+
# @return [String, nil]
|
|
950
|
+
required :zip, String, nil?: true
|
|
883
951
|
|
|
884
|
-
# @!method initialize(city:, line1:, line2:, state:, zip:)
|
|
952
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
885
953
|
# Some parameter documentations has been truncated, see
|
|
886
954
|
# {Increase::Models::Entity::NaturalPerson::Address} for more details.
|
|
887
955
|
#
|
|
888
956
|
# The person's address.
|
|
889
957
|
#
|
|
890
|
-
# @param city [String] The city of the address.
|
|
958
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
959
|
+
#
|
|
960
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
891
961
|
#
|
|
892
962
|
# @param line1 [String] The first line of the address.
|
|
893
963
|
#
|
|
894
964
|
# @param line2 [String, nil] The second line of the address.
|
|
895
965
|
#
|
|
896
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state
|
|
966
|
+
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
897
967
|
#
|
|
898
|
-
# @param zip [String] The ZIP code of the address.
|
|
968
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
899
969
|
end
|
|
900
970
|
|
|
901
971
|
# @see Increase::Models::Entity::NaturalPerson#identification
|
|
@@ -1199,10 +1269,16 @@ module Increase
|
|
|
1199
1269
|
# @see Increase::Models::Entity::Trust#address
|
|
1200
1270
|
class Address < Increase::Internal::Type::BaseModel
|
|
1201
1271
|
# @!attribute city
|
|
1202
|
-
# The city of the address.
|
|
1272
|
+
# The city, district, town, or village of the address.
|
|
1273
|
+
#
|
|
1274
|
+
# @return [String, nil]
|
|
1275
|
+
required :city, String, nil?: true
|
|
1276
|
+
|
|
1277
|
+
# @!attribute country
|
|
1278
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1203
1279
|
#
|
|
1204
1280
|
# @return [String]
|
|
1205
|
-
required :
|
|
1281
|
+
required :country, String
|
|
1206
1282
|
|
|
1207
1283
|
# @!attribute line1
|
|
1208
1284
|
# The first line of the address.
|
|
@@ -1217,33 +1293,35 @@ module Increase
|
|
|
1217
1293
|
required :line2, String, nil?: true
|
|
1218
1294
|
|
|
1219
1295
|
# @!attribute state
|
|
1220
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the
|
|
1221
|
-
# the address.
|
|
1296
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1297
|
+
# state, province, or region of the address.
|
|
1222
1298
|
#
|
|
1223
|
-
# @return [String]
|
|
1224
|
-
required :state, String
|
|
1299
|
+
# @return [String, nil]
|
|
1300
|
+
required :state, String, nil?: true
|
|
1225
1301
|
|
|
1226
1302
|
# @!attribute zip
|
|
1227
|
-
# The ZIP code of the address.
|
|
1303
|
+
# The ZIP or postal code of the address.
|
|
1228
1304
|
#
|
|
1229
|
-
# @return [String]
|
|
1230
|
-
required :zip, String
|
|
1305
|
+
# @return [String, nil]
|
|
1306
|
+
required :zip, String, nil?: true
|
|
1231
1307
|
|
|
1232
|
-
# @!method initialize(city:, line1:, line2:, state:, zip:)
|
|
1308
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
1233
1309
|
# Some parameter documentations has been truncated, see
|
|
1234
1310
|
# {Increase::Models::Entity::Trust::Address} for more details.
|
|
1235
1311
|
#
|
|
1236
1312
|
# The trust's address.
|
|
1237
1313
|
#
|
|
1238
|
-
# @param city [String] The city of the address.
|
|
1314
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
1315
|
+
#
|
|
1316
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1239
1317
|
#
|
|
1240
1318
|
# @param line1 [String] The first line of the address.
|
|
1241
1319
|
#
|
|
1242
1320
|
# @param line2 [String, nil] The second line of the address.
|
|
1243
1321
|
#
|
|
1244
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state
|
|
1322
|
+
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
1245
1323
|
#
|
|
1246
|
-
# @param zip [String] The ZIP code of the address.
|
|
1324
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
1247
1325
|
end
|
|
1248
1326
|
|
|
1249
1327
|
# Whether the trust is `revocable` or `irrevocable`.
|
|
@@ -1302,10 +1380,16 @@ module Increase
|
|
|
1302
1380
|
# @see Increase::Models::Entity::Trust::Grantor#address
|
|
1303
1381
|
class Address < Increase::Internal::Type::BaseModel
|
|
1304
1382
|
# @!attribute city
|
|
1305
|
-
# The city of the address.
|
|
1383
|
+
# The city, district, town, or village of the address.
|
|
1384
|
+
#
|
|
1385
|
+
# @return [String, nil]
|
|
1386
|
+
required :city, String, nil?: true
|
|
1387
|
+
|
|
1388
|
+
# @!attribute country
|
|
1389
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1306
1390
|
#
|
|
1307
1391
|
# @return [String]
|
|
1308
|
-
required :
|
|
1392
|
+
required :country, String
|
|
1309
1393
|
|
|
1310
1394
|
# @!attribute line1
|
|
1311
1395
|
# The first line of the address.
|
|
@@ -1320,33 +1404,35 @@ module Increase
|
|
|
1320
1404
|
required :line2, String, nil?: true
|
|
1321
1405
|
|
|
1322
1406
|
# @!attribute state
|
|
1323
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the
|
|
1324
|
-
# the address.
|
|
1407
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1408
|
+
# state, province, or region of the address.
|
|
1325
1409
|
#
|
|
1326
|
-
# @return [String]
|
|
1327
|
-
required :state, String
|
|
1410
|
+
# @return [String, nil]
|
|
1411
|
+
required :state, String, nil?: true
|
|
1328
1412
|
|
|
1329
1413
|
# @!attribute zip
|
|
1330
|
-
# The ZIP code of the address.
|
|
1414
|
+
# The ZIP or postal code of the address.
|
|
1331
1415
|
#
|
|
1332
|
-
# @return [String]
|
|
1333
|
-
required :zip, String
|
|
1416
|
+
# @return [String, nil]
|
|
1417
|
+
required :zip, String, nil?: true
|
|
1334
1418
|
|
|
1335
|
-
# @!method initialize(city:, line1:, line2:, state:, zip:)
|
|
1419
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
1336
1420
|
# Some parameter documentations has been truncated, see
|
|
1337
1421
|
# {Increase::Models::Entity::Trust::Grantor::Address} for more details.
|
|
1338
1422
|
#
|
|
1339
1423
|
# The person's address.
|
|
1340
1424
|
#
|
|
1341
|
-
# @param city [String] The city of the address.
|
|
1425
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
1426
|
+
#
|
|
1427
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1342
1428
|
#
|
|
1343
1429
|
# @param line1 [String] The first line of the address.
|
|
1344
1430
|
#
|
|
1345
1431
|
# @param line2 [String, nil] The second line of the address.
|
|
1346
1432
|
#
|
|
1347
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state
|
|
1433
|
+
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
1348
1434
|
#
|
|
1349
|
-
# @param zip [String] The ZIP code of the address.
|
|
1435
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
1350
1436
|
end
|
|
1351
1437
|
|
|
1352
1438
|
# @see Increase::Models::Entity::Trust::Grantor#identification
|
|
@@ -1466,10 +1552,16 @@ module Increase
|
|
|
1466
1552
|
# @see Increase::Models::Entity::Trust::Trustee::Individual#address
|
|
1467
1553
|
class Address < Increase::Internal::Type::BaseModel
|
|
1468
1554
|
# @!attribute city
|
|
1469
|
-
# The city of the address.
|
|
1555
|
+
# The city, district, town, or village of the address.
|
|
1556
|
+
#
|
|
1557
|
+
# @return [String, nil]
|
|
1558
|
+
required :city, String, nil?: true
|
|
1559
|
+
|
|
1560
|
+
# @!attribute country
|
|
1561
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1470
1562
|
#
|
|
1471
1563
|
# @return [String]
|
|
1472
|
-
required :
|
|
1564
|
+
required :country, String
|
|
1473
1565
|
|
|
1474
1566
|
# @!attribute line1
|
|
1475
1567
|
# The first line of the address.
|
|
@@ -1484,34 +1576,36 @@ module Increase
|
|
|
1484
1576
|
required :line2, String, nil?: true
|
|
1485
1577
|
|
|
1486
1578
|
# @!attribute state
|
|
1487
|
-
# The two-letter United States Postal Service (USPS) abbreviation for the
|
|
1488
|
-
# the address.
|
|
1579
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1580
|
+
# state, province, or region of the address.
|
|
1489
1581
|
#
|
|
1490
|
-
# @return [String]
|
|
1491
|
-
required :state, String
|
|
1582
|
+
# @return [String, nil]
|
|
1583
|
+
required :state, String, nil?: true
|
|
1492
1584
|
|
|
1493
1585
|
# @!attribute zip
|
|
1494
|
-
# The ZIP code of the address.
|
|
1586
|
+
# The ZIP or postal code of the address.
|
|
1495
1587
|
#
|
|
1496
|
-
# @return [String]
|
|
1497
|
-
required :zip, String
|
|
1588
|
+
# @return [String, nil]
|
|
1589
|
+
required :zip, String, nil?: true
|
|
1498
1590
|
|
|
1499
|
-
# @!method initialize(city:, line1:, line2:, state:, zip:)
|
|
1591
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
1500
1592
|
# Some parameter documentations has been truncated, see
|
|
1501
1593
|
# {Increase::Models::Entity::Trust::Trustee::Individual::Address} for more
|
|
1502
1594
|
# details.
|
|
1503
1595
|
#
|
|
1504
1596
|
# The person's address.
|
|
1505
1597
|
#
|
|
1506
|
-
# @param city [String] The city of the address.
|
|
1598
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
1599
|
+
#
|
|
1600
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1507
1601
|
#
|
|
1508
1602
|
# @param line1 [String] The first line of the address.
|
|
1509
1603
|
#
|
|
1510
1604
|
# @param line2 [String, nil] The second line of the address.
|
|
1511
1605
|
#
|
|
1512
|
-
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state
|
|
1606
|
+
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
|
|
1513
1607
|
#
|
|
1514
|
-
# @param zip [String] The ZIP code of the address.
|
|
1608
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
1515
1609
|
end
|
|
1516
1610
|
|
|
1517
1611
|
# @see Increase::Models::Entity::Trust::Trustee::Individual#identification
|