increase 1.349.0 → 1.350.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.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_number.rb +3 -3
  4. data/lib/increase/models/ach_transfer.rb +12 -12
  5. data/lib/increase/models/balance_lookup.rb +1 -1
  6. data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
  7. data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
  8. data/lib/increase/models/card_dispute.rb +9 -1
  9. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
  10. data/lib/increase/models/card_payment.rb +58 -58
  11. data/lib/increase/models/card_purchase_supplement.rb +9 -1
  12. data/lib/increase/models/card_token_capabilities.rb +2 -2
  13. data/lib/increase/models/check_deposit.rb +9 -9
  14. data/lib/increase/models/check_transfer.rb +2 -2
  15. data/lib/increase/models/check_transfer_create_params.rb +9 -4
  16. data/lib/increase/models/declined_transaction.rb +12 -9
  17. data/lib/increase/models/digital_wallet_token.rb +9 -1
  18. data/lib/increase/models/entity.rb +5 -5
  19. data/lib/increase/models/entity_create_params.rb +332 -29
  20. data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
  21. data/lib/increase/models/entity_update_params.rb +472 -15
  22. data/lib/increase/models/fednow_transfer.rb +115 -4
  23. data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
  24. data/lib/increase/models/inbound_ach_transfer.rb +2 -2
  25. data/lib/increase/models/inbound_check_deposit.rb +2 -2
  26. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  27. data/lib/increase/models/inbound_mail_item.rb +14 -1
  28. data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
  29. data/lib/increase/models/inbound_wire_transfer.rb +4 -4
  30. data/lib/increase/models/intrafi_exclusion.rb +4 -4
  31. data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
  32. data/lib/increase/models/pending_transaction.rb +13 -13
  33. data/lib/increase/models/pending_transaction_list_params.rb +4 -6
  34. data/lib/increase/models/physical_card.rb +9 -1
  35. data/lib/increase/models/real_time_decision.rb +18 -18
  36. data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
  37. data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
  38. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
  39. data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
  40. data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
  41. data/lib/increase/models/simulations/program_create_params.rb +14 -3
  42. data/lib/increase/models/transaction.rb +141 -17
  43. data/lib/increase/models/transaction_list_params.rb +3 -0
  44. data/lib/increase/models/wire_drawdown_request.rb +12 -1
  45. data/lib/increase/models/wire_transfer_create_params.rb +2 -2
  46. data/lib/increase/resources/cards.rb +2 -2
  47. data/lib/increase/resources/check_transfers.rb +1 -1
  48. data/lib/increase/resources/entities.rb +10 -2
  49. data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
  50. data/lib/increase/resources/lockbox_recipients.rb +1 -1
  51. data/lib/increase/resources/simulations/card_authentications.rb +1 -1
  52. data/lib/increase/resources/simulations/card_disputes.rb +2 -2
  53. data/lib/increase/resources/simulations/interest_payments.rb +1 -1
  54. data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
  55. data/lib/increase/resources/simulations/physical_cards.rb +2 -2
  56. data/lib/increase/resources/simulations/programs.rb +6 -2
  57. data/lib/increase/resources/wire_transfers.rb +1 -1
  58. data/lib/increase/version.rb +1 -1
  59. data/rbi/increase/models/account_number.rbi +3 -3
  60. data/rbi/increase/models/ach_transfer.rbi +12 -12
  61. data/rbi/increase/models/balance_lookup.rbi +1 -1
  62. data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
  63. data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
  64. data/rbi/increase/models/card_dispute.rbi +8 -0
  65. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
  66. data/rbi/increase/models/card_payment.rbi +58 -58
  67. data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
  68. data/rbi/increase/models/card_token_capabilities.rbi +2 -2
  69. data/rbi/increase/models/check_deposit.rbi +9 -9
  70. data/rbi/increase/models/check_transfer.rbi +2 -2
  71. data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
  72. data/rbi/increase/models/declined_transaction.rbi +16 -9
  73. data/rbi/increase/models/digital_wallet_token.rbi +8 -0
  74. data/rbi/increase/models/entity.rbi +5 -5
  75. data/rbi/increase/models/entity_create_params.rbi +547 -28
  76. data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
  77. data/rbi/increase/models/entity_update_params.rbi +814 -14
  78. data/rbi/increase/models/fednow_transfer.rbi +213 -7
  79. data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
  80. data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
  81. data/rbi/increase/models/inbound_check_deposit.rbi +2 -2
  82. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  83. data/rbi/increase/models/inbound_mail_item.rbi +12 -0
  84. data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
  85. data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
  86. data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
  87. data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
  88. data/rbi/increase/models/pending_transaction.rbi +13 -13
  89. data/rbi/increase/models/pending_transaction_list_params.rbi +4 -6
  90. data/rbi/increase/models/physical_card.rbi +8 -0
  91. data/rbi/increase/models/real_time_decision.rbi +18 -18
  92. data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
  93. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
  94. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
  95. data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
  96. data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
  97. data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
  98. data/rbi/increase/models/transaction.rbi +260 -16
  99. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  100. data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
  101. data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
  102. data/rbi/increase/resources/cards.rbi +2 -2
  103. data/rbi/increase/resources/check_transfers.rbi +1 -1
  104. data/rbi/increase/resources/entities.rbi +10 -0
  105. data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
  106. data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
  107. data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
  108. data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
  109. data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
  110. data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
  111. data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
  112. data/rbi/increase/resources/simulations/programs.rbi +5 -1
  113. data/rbi/increase/resources/wire_transfers.rbi +1 -1
  114. data/sig/increase/models/card_dispute.rbs +5 -0
  115. data/sig/increase/models/card_purchase_supplement.rbs +5 -0
  116. data/sig/increase/models/declined_transaction.rbs +4 -0
  117. data/sig/increase/models/digital_wallet_token.rbs +5 -0
  118. data/sig/increase/models/entity.rbs +3 -3
  119. data/sig/increase/models/entity_create_params.rbs +232 -1
  120. data/sig/increase/models/entity_update_params.rbs +366 -0
  121. data/sig/increase/models/fednow_transfer.rbs +113 -4
  122. data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
  123. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  124. data/sig/increase/models/inbound_mail_item.rbs +5 -0
  125. data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
  126. data/sig/increase/models/physical_card.rbs +5 -0
  127. data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
  128. data/sig/increase/models/simulations/program_create_params.rbs +7 -0
  129. data/sig/increase/models/transaction.rbs +113 -0
  130. data/sig/increase/models/transaction_list_params.rbs +4 -0
  131. data/sig/increase/models/wire_drawdown_request.rbs +5 -0
  132. data/sig/increase/resources/entities.rbs +2 -0
  133. data/sig/increase/resources/simulations/programs.rbs +1 -0
  134. metadata +2 -2
