increase 1.289.0 → 1.290.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/models/entity_update_params.rb +230 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/entity_update_params.rbi +424 -0
- data/sig/increase/models/entity_update_params.rbs +191 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f7fff7d2a653221f521036af39abd21ec6bfc8f56be2422e21cfa2ab56c9045e
|
|
4
|
+
data.tar.gz: 10ff07fb3bda8c1c138da395e69da210245aa9de5db703e5227a9f1dd445b0d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec0ce92a291c36ee358b6c2cabb09438b61bb1bca39baf28ec9a5030cc2a1c86b5b92a045efee538508afdcac28bf55fa51d5043069ec4e8411829116e62166d
|
|
7
|
+
data.tar.gz: c379b2eda1183913471152eb5ca61f36aaca954ad0fba209452bf3b9e94763404c976ac42646e1b0e6a716c98e65e358d51d55cb9b2b726335c9451c4842abbe
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.290.0 (2026-04-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.289.0...v1.290.0](https://github.com/Increase/increase-ruby/compare/v1.289.0...v1.290.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([8946493](https://github.com/Increase/increase-ruby/commit/89464937f203db3e01835590524a71cdd8c1897f))
|
|
10
|
+
|
|
3
11
|
## 1.289.0 (2026-04-11)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.288.0...v1.289.0](https://github.com/Increase/increase-ruby/compare/v1.288.0...v1.289.0)
|
data/README.md
CHANGED
|
@@ -334,13 +334,28 @@ module Increase
|
|
|
334
334
|
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Address, nil]
|
|
335
335
|
optional :address, -> { Increase::EntityUpdateParams::NaturalPerson::Address }
|
|
336
336
|
|
|
337
|
+
# @!attribute confirmed_no_us_tax_id
|
|
338
|
+
# The identification method for an individual can only be a passport, driver's
|
|
339
|
+
# license, or other document if you've confirmed the individual does not have a US
|
|
340
|
+
# tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
341
|
+
# Number).
|
|
342
|
+
#
|
|
343
|
+
# @return [Boolean, nil]
|
|
344
|
+
optional :confirmed_no_us_tax_id, Increase::Internal::Type::Boolean
|
|
345
|
+
|
|
346
|
+
# @!attribute identification
|
|
347
|
+
# A means of verifying the person's identity.
|
|
348
|
+
#
|
|
349
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Identification, nil]
|
|
350
|
+
optional :identification, -> { Increase::EntityUpdateParams::NaturalPerson::Identification }
|
|
351
|
+
|
|
337
352
|
# @!attribute name
|
|
338
353
|
# The legal name of the natural person.
|
|
339
354
|
#
|
|
340
355
|
# @return [String, nil]
|
|
341
356
|
optional :name, String
|
|
342
357
|
|
|
343
|
-
# @!method initialize(address: nil, name: nil)
|
|
358
|
+
# @!method initialize(address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil)
|
|
344
359
|
# Some parameter documentations has been truncated, see
|
|
345
360
|
# {Increase::Models::EntityUpdateParams::NaturalPerson} for more details.
|
|
346
361
|
#
|
|
@@ -349,6 +364,10 @@ module Increase
|
|
|
349
364
|
#
|
|
350
365
|
# @param address [Increase::Models::EntityUpdateParams::NaturalPerson::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
351
366
|
#
|
|
367
|
+
# @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic
|
|
368
|
+
#
|
|
369
|
+
# @param identification [Increase::Models::EntityUpdateParams::NaturalPerson::Identification] A means of verifying the person's identity.
|
|
370
|
+
#
|
|
352
371
|
# @param name [String] The legal name of the natural person.
|
|
353
372
|
|
|
354
373
|
# @see Increase::Models::EntityUpdateParams::NaturalPerson#address
|
|
@@ -409,6 +428,216 @@ module Increase
|
|
|
409
428
|
#
|
|
410
429
|
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
411
430
|
end
|
|
431
|
+
|
|
432
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson#identification
|
|
433
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
434
|
+
# @!attribute method_
|
|
435
|
+
# A method that can be used to verify the individual's identity.
|
|
436
|
+
#
|
|
437
|
+
# @return [Symbol, Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Method]
|
|
438
|
+
required :method_,
|
|
439
|
+
enum: -> { Increase::EntityUpdateParams::NaturalPerson::Identification::Method },
|
|
440
|
+
api_name: :method
|
|
441
|
+
|
|
442
|
+
# @!attribute number
|
|
443
|
+
# An identification number that can be used to verify the individual's identity,
|
|
444
|
+
# such as a social security number.
|
|
445
|
+
#
|
|
446
|
+
# @return [String]
|
|
447
|
+
required :number, String
|
|
448
|
+
|
|
449
|
+
# @!attribute drivers_license
|
|
450
|
+
# Information about the United States driver's license used for identification.
|
|
451
|
+
# Required if `method` is equal to `drivers_license`.
|
|
452
|
+
#
|
|
453
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::DriversLicense, nil]
|
|
454
|
+
optional :drivers_license,
|
|
455
|
+
-> { Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense }
|
|
456
|
+
|
|
457
|
+
# @!attribute other
|
|
458
|
+
# Information about the identification document provided. Required if `method` is
|
|
459
|
+
# equal to `other`.
|
|
460
|
+
#
|
|
461
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other, nil]
|
|
462
|
+
optional :other, -> { Increase::EntityUpdateParams::NaturalPerson::Identification::Other }
|
|
463
|
+
|
|
464
|
+
# @!attribute passport
|
|
465
|
+
# Information about the passport used for identification. Required if `method` is
|
|
466
|
+
# equal to `passport`.
|
|
467
|
+
#
|
|
468
|
+
# @return [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport, nil]
|
|
469
|
+
optional :passport, -> { Increase::EntityUpdateParams::NaturalPerson::Identification::Passport }
|
|
470
|
+
|
|
471
|
+
# @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
|
|
472
|
+
# Some parameter documentations has been truncated, see
|
|
473
|
+
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification} for more
|
|
474
|
+
# details.
|
|
475
|
+
#
|
|
476
|
+
# A means of verifying the person's identity.
|
|
477
|
+
#
|
|
478
|
+
# @param method_ [Symbol, Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Method] A method that can be used to verify the individual's identity.
|
|
479
|
+
#
|
|
480
|
+
# @param number [String] An identification number that can be used to verify the individual's identity, s
|
|
481
|
+
#
|
|
482
|
+
# @param drivers_license [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::DriversLicense] Information about the United States driver's license used for identification. Re
|
|
483
|
+
#
|
|
484
|
+
# @param other [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other] Information about the identification document provided. Required if `method` is
|
|
485
|
+
#
|
|
486
|
+
# @param passport [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport] Information about the passport used for identification. Required if `method` is
|
|
487
|
+
|
|
488
|
+
# A method that can be used to verify the individual's identity.
|
|
489
|
+
#
|
|
490
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson::Identification#method_
|
|
491
|
+
module Method
|
|
492
|
+
extend Increase::Internal::Type::Enum
|
|
493
|
+
|
|
494
|
+
# A social security number.
|
|
495
|
+
SOCIAL_SECURITY_NUMBER = :social_security_number
|
|
496
|
+
|
|
497
|
+
# An individual taxpayer identification number (ITIN).
|
|
498
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
|
|
499
|
+
|
|
500
|
+
# A passport number.
|
|
501
|
+
PASSPORT = :passport
|
|
502
|
+
|
|
503
|
+
# A driver's license number.
|
|
504
|
+
DRIVERS_LICENSE = :drivers_license
|
|
505
|
+
|
|
506
|
+
# Another identifying document.
|
|
507
|
+
OTHER = :other
|
|
508
|
+
|
|
509
|
+
# @!method self.values
|
|
510
|
+
# @return [Array<Symbol>]
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson::Identification#drivers_license
|
|
514
|
+
class DriversLicense < Increase::Internal::Type::BaseModel
|
|
515
|
+
# @!attribute expiration_date
|
|
516
|
+
# The driver's license's expiration date in YYYY-MM-DD format.
|
|
517
|
+
#
|
|
518
|
+
# @return [Date]
|
|
519
|
+
required :expiration_date, Date
|
|
520
|
+
|
|
521
|
+
# @!attribute file_id
|
|
522
|
+
# The identifier of the File containing the front of the driver's license.
|
|
523
|
+
#
|
|
524
|
+
# @return [String]
|
|
525
|
+
required :file_id, String
|
|
526
|
+
|
|
527
|
+
# @!attribute state
|
|
528
|
+
# The state that issued the provided driver's license.
|
|
529
|
+
#
|
|
530
|
+
# @return [String]
|
|
531
|
+
required :state, String
|
|
532
|
+
|
|
533
|
+
# @!attribute back_file_id
|
|
534
|
+
# The identifier of the File containing the back of the driver's license.
|
|
535
|
+
#
|
|
536
|
+
# @return [String, nil]
|
|
537
|
+
optional :back_file_id, String
|
|
538
|
+
|
|
539
|
+
# @!method initialize(expiration_date:, file_id:, state:, back_file_id: nil)
|
|
540
|
+
# Information about the United States driver's license used for identification.
|
|
541
|
+
# Required if `method` is equal to `drivers_license`.
|
|
542
|
+
#
|
|
543
|
+
# @param expiration_date [Date] The driver's license's expiration date in YYYY-MM-DD format.
|
|
544
|
+
#
|
|
545
|
+
# @param file_id [String] The identifier of the File containing the front of the driver's license.
|
|
546
|
+
#
|
|
547
|
+
# @param state [String] The state that issued the provided driver's license.
|
|
548
|
+
#
|
|
549
|
+
# @param back_file_id [String] The identifier of the File containing the back of the driver's license.
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson::Identification#other
|
|
553
|
+
class Other < Increase::Internal::Type::BaseModel
|
|
554
|
+
# @!attribute country
|
|
555
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
556
|
+
# document (e.g., `US`).
|
|
557
|
+
#
|
|
558
|
+
# @return [String]
|
|
559
|
+
required :country, String
|
|
560
|
+
|
|
561
|
+
# @!attribute description
|
|
562
|
+
# A description of the document submitted.
|
|
563
|
+
#
|
|
564
|
+
# @return [String]
|
|
565
|
+
required :description, String
|
|
566
|
+
|
|
567
|
+
# @!attribute file_id
|
|
568
|
+
# The identifier of the File containing the front of the document.
|
|
569
|
+
#
|
|
570
|
+
# @return [String]
|
|
571
|
+
required :file_id, String
|
|
572
|
+
|
|
573
|
+
# @!attribute back_file_id
|
|
574
|
+
# The identifier of the File containing the back of the document. Not every
|
|
575
|
+
# document has a reverse side.
|
|
576
|
+
#
|
|
577
|
+
# @return [String, nil]
|
|
578
|
+
optional :back_file_id, String
|
|
579
|
+
|
|
580
|
+
# @!attribute expiration_date
|
|
581
|
+
# The document's expiration date in YYYY-MM-DD format.
|
|
582
|
+
#
|
|
583
|
+
# @return [Date, nil]
|
|
584
|
+
optional :expiration_date, Date
|
|
585
|
+
|
|
586
|
+
# @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil)
|
|
587
|
+
# Some parameter documentations has been truncated, see
|
|
588
|
+
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other} for
|
|
589
|
+
# more details.
|
|
590
|
+
#
|
|
591
|
+
# Information about the identification document provided. Required if `method` is
|
|
592
|
+
# equal to `other`.
|
|
593
|
+
#
|
|
594
|
+
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
|
|
595
|
+
#
|
|
596
|
+
# @param description [String] A description of the document submitted.
|
|
597
|
+
#
|
|
598
|
+
# @param file_id [String] The identifier of the File containing the front of the document.
|
|
599
|
+
#
|
|
600
|
+
# @param back_file_id [String] The identifier of the File containing the back of the document. Not every docume
|
|
601
|
+
#
|
|
602
|
+
# @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format.
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
# @see Increase::Models::EntityUpdateParams::NaturalPerson::Identification#passport
|
|
606
|
+
class Passport < Increase::Internal::Type::BaseModel
|
|
607
|
+
# @!attribute country
|
|
608
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
609
|
+
# document (e.g., `US`).
|
|
610
|
+
#
|
|
611
|
+
# @return [String]
|
|
612
|
+
required :country, String
|
|
613
|
+
|
|
614
|
+
# @!attribute expiration_date
|
|
615
|
+
# The passport's expiration date in YYYY-MM-DD format.
|
|
616
|
+
#
|
|
617
|
+
# @return [Date]
|
|
618
|
+
required :expiration_date, Date
|
|
619
|
+
|
|
620
|
+
# @!attribute file_id
|
|
621
|
+
# The identifier of the File containing the passport.
|
|
622
|
+
#
|
|
623
|
+
# @return [String]
|
|
624
|
+
required :file_id, String
|
|
625
|
+
|
|
626
|
+
# @!method initialize(country:, expiration_date:, file_id:)
|
|
627
|
+
# Some parameter documentations has been truncated, see
|
|
628
|
+
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport}
|
|
629
|
+
# for more details.
|
|
630
|
+
#
|
|
631
|
+
# Information about the passport used for identification. Required if `method` is
|
|
632
|
+
# equal to `passport`.
|
|
633
|
+
#
|
|
634
|
+
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
|
|
635
|
+
#
|
|
636
|
+
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
|
|
637
|
+
#
|
|
638
|
+
# @param file_id [String] The identifier of the File containing the passport.
|
|
639
|
+
end
|
|
640
|
+
end
|
|
412
641
|
end
|
|
413
642
|
|
|
414
643
|
class RiskRating < Increase::Internal::Type::BaseModel
|
data/lib/increase/version.rb
CHANGED
|
@@ -645,6 +645,34 @@ module Increase
|
|
|
645
645
|
end
|
|
646
646
|
attr_writer :address
|
|
647
647
|
|
|
648
|
+
# The identification method for an individual can only be a passport, driver's
|
|
649
|
+
# license, or other document if you've confirmed the individual does not have a US
|
|
650
|
+
# tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
651
|
+
# Number).
|
|
652
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
653
|
+
attr_reader :confirmed_no_us_tax_id
|
|
654
|
+
|
|
655
|
+
sig { params(confirmed_no_us_tax_id: T::Boolean).void }
|
|
656
|
+
attr_writer :confirmed_no_us_tax_id
|
|
657
|
+
|
|
658
|
+
# A means of verifying the person's identity.
|
|
659
|
+
sig do
|
|
660
|
+
returns(
|
|
661
|
+
T.nilable(
|
|
662
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification
|
|
663
|
+
)
|
|
664
|
+
)
|
|
665
|
+
end
|
|
666
|
+
attr_reader :identification
|
|
667
|
+
|
|
668
|
+
sig do
|
|
669
|
+
params(
|
|
670
|
+
identification:
|
|
671
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::OrHash
|
|
672
|
+
).void
|
|
673
|
+
end
|
|
674
|
+
attr_writer :identification
|
|
675
|
+
|
|
648
676
|
# The legal name of the natural person.
|
|
649
677
|
sig { returns(T.nilable(String)) }
|
|
650
678
|
attr_reader :name
|
|
@@ -658,6 +686,9 @@ module Increase
|
|
|
658
686
|
params(
|
|
659
687
|
address:
|
|
660
688
|
Increase::EntityUpdateParams::NaturalPerson::Address::OrHash,
|
|
689
|
+
confirmed_no_us_tax_id: T::Boolean,
|
|
690
|
+
identification:
|
|
691
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::OrHash,
|
|
661
692
|
name: String
|
|
662
693
|
).returns(T.attached_class)
|
|
663
694
|
end
|
|
@@ -665,6 +696,13 @@ module Increase
|
|
|
665
696
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
666
697
|
# are disallowed.
|
|
667
698
|
address: nil,
|
|
699
|
+
# The identification method for an individual can only be a passport, driver's
|
|
700
|
+
# license, or other document if you've confirmed the individual does not have a US
|
|
701
|
+
# tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
702
|
+
# Number).
|
|
703
|
+
confirmed_no_us_tax_id: nil,
|
|
704
|
+
# A means of verifying the person's identity.
|
|
705
|
+
identification: nil,
|
|
668
706
|
# The legal name of the natural person.
|
|
669
707
|
name: nil
|
|
670
708
|
)
|
|
@@ -674,6 +712,9 @@ module Increase
|
|
|
674
712
|
override.returns(
|
|
675
713
|
{
|
|
676
714
|
address: Increase::EntityUpdateParams::NaturalPerson::Address,
|
|
715
|
+
confirmed_no_us_tax_id: T::Boolean,
|
|
716
|
+
identification:
|
|
717
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification,
|
|
677
718
|
name: String
|
|
678
719
|
}
|
|
679
720
|
)
|
|
@@ -768,6 +809,389 @@ module Increase
|
|
|
768
809
|
def to_hash
|
|
769
810
|
end
|
|
770
811
|
end
|
|
812
|
+
|
|
813
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
814
|
+
OrHash =
|
|
815
|
+
T.type_alias do
|
|
816
|
+
T.any(
|
|
817
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification,
|
|
818
|
+
Increase::Internal::AnyHash
|
|
819
|
+
)
|
|
820
|
+
end
|
|
821
|
+
|
|
822
|
+
# A method that can be used to verify the individual's identity.
|
|
823
|
+
sig do
|
|
824
|
+
returns(
|
|
825
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::OrSymbol
|
|
826
|
+
)
|
|
827
|
+
end
|
|
828
|
+
attr_accessor :method_
|
|
829
|
+
|
|
830
|
+
# An identification number that can be used to verify the individual's identity,
|
|
831
|
+
# such as a social security number.
|
|
832
|
+
sig { returns(String) }
|
|
833
|
+
attr_accessor :number
|
|
834
|
+
|
|
835
|
+
# Information about the United States driver's license used for identification.
|
|
836
|
+
# Required if `method` is equal to `drivers_license`.
|
|
837
|
+
sig do
|
|
838
|
+
returns(
|
|
839
|
+
T.nilable(
|
|
840
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense
|
|
841
|
+
)
|
|
842
|
+
)
|
|
843
|
+
end
|
|
844
|
+
attr_reader :drivers_license
|
|
845
|
+
|
|
846
|
+
sig do
|
|
847
|
+
params(
|
|
848
|
+
drivers_license:
|
|
849
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense::OrHash
|
|
850
|
+
).void
|
|
851
|
+
end
|
|
852
|
+
attr_writer :drivers_license
|
|
853
|
+
|
|
854
|
+
# Information about the identification document provided. Required if `method` is
|
|
855
|
+
# equal to `other`.
|
|
856
|
+
sig do
|
|
857
|
+
returns(
|
|
858
|
+
T.nilable(
|
|
859
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Other
|
|
860
|
+
)
|
|
861
|
+
)
|
|
862
|
+
end
|
|
863
|
+
attr_reader :other
|
|
864
|
+
|
|
865
|
+
sig do
|
|
866
|
+
params(
|
|
867
|
+
other:
|
|
868
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Other::OrHash
|
|
869
|
+
).void
|
|
870
|
+
end
|
|
871
|
+
attr_writer :other
|
|
872
|
+
|
|
873
|
+
# Information about the passport used for identification. Required if `method` is
|
|
874
|
+
# equal to `passport`.
|
|
875
|
+
sig do
|
|
876
|
+
returns(
|
|
877
|
+
T.nilable(
|
|
878
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
|
|
879
|
+
)
|
|
880
|
+
)
|
|
881
|
+
end
|
|
882
|
+
attr_reader :passport
|
|
883
|
+
|
|
884
|
+
sig do
|
|
885
|
+
params(
|
|
886
|
+
passport:
|
|
887
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Passport::OrHash
|
|
888
|
+
).void
|
|
889
|
+
end
|
|
890
|
+
attr_writer :passport
|
|
891
|
+
|
|
892
|
+
# A means of verifying the person's identity.
|
|
893
|
+
sig do
|
|
894
|
+
params(
|
|
895
|
+
method_:
|
|
896
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::OrSymbol,
|
|
897
|
+
number: String,
|
|
898
|
+
drivers_license:
|
|
899
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense::OrHash,
|
|
900
|
+
other:
|
|
901
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Other::OrHash,
|
|
902
|
+
passport:
|
|
903
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Passport::OrHash
|
|
904
|
+
).returns(T.attached_class)
|
|
905
|
+
end
|
|
906
|
+
def self.new(
|
|
907
|
+
# A method that can be used to verify the individual's identity.
|
|
908
|
+
method_:,
|
|
909
|
+
# An identification number that can be used to verify the individual's identity,
|
|
910
|
+
# such as a social security number.
|
|
911
|
+
number:,
|
|
912
|
+
# Information about the United States driver's license used for identification.
|
|
913
|
+
# Required if `method` is equal to `drivers_license`.
|
|
914
|
+
drivers_license: nil,
|
|
915
|
+
# Information about the identification document provided. Required if `method` is
|
|
916
|
+
# equal to `other`.
|
|
917
|
+
other: nil,
|
|
918
|
+
# Information about the passport used for identification. Required if `method` is
|
|
919
|
+
# equal to `passport`.
|
|
920
|
+
passport: nil
|
|
921
|
+
)
|
|
922
|
+
end
|
|
923
|
+
|
|
924
|
+
sig do
|
|
925
|
+
override.returns(
|
|
926
|
+
{
|
|
927
|
+
method_:
|
|
928
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::OrSymbol,
|
|
929
|
+
number: String,
|
|
930
|
+
drivers_license:
|
|
931
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense,
|
|
932
|
+
other:
|
|
933
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Other,
|
|
934
|
+
passport:
|
|
935
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
|
|
936
|
+
}
|
|
937
|
+
)
|
|
938
|
+
end
|
|
939
|
+
def to_hash
|
|
940
|
+
end
|
|
941
|
+
|
|
942
|
+
# A method that can be used to verify the individual's identity.
|
|
943
|
+
module Method
|
|
944
|
+
extend Increase::Internal::Type::Enum
|
|
945
|
+
|
|
946
|
+
TaggedSymbol =
|
|
947
|
+
T.type_alias do
|
|
948
|
+
T.all(
|
|
949
|
+
Symbol,
|
|
950
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method
|
|
951
|
+
)
|
|
952
|
+
end
|
|
953
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
954
|
+
|
|
955
|
+
# A social security number.
|
|
956
|
+
SOCIAL_SECURITY_NUMBER =
|
|
957
|
+
T.let(
|
|
958
|
+
:social_security_number,
|
|
959
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::TaggedSymbol
|
|
960
|
+
)
|
|
961
|
+
|
|
962
|
+
# An individual taxpayer identification number (ITIN).
|
|
963
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
|
964
|
+
T.let(
|
|
965
|
+
:individual_taxpayer_identification_number,
|
|
966
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::TaggedSymbol
|
|
967
|
+
)
|
|
968
|
+
|
|
969
|
+
# A passport number.
|
|
970
|
+
PASSPORT =
|
|
971
|
+
T.let(
|
|
972
|
+
:passport,
|
|
973
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::TaggedSymbol
|
|
974
|
+
)
|
|
975
|
+
|
|
976
|
+
# A driver's license number.
|
|
977
|
+
DRIVERS_LICENSE =
|
|
978
|
+
T.let(
|
|
979
|
+
:drivers_license,
|
|
980
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::TaggedSymbol
|
|
981
|
+
)
|
|
982
|
+
|
|
983
|
+
# Another identifying document.
|
|
984
|
+
OTHER =
|
|
985
|
+
T.let(
|
|
986
|
+
:other,
|
|
987
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::TaggedSymbol
|
|
988
|
+
)
|
|
989
|
+
|
|
990
|
+
sig do
|
|
991
|
+
override.returns(
|
|
992
|
+
T::Array[
|
|
993
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Method::TaggedSymbol
|
|
994
|
+
]
|
|
995
|
+
)
|
|
996
|
+
end
|
|
997
|
+
def self.values
|
|
998
|
+
end
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
class DriversLicense < Increase::Internal::Type::BaseModel
|
|
1002
|
+
OrHash =
|
|
1003
|
+
T.type_alias do
|
|
1004
|
+
T.any(
|
|
1005
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense,
|
|
1006
|
+
Increase::Internal::AnyHash
|
|
1007
|
+
)
|
|
1008
|
+
end
|
|
1009
|
+
|
|
1010
|
+
# The driver's license's expiration date in YYYY-MM-DD format.
|
|
1011
|
+
sig { returns(Date) }
|
|
1012
|
+
attr_accessor :expiration_date
|
|
1013
|
+
|
|
1014
|
+
# The identifier of the File containing the front of the driver's license.
|
|
1015
|
+
sig { returns(String) }
|
|
1016
|
+
attr_accessor :file_id
|
|
1017
|
+
|
|
1018
|
+
# The state that issued the provided driver's license.
|
|
1019
|
+
sig { returns(String) }
|
|
1020
|
+
attr_accessor :state
|
|
1021
|
+
|
|
1022
|
+
# The identifier of the File containing the back of the driver's license.
|
|
1023
|
+
sig { returns(T.nilable(String)) }
|
|
1024
|
+
attr_reader :back_file_id
|
|
1025
|
+
|
|
1026
|
+
sig { params(back_file_id: String).void }
|
|
1027
|
+
attr_writer :back_file_id
|
|
1028
|
+
|
|
1029
|
+
# Information about the United States driver's license used for identification.
|
|
1030
|
+
# Required if `method` is equal to `drivers_license`.
|
|
1031
|
+
sig do
|
|
1032
|
+
params(
|
|
1033
|
+
expiration_date: Date,
|
|
1034
|
+
file_id: String,
|
|
1035
|
+
state: String,
|
|
1036
|
+
back_file_id: String
|
|
1037
|
+
).returns(T.attached_class)
|
|
1038
|
+
end
|
|
1039
|
+
def self.new(
|
|
1040
|
+
# The driver's license's expiration date in YYYY-MM-DD format.
|
|
1041
|
+
expiration_date:,
|
|
1042
|
+
# The identifier of the File containing the front of the driver's license.
|
|
1043
|
+
file_id:,
|
|
1044
|
+
# The state that issued the provided driver's license.
|
|
1045
|
+
state:,
|
|
1046
|
+
# The identifier of the File containing the back of the driver's license.
|
|
1047
|
+
back_file_id: nil
|
|
1048
|
+
)
|
|
1049
|
+
end
|
|
1050
|
+
|
|
1051
|
+
sig do
|
|
1052
|
+
override.returns(
|
|
1053
|
+
{
|
|
1054
|
+
expiration_date: Date,
|
|
1055
|
+
file_id: String,
|
|
1056
|
+
state: String,
|
|
1057
|
+
back_file_id: String
|
|
1058
|
+
}
|
|
1059
|
+
)
|
|
1060
|
+
end
|
|
1061
|
+
def to_hash
|
|
1062
|
+
end
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
class Other < Increase::Internal::Type::BaseModel
|
|
1066
|
+
OrHash =
|
|
1067
|
+
T.type_alias do
|
|
1068
|
+
T.any(
|
|
1069
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Other,
|
|
1070
|
+
Increase::Internal::AnyHash
|
|
1071
|
+
)
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
1075
|
+
# document (e.g., `US`).
|
|
1076
|
+
sig { returns(String) }
|
|
1077
|
+
attr_accessor :country
|
|
1078
|
+
|
|
1079
|
+
# A description of the document submitted.
|
|
1080
|
+
sig { returns(String) }
|
|
1081
|
+
attr_accessor :description
|
|
1082
|
+
|
|
1083
|
+
# The identifier of the File containing the front of the document.
|
|
1084
|
+
sig { returns(String) }
|
|
1085
|
+
attr_accessor :file_id
|
|
1086
|
+
|
|
1087
|
+
# The identifier of the File containing the back of the document. Not every
|
|
1088
|
+
# document has a reverse side.
|
|
1089
|
+
sig { returns(T.nilable(String)) }
|
|
1090
|
+
attr_reader :back_file_id
|
|
1091
|
+
|
|
1092
|
+
sig { params(back_file_id: String).void }
|
|
1093
|
+
attr_writer :back_file_id
|
|
1094
|
+
|
|
1095
|
+
# The document's expiration date in YYYY-MM-DD format.
|
|
1096
|
+
sig { returns(T.nilable(Date)) }
|
|
1097
|
+
attr_reader :expiration_date
|
|
1098
|
+
|
|
1099
|
+
sig { params(expiration_date: Date).void }
|
|
1100
|
+
attr_writer :expiration_date
|
|
1101
|
+
|
|
1102
|
+
# Information about the identification document provided. Required if `method` is
|
|
1103
|
+
# equal to `other`.
|
|
1104
|
+
sig do
|
|
1105
|
+
params(
|
|
1106
|
+
country: String,
|
|
1107
|
+
description: String,
|
|
1108
|
+
file_id: String,
|
|
1109
|
+
back_file_id: String,
|
|
1110
|
+
expiration_date: Date
|
|
1111
|
+
).returns(T.attached_class)
|
|
1112
|
+
end
|
|
1113
|
+
def self.new(
|
|
1114
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
1115
|
+
# document (e.g., `US`).
|
|
1116
|
+
country:,
|
|
1117
|
+
# A description of the document submitted.
|
|
1118
|
+
description:,
|
|
1119
|
+
# The identifier of the File containing the front of the document.
|
|
1120
|
+
file_id:,
|
|
1121
|
+
# The identifier of the File containing the back of the document. Not every
|
|
1122
|
+
# document has a reverse side.
|
|
1123
|
+
back_file_id: nil,
|
|
1124
|
+
# The document's expiration date in YYYY-MM-DD format.
|
|
1125
|
+
expiration_date: nil
|
|
1126
|
+
)
|
|
1127
|
+
end
|
|
1128
|
+
|
|
1129
|
+
sig do
|
|
1130
|
+
override.returns(
|
|
1131
|
+
{
|
|
1132
|
+
country: String,
|
|
1133
|
+
description: String,
|
|
1134
|
+
file_id: String,
|
|
1135
|
+
back_file_id: String,
|
|
1136
|
+
expiration_date: Date
|
|
1137
|
+
}
|
|
1138
|
+
)
|
|
1139
|
+
end
|
|
1140
|
+
def to_hash
|
|
1141
|
+
end
|
|
1142
|
+
end
|
|
1143
|
+
|
|
1144
|
+
class Passport < Increase::Internal::Type::BaseModel
|
|
1145
|
+
OrHash =
|
|
1146
|
+
T.type_alias do
|
|
1147
|
+
T.any(
|
|
1148
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Passport,
|
|
1149
|
+
Increase::Internal::AnyHash
|
|
1150
|
+
)
|
|
1151
|
+
end
|
|
1152
|
+
|
|
1153
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
1154
|
+
# document (e.g., `US`).
|
|
1155
|
+
sig { returns(String) }
|
|
1156
|
+
attr_accessor :country
|
|
1157
|
+
|
|
1158
|
+
# The passport's expiration date in YYYY-MM-DD format.
|
|
1159
|
+
sig { returns(Date) }
|
|
1160
|
+
attr_accessor :expiration_date
|
|
1161
|
+
|
|
1162
|
+
# The identifier of the File containing the passport.
|
|
1163
|
+
sig { returns(String) }
|
|
1164
|
+
attr_accessor :file_id
|
|
1165
|
+
|
|
1166
|
+
# Information about the passport used for identification. Required if `method` is
|
|
1167
|
+
# equal to `passport`.
|
|
1168
|
+
sig do
|
|
1169
|
+
params(
|
|
1170
|
+
country: String,
|
|
1171
|
+
expiration_date: Date,
|
|
1172
|
+
file_id: String
|
|
1173
|
+
).returns(T.attached_class)
|
|
1174
|
+
end
|
|
1175
|
+
def self.new(
|
|
1176
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
1177
|
+
# document (e.g., `US`).
|
|
1178
|
+
country:,
|
|
1179
|
+
# The passport's expiration date in YYYY-MM-DD format.
|
|
1180
|
+
expiration_date:,
|
|
1181
|
+
# The identifier of the File containing the passport.
|
|
1182
|
+
file_id:
|
|
1183
|
+
)
|
|
1184
|
+
end
|
|
1185
|
+
|
|
1186
|
+
sig do
|
|
1187
|
+
override.returns(
|
|
1188
|
+
{ country: String, expiration_date: Date, file_id: String }
|
|
1189
|
+
)
|
|
1190
|
+
end
|
|
1191
|
+
def to_hash
|
|
1192
|
+
end
|
|
1193
|
+
end
|
|
1194
|
+
end
|
|
771
1195
|
end
|
|
772
1196
|
|
|
773
1197
|
class RiskRating < Increase::Internal::Type::BaseModel
|
|
@@ -299,6 +299,8 @@ module Increase
|
|
|
299
299
|
type natural_person =
|
|
300
300
|
{
|
|
301
301
|
address: Increase::EntityUpdateParams::NaturalPerson::Address,
|
|
302
|
+
confirmed_no_us_tax_id: bool,
|
|
303
|
+
identification: Increase::EntityUpdateParams::NaturalPerson::Identification,
|
|
302
304
|
name: String
|
|
303
305
|
}
|
|
304
306
|
|
|
@@ -309,17 +311,31 @@ module Increase
|
|
|
309
311
|
Increase::EntityUpdateParams::NaturalPerson::Address
|
|
310
312
|
) -> Increase::EntityUpdateParams::NaturalPerson::Address
|
|
311
313
|
|
|
314
|
+
attr_reader confirmed_no_us_tax_id: bool?
|
|
315
|
+
|
|
316
|
+
def confirmed_no_us_tax_id=: (bool) -> bool
|
|
317
|
+
|
|
318
|
+
attr_reader identification: Increase::EntityUpdateParams::NaturalPerson::Identification?
|
|
319
|
+
|
|
320
|
+
def identification=: (
|
|
321
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification
|
|
322
|
+
) -> Increase::EntityUpdateParams::NaturalPerson::Identification
|
|
323
|
+
|
|
312
324
|
attr_reader name: String?
|
|
313
325
|
|
|
314
326
|
def name=: (String) -> String
|
|
315
327
|
|
|
316
328
|
def initialize: (
|
|
317
329
|
?address: Increase::EntityUpdateParams::NaturalPerson::Address,
|
|
330
|
+
?confirmed_no_us_tax_id: bool,
|
|
331
|
+
?identification: Increase::EntityUpdateParams::NaturalPerson::Identification,
|
|
318
332
|
?name: String
|
|
319
333
|
) -> void
|
|
320
334
|
|
|
321
335
|
def to_hash: -> {
|
|
322
336
|
address: Increase::EntityUpdateParams::NaturalPerson::Address,
|
|
337
|
+
confirmed_no_us_tax_id: bool,
|
|
338
|
+
identification: Increase::EntityUpdateParams::NaturalPerson::Identification,
|
|
323
339
|
name: String
|
|
324
340
|
}
|
|
325
341
|
|
|
@@ -370,6 +386,181 @@ module Increase
|
|
|
370
386
|
zip: String
|
|
371
387
|
}
|
|
372
388
|
end
|
|
389
|
+
|
|
390
|
+
type identification =
|
|
391
|
+
{
|
|
392
|
+
method_: Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_,
|
|
393
|
+
number: String,
|
|
394
|
+
drivers_license: Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense,
|
|
395
|
+
other: Increase::EntityUpdateParams::NaturalPerson::Identification::Other,
|
|
396
|
+
passport: Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
400
|
+
attr_accessor method_: Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_
|
|
401
|
+
|
|
402
|
+
attr_accessor number: String
|
|
403
|
+
|
|
404
|
+
attr_reader drivers_license: Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense?
|
|
405
|
+
|
|
406
|
+
def drivers_license=: (
|
|
407
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense
|
|
408
|
+
) -> Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense
|
|
409
|
+
|
|
410
|
+
attr_reader other: Increase::EntityUpdateParams::NaturalPerson::Identification::Other?
|
|
411
|
+
|
|
412
|
+
def other=: (
|
|
413
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Other
|
|
414
|
+
) -> Increase::EntityUpdateParams::NaturalPerson::Identification::Other
|
|
415
|
+
|
|
416
|
+
attr_reader passport: Increase::EntityUpdateParams::NaturalPerson::Identification::Passport?
|
|
417
|
+
|
|
418
|
+
def passport=: (
|
|
419
|
+
Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
|
|
420
|
+
) -> Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
|
|
421
|
+
|
|
422
|
+
def initialize: (
|
|
423
|
+
method_: Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_,
|
|
424
|
+
number: String,
|
|
425
|
+
?drivers_license: Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense,
|
|
426
|
+
?other: Increase::EntityUpdateParams::NaturalPerson::Identification::Other,
|
|
427
|
+
?passport: Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
|
|
428
|
+
) -> void
|
|
429
|
+
|
|
430
|
+
def to_hash: -> {
|
|
431
|
+
method_: Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_,
|
|
432
|
+
number: String,
|
|
433
|
+
drivers_license: Increase::EntityUpdateParams::NaturalPerson::Identification::DriversLicense,
|
|
434
|
+
other: Increase::EntityUpdateParams::NaturalPerson::Identification::Other,
|
|
435
|
+
passport: Increase::EntityUpdateParams::NaturalPerson::Identification::Passport
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
type method_ =
|
|
439
|
+
:social_security_number
|
|
440
|
+
| :individual_taxpayer_identification_number
|
|
441
|
+
| :passport
|
|
442
|
+
| :drivers_license
|
|
443
|
+
| :other
|
|
444
|
+
|
|
445
|
+
module Method
|
|
446
|
+
extend Increase::Internal::Type::Enum
|
|
447
|
+
|
|
448
|
+
# A social security number.
|
|
449
|
+
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
450
|
+
|
|
451
|
+
# An individual taxpayer identification number (ITIN).
|
|
452
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
|
|
453
|
+
|
|
454
|
+
# A passport number.
|
|
455
|
+
PASSPORT: :passport
|
|
456
|
+
|
|
457
|
+
# A driver's license number.
|
|
458
|
+
DRIVERS_LICENSE: :drivers_license
|
|
459
|
+
|
|
460
|
+
# Another identifying document.
|
|
461
|
+
OTHER: :other
|
|
462
|
+
|
|
463
|
+
def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::NaturalPerson::Identification::method_]
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
type drivers_license =
|
|
467
|
+
{
|
|
468
|
+
expiration_date: Date,
|
|
469
|
+
file_id: String,
|
|
470
|
+
state: String,
|
|
471
|
+
back_file_id: String
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
class DriversLicense < Increase::Internal::Type::BaseModel
|
|
475
|
+
attr_accessor expiration_date: Date
|
|
476
|
+
|
|
477
|
+
attr_accessor file_id: String
|
|
478
|
+
|
|
479
|
+
attr_accessor state: String
|
|
480
|
+
|
|
481
|
+
attr_reader back_file_id: String?
|
|
482
|
+
|
|
483
|
+
def back_file_id=: (String) -> String
|
|
484
|
+
|
|
485
|
+
def initialize: (
|
|
486
|
+
expiration_date: Date,
|
|
487
|
+
file_id: String,
|
|
488
|
+
state: String,
|
|
489
|
+
?back_file_id: String
|
|
490
|
+
) -> void
|
|
491
|
+
|
|
492
|
+
def to_hash: -> {
|
|
493
|
+
expiration_date: Date,
|
|
494
|
+
file_id: String,
|
|
495
|
+
state: String,
|
|
496
|
+
back_file_id: String
|
|
497
|
+
}
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
type other =
|
|
501
|
+
{
|
|
502
|
+
country: String,
|
|
503
|
+
description: String,
|
|
504
|
+
file_id: String,
|
|
505
|
+
back_file_id: String,
|
|
506
|
+
expiration_date: Date
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
class Other < Increase::Internal::Type::BaseModel
|
|
510
|
+
attr_accessor country: String
|
|
511
|
+
|
|
512
|
+
attr_accessor description: String
|
|
513
|
+
|
|
514
|
+
attr_accessor file_id: String
|
|
515
|
+
|
|
516
|
+
attr_reader back_file_id: String?
|
|
517
|
+
|
|
518
|
+
def back_file_id=: (String) -> String
|
|
519
|
+
|
|
520
|
+
attr_reader expiration_date: Date?
|
|
521
|
+
|
|
522
|
+
def expiration_date=: (Date) -> Date
|
|
523
|
+
|
|
524
|
+
def initialize: (
|
|
525
|
+
country: String,
|
|
526
|
+
description: String,
|
|
527
|
+
file_id: String,
|
|
528
|
+
?back_file_id: String,
|
|
529
|
+
?expiration_date: Date
|
|
530
|
+
) -> void
|
|
531
|
+
|
|
532
|
+
def to_hash: -> {
|
|
533
|
+
country: String,
|
|
534
|
+
description: String,
|
|
535
|
+
file_id: String,
|
|
536
|
+
back_file_id: String,
|
|
537
|
+
expiration_date: Date
|
|
538
|
+
}
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
type passport =
|
|
542
|
+
{ country: String, expiration_date: Date, file_id: String }
|
|
543
|
+
|
|
544
|
+
class Passport < Increase::Internal::Type::BaseModel
|
|
545
|
+
attr_accessor country: String
|
|
546
|
+
|
|
547
|
+
attr_accessor expiration_date: Date
|
|
548
|
+
|
|
549
|
+
attr_accessor file_id: String
|
|
550
|
+
|
|
551
|
+
def initialize: (
|
|
552
|
+
country: String,
|
|
553
|
+
expiration_date: Date,
|
|
554
|
+
file_id: String
|
|
555
|
+
) -> void
|
|
556
|
+
|
|
557
|
+
def to_hash: -> {
|
|
558
|
+
country: String,
|
|
559
|
+
expiration_date: Date,
|
|
560
|
+
file_id: String
|
|
561
|
+
}
|
|
562
|
+
end
|
|
563
|
+
end
|
|
373
564
|
end
|
|
374
565
|
|
|
375
566
|
type risk_rating =
|