@@ -49,6 +49,13 @@ module Increase
49
49
  # @return [Increase::Models::EntityUpdateParams::RiskRating, nil]
50
50
  optional :risk_rating, -> { Increase::EntityUpdateParams::RiskRating }
51
51
 
52
+ # @!attribute sole_proprietorship
53
+ # Details of the sole proprietorship entity to update. If you specify this
54
+ # parameter and the entity is not a sole proprietorship, the request will fail.
55
+ #
56
+ # @return [Increase::Models::EntityUpdateParams::SoleProprietorship, nil]
57
+ optional :sole_proprietorship, -> { Increase::EntityUpdateParams::SoleProprietorship }
58
+
52
59
  # @!attribute terms_agreements
53
60
  # New terms that the Entity agreed to. Not all programs are required to submit
54
61
  # this data. This will not archive previously submitted terms.
@@ -72,7 +79,7 @@ module Increase
72
79
  # @return [Increase::Models::EntityUpdateParams::Trust, nil]
73
80
  optional :trust, -> { Increase::EntityUpdateParams::Trust }
74
81
 
75
- # @!method initialize(entity_id:, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
82
+ # @!method initialize(entity_id:, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, sole_proprietorship: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
76
83
  # @param entity_id [String] The entity identifier.
77
84
  #
78
85
  # @param corporation [Increase::Models::EntityUpdateParams::Corporation]
@@ -96,6 +103,10 @@ module Increase
96
103
  # An assessment of the entity’s potential risk of involvement in financial crimes,
97
104
  # such as money laundering.
98
105
  #
106
+ # @param sole_proprietorship [Increase::Models::EntityUpdateParams::SoleProprietorship]
107
+ # Details of the sole proprietorship entity to update. If you specify this
108
+ # parameter and the entity is not a sole proprietorship, the request will fail.
109
+ #
99
110
  # @param terms_agreements [Array<Increase::Models::EntityUpdateParams::TermsAgreement>]
100
111
  # New terms that the Entity agreed to. Not all programs are required to submit
101
112
  # this data. This will not archive previously submitted terms.
@@ -509,8 +520,7 @@ module Increase
509
520
  # An identification number that can be used to verify the individual's identity,
510
521
  # such as a social security number. For Social Security Numbers and Individual
511
522
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
512
- # separators. When testing in sandbox, use one of our
513
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
523
+ # separators.
514
524
  #
515
525
  # @return [String]
516
526
  required :number, String
@@ -549,8 +559,7 @@ module Increase
549
559
  # An identification number that can be used to verify the individual's identity,
550
560
  # such as a social security number. For Social Security Numbers and Individual
551
561
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
552
- # separators. When testing in sandbox, use one of our
553
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
562
+ # separators.
554
563
  #
555
564
  # @param drivers_license [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::DriversLicense]
556
565
  # Information about the United States driver's license used for identification.
@@ -764,6 +773,458 @@ module Increase
764
773
  end
765
774
  end
766
775
 
776
+ class SoleProprietorship < Increase::Internal::Type::BaseModel
777
+ # @!attribute address
778
+ # The sole proprietorship's business address. Mail receiving locations like PO
779
+ # Boxes and PMB's are disallowed.
780
+ #
781
+ # @return [Increase::Models::EntityUpdateParams::SoleProprietorship::Address, nil]
782
+ optional :address, -> { Increase::EntityUpdateParams::SoleProprietorship::Address }
783
+
784
+ # @!attribute email
785
+ # An email address for the sole proprietorship. Not every program requires an
786
+ # email for submitted Entities.
787
+ #
788
+ # @return [String, nil]
789
+ optional :email, String
790
+
791
+ # @!attribute industry_code
792
+ # The North American Industry Classification System (NAICS) code for the sole
793
+ # proprietorship's primary line of business. This is a number, like `5132` for
794
+ # `Software Publishers`. A full list of classification codes is available
795
+ # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
796
+ #
797
+ # @return [String, nil]
798
+ optional :industry_code, String
799
+
800
+ # @!attribute sole_proprietor
801
+ # Details of the individual who operates the sole proprietorship.
802
+ #
803
+ # @return [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor, nil]
804
+ optional :sole_proprietor, -> { Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor }
805
+
806
+ # @!attribute tax_identifier
807
+ # The United States Employer Identification Number (EIN) for the sole
808
+ # proprietorship. Submit nine digits with no dashes or other separators.
809
+ #
810
+ # @return [String, nil]
811
+ optional :tax_identifier, String
812
+
813
+ # @!attribute website
814
+ # A website for the sole proprietorship. Not every program requires a website for
815
+ # submitted Entities.
816
+ #
817
+ # @return [String, nil]
818
+ optional :website, String
819
+
820
+ # @!method initialize(address: nil, email: nil, industry_code: nil, sole_proprietor: nil, tax_identifier: nil, website: nil)
821
+ # Details of the sole proprietorship entity to update. If you specify this
822
+ # parameter and the entity is not a sole proprietorship, the request will fail.
823
+ #
824
+ # @param address [Increase::Models::EntityUpdateParams::SoleProprietorship::Address]
825
+ # The sole proprietorship's business address. Mail receiving locations like PO
826
+ # Boxes and PMB's are disallowed.
827
+ #
828
+ # @param email [String]
829
+ # An email address for the sole proprietorship. Not every program requires an
830
+ # email for submitted Entities.
831
+ #
832
+ # @param industry_code [String]
833
+ # The North American Industry Classification System (NAICS) code for the sole
834
+ # proprietorship's primary line of business. This is a number, like `5132` for
835
+ # `Software Publishers`. A full list of classification codes is available
836
+ # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
837
+ #
838
+ # @param sole_proprietor [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor]
839
+ # Details of the individual who operates the sole proprietorship.
840
+ #
841
+ # @param tax_identifier [String]
842
+ # The United States Employer Identification Number (EIN) for the sole
843
+ # proprietorship. Submit nine digits with no dashes or other separators.
844
+ #
845
+ # @param website [String]
846
+ # A website for the sole proprietorship. Not every program requires a website for
847
+ # submitted Entities.
848
+
849
+ # @see Increase::Models::EntityUpdateParams::SoleProprietorship#address
850
+ class Address < Increase::Internal::Type::BaseModel
851
+ # @!attribute city
852
+ # The city of the address.
853
+ #
854
+ # @return [String]
855
+ required :city, String
856
+
857
+ # @!attribute line1
858
+ # The first line of the address. This is usually the street number and street.
859
+ #
860
+ # @return [String]
861
+ required :line1, String
862
+
863
+ # @!attribute state
864
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
865
+ # the address.
866
+ #
867
+ # @return [String]
868
+ required :state, String
869
+
870
+ # @!attribute zip
871
+ # The ZIP code of the address.
872
+ #
873
+ # @return [String]
874
+ required :zip, String
875
+
876
+ # @!attribute line2
877
+ # The second line of the address. This might be the floor or room number.
878
+ #
879
+ # @return [String, nil]
880
+ optional :line2, String
881
+
882
+ # @!method initialize(city:, line1:, state:, zip:, line2: nil)
883
+ # The sole proprietorship's business address. Mail receiving locations like PO
884
+ # Boxes and PMB's are disallowed.
885
+ #
886
+ # @param city [String] The city of the address.
887
+ #
888
+ # @param line1 [String] The first line of the address. This is usually the street number and street.
889
+ #
890
+ # @param state [String]
891
+ # The two-letter United States Postal Service (USPS) abbreviation for the state of
892
+ # the address.
893
+ #
894
+ # @param zip [String] The ZIP code of the address.
895
+ #
896
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
897
+ end
898
+
899
+ # @see Increase::Models::EntityUpdateParams::SoleProprietorship#sole_proprietor
900
+ class SoleProprietor < Increase::Internal::Type::BaseModel
901
+ # @!attribute address
902
+ # The sole proprietor's physical address. Mail receiving locations like PO Boxes
903
+ # and PMB's are disallowed.
904
+ #
905
+ # @return [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address, nil]
906
+ optional :address, -> { Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address }
907
+
908
+ # @!attribute identification
909
+ # A means of verifying the sole proprietor's identity. Unlike at creation, an
910
+ # identity document is accepted here.
911
+ #
912
+ # @return [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification, nil]
913
+ optional :identification,
914
+ -> { Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification }
915
+
916
+ # @!attribute name
917
+ # The sole proprietor's legal name.
918
+ #
919
+ # @return [String, nil]
920
+ optional :name, String
921
+
922
+ # @!method initialize(address: nil, identification: nil, name: nil)
923
+ # Details of the individual who operates the sole proprietorship.
924
+ #
925
+ # @param address [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address]
926
+ # The sole proprietor's physical address. Mail receiving locations like PO Boxes
927
+ # and PMB's are disallowed.
928
+ #
929
+ # @param identification [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification]
930
+ # A means of verifying the sole proprietor's identity. Unlike at creation, an
931
+ # identity document is accepted here.
932
+ #
933
+ # @param name [String] The sole proprietor's legal name.
934
+
935
+ # @see Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor#address
936
+ class Address < Increase::Internal::Type::BaseModel
937
+ # @!attribute city
938
+ # The city, district, town, or village of the address.
939
+ #
940
+ # @return [String]
941
+ required :city, String
942
+
943
+ # @!attribute country
944
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
945
+ #
946
+ # Defaults to `US`.
947
+ #
948
+ # @return [String]
949
+ required :country, String
950
+
951
+ # @!attribute line1
952
+ # The first line of the address. This is usually the street number and street.
953
+ #
954
+ # @return [String]
955
+ required :line1, String
956
+
957
+ # @!attribute line2
958
+ # The second line of the address. This might be the floor or room number.
959
+ #
960
+ # @return [String, nil]
961
+ optional :line2, String
962
+
963
+ # @!attribute state
964
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
965
+ # state, province, or region of the address. Required in certain countries.
966
+ #
967
+ # @return [String, nil]
968
+ optional :state, String
969
+
970
+ # @!attribute zip
971
+ # The ZIP or postal code of the address. Required in certain countries.
972
+ #
973
+ # @return [String, nil]
974
+ optional :zip, String
975
+
976
+ # @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
977
+ # The sole proprietor's physical address. Mail receiving locations like PO Boxes
978
+ # and PMB's are disallowed.
979
+ #
980
+ # @param city [String] The city, district, town, or village of the address.
981
+ #
982
+ # @param country [String]
983
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
984
+ #
985
+ # Defaults to `US`.
986
+ #
987
+ # @param line1 [String] The first line of the address. This is usually the street number and street.
988
+ #
989
+ # @param line2 [String] The second line of the address. This might be the floor or room number.
990
+ #
991
+ # @param state [String]
992
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
993
+ # state, province, or region of the address. Required in certain countries.
994
+ #
995
+ # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
996
+ end
997
+
998
+ # @see Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor#identification
999
+ class Identification < Increase::Internal::Type::BaseModel
1000
+ # @!attribute method_
1001
+ # A method that can be used to verify the individual's identity.
1002
+ #
1003
+ # Defaults to `social_security_number`.
1004
+ #
1005
+ # @return [Symbol, Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Method]
1006
+ required :method_,
1007
+ enum: -> {
1008
+ Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Method
1009
+ },
1010
+ api_name: :method
1011
+
1012
+ # @!attribute number
1013
+ # An identification number that can be used to verify the individual's identity,
1014
+ # such as a social security number. For Social Security Numbers and Individual
1015
+ # Taxpayer Identification Numbers, submit nine digits with no dashes or other
1016
+ # separators.
1017
+ #
1018
+ # @return [String]
1019
+ required :number, String
1020
+
1021
+ # @!attribute drivers_license
1022
+ # Information about the United States driver's license used for identification.
1023
+ # Required if `method` is equal to `drivers_license`.
1024
+ #
1025
+ # @return [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense, nil]
1026
+ optional :drivers_license,
1027
+ -> { Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense }
1028
+
1029
+ # @!attribute other
1030
+ # Information about the identification document provided. Required if `method` is
1031
+ # equal to `other`.
1032
+ #
1033
+ # @return [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other, nil]
1034
+ optional :other,
1035
+ -> { Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other }
1036
+
1037
+ # @!attribute passport
1038
+ # Information about the passport used for identification. Required if `method` is
1039
+ # equal to `passport`.
1040
+ #
1041
+ # @return [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport, nil]
1042
+ optional :passport,
1043
+ -> { Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport }
1044
+
1045
+ # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
1046
+ # A means of verifying the sole proprietor's identity. Unlike at creation, an
1047
+ # identity document is accepted here.
1048
+ #
1049
+ # @param method_ [Symbol, Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Method]
1050
+ # A method that can be used to verify the individual's identity.
1051
+ #
1052
+ # Defaults to `social_security_number`.
1053
+ #
1054
+ # @param number [String]
1055
+ # An identification number that can be used to verify the individual's identity,
1056
+ # such as a social security number. For Social Security Numbers and Individual
1057
+ # Taxpayer Identification Numbers, submit nine digits with no dashes or other
1058
+ # separators.
1059
+ #
1060
+ # @param drivers_license [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense]
1061
+ # Information about the United States driver's license used for identification.
1062
+ # Required if `method` is equal to `drivers_license`.
1063
+ #
1064
+ # @param other [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other]
1065
+ # Information about the identification document provided. Required if `method` is
1066
+ # equal to `other`.
1067
+ #
1068
+ # @param passport [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport]
1069
+ # Information about the passport used for identification. Required if `method` is
1070
+ # equal to `passport`.
1071
+
1072
+ # A method that can be used to verify the individual's identity.
1073
+ #
1074
+ # Defaults to `social_security_number`.
1075
+ #
1076
+ # @see Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification#method_
1077
+ module Method
1078
+ extend Increase::Internal::Type::Enum
1079
+
1080
+ # A social security number.
1081
+ SOCIAL_SECURITY_NUMBER = :social_security_number
1082
+
1083
+ # An individual taxpayer identification number (ITIN).
1084
+ INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
1085
+
1086
+ # A passport number.
1087
+ PASSPORT = :passport
1088
+
1089
+ # A driver's license number.
1090
+ DRIVERS_LICENSE = :drivers_license
1091
+
1092
+ # Another identifying document.
1093
+ OTHER = :other
1094
+
1095
+ # @!method self.values
1096
+ # @return [Array<Symbol>]
1097
+ end
1098
+
1099
+ # @see Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification#drivers_license
1100
+ class DriversLicense < Increase::Internal::Type::BaseModel
1101
+ # @!attribute expiration_date
1102
+ # The driver's license's expiration date in YYYY-MM-DD format.
1103
+ #
1104
+ # @return [Date]
1105
+ required :expiration_date, Date
1106
+
1107
+ # @!attribute file_id
1108
+ # The identifier of the File containing the front of the driver's license.
1109
+ #
1110
+ # @return [String]
1111
+ required :file_id, String
1112
+
1113
+ # @!attribute state
1114
+ # The state that issued the provided driver's license.
1115
+ #
1116
+ # @return [String]
1117
+ required :state, String
1118
+
1119
+ # @!attribute back_file_id
1120
+ # The identifier of the File containing the back of the driver's license.
1121
+ #
1122
+ # @return [String, nil]
1123
+ optional :back_file_id, String
1124
+
1125
+ # @!method initialize(expiration_date:, file_id:, state:, back_file_id: nil)
1126
+ # Information about the United States driver's license used for identification.
1127
+ # Required if `method` is equal to `drivers_license`.
1128
+ #
1129
+ # @param expiration_date [Date] The driver's license's expiration date in YYYY-MM-DD format.
1130
+ #
1131
+ # @param file_id [String] The identifier of the File containing the front of the driver's license.
1132
+ #
1133
+ # @param state [String] The state that issued the provided driver's license.
1134
+ #
1135
+ # @param back_file_id [String] The identifier of the File containing the back of the driver's license.
1136
+ end
1137
+
1138
+ # @see Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification#other
1139
+ class Other < Increase::Internal::Type::BaseModel
1140
+ # @!attribute country
1141
+ # The two-character ISO 3166-1 code representing the country that issued the
1142
+ # document (e.g., `US`).
1143
+ #
1144
+ # @return [String]
1145
+ required :country, String
1146
+
1147
+ # @!attribute description
1148
+ # A description of the document submitted.
1149
+ #
1150
+ # @return [String]
1151
+ required :description, String
1152
+
1153
+ # @!attribute file_id
1154
+ # The identifier of the File containing the front of the document.
1155
+ #
1156
+ # @return [String]
1157
+ required :file_id, String
1158
+
1159
+ # @!attribute back_file_id
1160
+ # The identifier of the File containing the back of the document. Not every
1161
+ # document has a reverse side.
1162
+ #
1163
+ # @return [String, nil]
1164
+ optional :back_file_id, String
1165
+
1166
+ # @!attribute expiration_date
1167
+ # The document's expiration date in YYYY-MM-DD format.
1168
+ #
1169
+ # @return [Date, nil]
1170
+ optional :expiration_date, Date
1171
+
1172
+ # @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil)
1173
+ # Information about the identification document provided. Required if `method` is
1174
+ # equal to `other`.
1175
+ #
1176
+ # @param country [String]
1177
+ # The two-character ISO 3166-1 code representing the country that issued the
1178
+ # document (e.g., `US`).
1179
+ #
1180
+ # @param description [String] A description of the document submitted.
1181
+ #
1182
+ # @param file_id [String] The identifier of the File containing the front of the document.
1183
+ #
1184
+ # @param back_file_id [String]
1185
+ # The identifier of the File containing the back of the document. Not every
1186
+ # document has a reverse side.
1187
+ #
1188
+ # @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format.
1189
+ end
1190
+
1191
+ # @see Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification#passport
1192
+ class Passport < Increase::Internal::Type::BaseModel
1193
+ # @!attribute country
1194
+ # The two-character ISO 3166-1 code representing the country that issued the
1195
+ # document (e.g., `US`).
1196
+ #
1197
+ # @return [String]
1198
+ required :country, String
1199
+
1200
+ # @!attribute expiration_date
1201
+ # The passport's expiration date in YYYY-MM-DD format.
1202
+ #
1203
+ # @return [Date]
1204
+ required :expiration_date, Date
1205
+
1206
+ # @!attribute file_id
1207
+ # The identifier of the File containing the passport.
1208
+ #
1209
+ # @return [String]
1210
+ required :file_id, String
1211
+
1212
+ # @!method initialize(country:, expiration_date:, file_id:)
1213
+ # Information about the passport used for identification. Required if `method` is
1214
+ # equal to `passport`.
1215
+ #
1216
+ # @param country [String]
1217
+ # The two-character ISO 3166-1 code representing the country that issued the
1218
+ # document (e.g., `US`).
1219
+ #
1220
+ # @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
1221
+ #
1222
+ # @param file_id [String] The identifier of the File containing the passport.
1223
+ end
1224
+ end
1225
+ end
1226
+ end
1227
+
767
1228
  class TermsAgreement < Increase::Internal::Type::BaseModel
768
1229
  # @!attribute agreed_at
769
1230
  # The timestamp of when the Entity agreed to the terms.
@@ -772,7 +1233,7 @@ module Increase
772
1233
  required :agreed_at, Time
773
1234
 
774
1235
  # @!attribute ip_address
775
- # The IP address the Entity accessed reviewed the terms from.
1236
+ # The IP address the Entity reviewed the terms from.
776
1237
  #
777
1238
  # @return [String]
778
1239
  required :ip_address, String
@@ -786,7 +1247,7 @@ module Increase
786
1247
  # @!method initialize(agreed_at:, ip_address:, terms_url:)
787
1248
  # @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
788
1249
  #
789
- # @param ip_address [String] The IP address the Entity accessed reviewed the terms from.
1250
+ # @param ip_address [String] The IP address the Entity reviewed the terms from.
790
1251
  #
791
1252
  # @param terms_url [String] The URL of the terms agreement. This link will be provided by your bank partner.
792
1253
  end
@@ -1072,8 +1533,7 @@ module Increase
1072
1533
  # An identification number that can be used to verify the individual's identity,
1073
1534
  # such as a social security number. For Social Security Numbers and Individual
1074
1535
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
1075
- # separators. When testing in sandbox, use one of our
1076
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
1536
+ # separators.
1077
1537
  #
1078
1538
  # @return [String]
1079
1539
  required :number, String
@@ -1112,8 +1572,7 @@ module Increase
1112
1572
  # An identification number that can be used to verify the individual's identity,
1113
1573
  # such as a social security number. For Social Security Numbers and Individual
1114
1574
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
1115
- # separators. When testing in sandbox, use one of our
1116
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
1575
+ # separators.
1117
1576
  #
1118
1577
  # @param drivers_license [Increase::Models::EntityUpdateParams::Trust::Grantor::Identification::DriversLicense]
1119
1578
  # Information about the United States driver's license used for identification.
@@ -1455,8 +1914,7 @@ module Increase
1455
1914
  # An identification number that can be used to verify the individual's identity,
1456
1915
  # such as a social security number. For Social Security Numbers and Individual
1457
1916
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
1458
- # separators. When testing in sandbox, use one of our
1459
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
1917
+ # separators.
1460
1918
  #
1461
1919
  # @return [String]
1462
1920
  required :number, String
@@ -1496,8 +1954,7 @@ module Increase
1496
1954
  # An identification number that can be used to verify the individual's identity,
1497
1955
  # such as a social security number. For Social Security Numbers and Individual
1498
1956
  # Taxpayer Identification Numbers, submit nine digits with no dashes or other
1499
- # separators. When testing in sandbox, use one of our
1500
- # [sandbox test values](https://increase.com/documentation/sandbox-test-values).
1957
+ # separators.
1501
1958
  #
1502
1959
  # @param drivers_license [Increase::Models::EntityUpdateParams::Trust::Trustee::Individual::Identification::DriversLicense]
1503
1960
  # Information about the United States driver's license used for identification.