increase 1.348.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/increase/models/account_create_params.rb +15 -15
- data/lib/increase/models/account_number.rb +3 -3
- data/lib/increase/models/ach_transfer.rb +12 -12
- data/lib/increase/models/balance_lookup.rb +1 -1
- data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
- data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
- data/lib/increase/models/card_dispute.rb +9 -1
- data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
- data/lib/increase/models/card_payment.rb +58 -58
- data/lib/increase/models/card_purchase_supplement.rb +9 -1
- data/lib/increase/models/card_token_capabilities.rb +2 -2
- data/lib/increase/models/check_deposit.rb +9 -9
- data/lib/increase/models/check_transfer.rb +2 -2
- data/lib/increase/models/check_transfer_create_params.rb +9 -4
- data/lib/increase/models/declined_transaction.rb +12 -9
- data/lib/increase/models/digital_wallet_token.rb +9 -1
- data/lib/increase/models/entity.rb +298 -6
- data/lib/increase/models/entity_create_params.rb +332 -29
- data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
- data/lib/increase/models/entity_update_params.rb +472 -15
- data/lib/increase/models/event.rb +3 -0
- data/lib/increase/models/event_list_params.rb +3 -0
- data/lib/increase/models/event_subscription.rb +3 -0
- data/lib/increase/models/event_subscription_create_params.rb +3 -0
- data/lib/increase/models/fednow_transfer.rb +115 -4
- data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
- data/lib/increase/models/inbound_ach_transfer.rb +2 -2
- data/lib/increase/models/inbound_check_deposit.rb +7 -4
- data/lib/increase/models/inbound_fednow_transfer.rb +21 -1
- data/lib/increase/models/inbound_mail_item.rb +14 -1
- data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
- data/lib/increase/models/inbound_wire_transfer.rb +4 -4
- data/lib/increase/models/intrafi_exclusion.rb +4 -4
- data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
- data/lib/increase/models/pending_transaction.rb +20 -20
- data/lib/increase/models/pending_transaction_list_params.rb +5 -7
- data/lib/increase/models/physical_card.rb +9 -1
- data/lib/increase/models/physical_card_create_params.rb +6 -3
- data/lib/increase/models/real_time_decision.rb +18 -18
- data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
- data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
- data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
- data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
- data/lib/increase/models/simulations/program_create_params.rb +14 -3
- data/lib/increase/models/transaction.rb +146 -19
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/models/unwrap_webhook_event.rb +3 -0
- data/lib/increase/models/wire_drawdown_request.rb +12 -1
- data/lib/increase/models/wire_transfer_create_params.rb +2 -2
- data/lib/increase/resources/cards.rb +2 -2
- data/lib/increase/resources/check_transfers.rb +1 -1
- data/lib/increase/resources/entities.rb +10 -2
- data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
- data/lib/increase/resources/lockbox_recipients.rb +1 -1
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/simulations/card_authentications.rb +1 -1
- data/lib/increase/resources/simulations/card_disputes.rb +2 -2
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
- data/lib/increase/resources/simulations/interest_payments.rb +1 -1
- data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
- data/lib/increase/resources/simulations/physical_cards.rb +2 -2
- data/lib/increase/resources/simulations/programs.rb +6 -2
- data/lib/increase/resources/wire_transfers.rb +1 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_create_params.rbi +37 -21
- data/rbi/increase/models/account_number.rbi +3 -3
- data/rbi/increase/models/ach_transfer.rbi +12 -12
- data/rbi/increase/models/balance_lookup.rbi +1 -1
- data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
- data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
- data/rbi/increase/models/card_dispute.rbi +8 -0
- data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
- data/rbi/increase/models/card_payment.rbi +58 -58
- data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
- data/rbi/increase/models/card_token_capabilities.rbi +2 -2
- data/rbi/increase/models/check_deposit.rbi +9 -9
- data/rbi/increase/models/check_transfer.rbi +2 -2
- data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
- data/rbi/increase/models/declined_transaction.rbi +16 -9
- data/rbi/increase/models/digital_wallet_token.rbi +8 -0
- data/rbi/increase/models/entity.rbi +496 -5
- data/rbi/increase/models/entity_create_params.rbi +547 -28
- data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
- data/rbi/increase/models/entity_update_params.rbi +814 -14
- data/rbi/increase/models/event.rbi +7 -0
- data/rbi/increase/models/event_list_params.rbi +7 -0
- data/rbi/increase/models/event_subscription.rbi +7 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
- data/rbi/increase/models/fednow_transfer.rbi +213 -7
- data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
- data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
- data/rbi/increase/models/inbound_check_deposit.rbi +6 -4
- data/rbi/increase/models/inbound_fednow_transfer.rbi +23 -0
- data/rbi/increase/models/inbound_mail_item.rbi +12 -0
- data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
- data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
- data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
- data/rbi/increase/models/pending_transaction.rbi +20 -20
- data/rbi/increase/models/pending_transaction_list_params.rbi +5 -7
- data/rbi/increase/models/physical_card.rbi +8 -0
- data/rbi/increase/models/physical_card_create_params.rbi +6 -3
- data/rbi/increase/models/real_time_decision.rbi +18 -18
- data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
- data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
- data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
- data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
- data/rbi/increase/models/transaction.rbi +264 -18
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
- data/rbi/increase/resources/cards.rbi +2 -2
- data/rbi/increase/resources/check_transfers.rbi +1 -1
- data/rbi/increase/resources/entities.rbi +10 -0
- data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
- data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
- data/rbi/increase/resources/physical_cards.rbi +2 -1
- data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
- data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
- data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
- data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
- data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
- data/rbi/increase/resources/simulations/programs.rbi +5 -1
- data/rbi/increase/resources/wire_transfers.rbi +1 -1
- data/sig/increase/models/account_create_params.rbs +20 -12
- data/sig/increase/models/card_dispute.rbs +5 -0
- data/sig/increase/models/card_purchase_supplement.rbs +5 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +5 -0
- data/sig/increase/models/entity.rbs +230 -4
- data/sig/increase/models/entity_create_params.rbs +232 -1
- data/sig/increase/models/entity_update_params.rbs +366 -0
- data/sig/increase/models/event.rbs +4 -0
- data/sig/increase/models/event_list_params.rbs +4 -0
- data/sig/increase/models/event_subscription.rbs +4 -0
- data/sig/increase/models/event_subscription_create_params.rbs +4 -0
- data/sig/increase/models/fednow_transfer.rbs +113 -4
- data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
- data/sig/increase/models/inbound_fednow_transfer.rbs +14 -0
- data/sig/increase/models/inbound_mail_item.rbs +5 -0
- data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +1 -1
- data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
- data/sig/increase/models/physical_card.rbs +5 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
- data/sig/increase/models/simulations/program_create_params.rbs +7 -0
- data/sig/increase/models/transaction.rbs +113 -0
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
- data/sig/increase/models/wire_drawdown_request.rbs +5 -0
- data/sig/increase/resources/entities.rbs +2 -0
- data/sig/increase/resources/simulations/programs.rbs +1 -0
- metadata +2 -2
|
@@ -73,7 +73,7 @@ module Increase
|
|
|
73
73
|
# If provided, the check will be valid on or before this date. After this date,
|
|
74
74
|
# the check transfer will be automatically stopped and deposits will not be
|
|
75
75
|
# accepted. For checks printed by Increase, this date is included on the check as
|
|
76
|
-
# its
|
|
76
|
+
# its expiration.
|
|
77
77
|
#
|
|
78
78
|
# @return [Date, nil]
|
|
79
79
|
optional :valid_until_date, Date
|
|
@@ -116,7 +116,7 @@ module Increase
|
|
|
116
116
|
# If provided, the check will be valid on or before this date. After this date,
|
|
117
117
|
# the check transfer will be automatically stopped and deposits will not be
|
|
118
118
|
# accepted. For checks printed by Increase, this date is included on the check as
|
|
119
|
-
# its
|
|
119
|
+
# its expiration.
|
|
120
120
|
#
|
|
121
121
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
122
122
|
|
|
@@ -195,7 +195,9 @@ module Increase
|
|
|
195
195
|
optional :check_voucher_image_file_id, String
|
|
196
196
|
|
|
197
197
|
# @!attribute note
|
|
198
|
-
#
|
|
198
|
+
# A few paragraphs of text printed on the letter included with the check. It can
|
|
199
|
+
# contain at most 22 lines. Paragraphs will wrap at about 120 characters, but
|
|
200
|
+
# depending on your exact message, it might be slightly more or slightly less.
|
|
199
201
|
#
|
|
200
202
|
# @return [String, nil]
|
|
201
203
|
optional :note, String
|
|
@@ -264,7 +266,10 @@ module Increase
|
|
|
264
266
|
# `purpose: check_voucher_image`. For details on pricing and restrictions, see
|
|
265
267
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
266
268
|
#
|
|
267
|
-
# @param note [String]
|
|
269
|
+
# @param note [String]
|
|
270
|
+
# A few paragraphs of text printed on the letter included with the check. It can
|
|
271
|
+
# contain at most 22 lines. Paragraphs will wrap at about 120 characters, but
|
|
272
|
+
# depending on your exact message, it might be slightly more or slightly less.
|
|
268
273
|
#
|
|
269
274
|
# @param physical_check_batch_id [String]
|
|
270
275
|
# The identifier of the Physical Check Batch to mail this check as a part of.
|
|
@@ -504,9 +504,9 @@ module Increase
|
|
|
504
504
|
required :actioner, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Actioner }
|
|
505
505
|
|
|
506
506
|
# @!attribute additional_amounts
|
|
507
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
508
|
-
#
|
|
509
|
-
#
|
|
507
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
508
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
509
|
+
# more detailed information about the transaction.
|
|
510
510
|
#
|
|
511
511
|
# @return [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts]
|
|
512
512
|
required :additional_amounts, -> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts }
|
|
@@ -705,9 +705,9 @@ module Increase
|
|
|
705
705
|
# stand-in processing, or the user through a real-time decision.
|
|
706
706
|
#
|
|
707
707
|
# @param additional_amounts [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts]
|
|
708
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
709
|
-
#
|
|
710
|
-
#
|
|
708
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
709
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
710
|
+
# more detailed information about the transaction.
|
|
711
711
|
#
|
|
712
712
|
# @param amount [Integer]
|
|
713
713
|
# The declined amount in the minor unit of the destination account currency. For
|
|
@@ -910,9 +910,9 @@ module Increase
|
|
|
910
910
|
nil?: true
|
|
911
911
|
|
|
912
912
|
# @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
|
|
913
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
914
|
-
#
|
|
915
|
-
#
|
|
913
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
914
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
915
|
+
# more detailed information about the transaction.
|
|
916
916
|
#
|
|
917
917
|
# @param clinic [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Clinic, nil]
|
|
918
918
|
# The part of this transaction amount that was for clinic-related services.
|
|
@@ -2445,6 +2445,9 @@ module Increase
|
|
|
2445
2445
|
# Your account is not enabled to receive FedNow transfers.
|
|
2446
2446
|
FEDNOW_NOT_ENABLED = :fednow_not_enabled
|
|
2447
2447
|
|
|
2448
|
+
# The transaction is not allowed per Increase's terms.
|
|
2449
|
+
TRANSACTION_NOT_ALLOWED = :transaction_not_allowed
|
|
2450
|
+
|
|
2448
2451
|
# @!method self.values
|
|
2449
2452
|
# @return [Array<Symbol>]
|
|
2450
2453
|
end
|
|
@@ -10,6 +10,12 @@ module Increase
|
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :id, String
|
|
12
12
|
|
|
13
|
+
# @!attribute account_id
|
|
14
|
+
# The identifier for the Account this Digital Wallet Token belongs to.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
required :account_id, String
|
|
18
|
+
|
|
13
19
|
# @!attribute card_id
|
|
14
20
|
# The identifier for the Card this Digital Wallet Token belongs to.
|
|
15
21
|
#
|
|
@@ -75,13 +81,15 @@ module Increase
|
|
|
75
81
|
# @return [Array<Increase::Models::DigitalWalletToken::Update>]
|
|
76
82
|
required :updates, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken::Update] }
|
|
77
83
|
|
|
78
|
-
# @!method initialize(id:, card_id:, cardholder:, created_at:, decline:, device:, dynamic_primary_account_number:, status:, token_requestor:, type:, updates:)
|
|
84
|
+
# @!method initialize(id:, account_id:, card_id:, cardholder:, created_at:, decline:, device:, dynamic_primary_account_number:, status:, token_requestor:, type:, updates:)
|
|
79
85
|
# A Digital Wallet Token is created when a user adds a Card to their Apple Pay or
|
|
80
86
|
# Google Pay app. The Digital Wallet Token can be used for purchases just like a
|
|
81
87
|
# Card.
|
|
82
88
|
#
|
|
83
89
|
# @param id [String] The Digital Wallet Token identifier.
|
|
84
90
|
#
|
|
91
|
+
# @param account_id [String] The identifier for the Account this Digital Wallet Token belongs to.
|
|
92
|
+
#
|
|
85
93
|
# @param card_id [String] The identifier for the Card this Digital Wallet Token belongs to.
|
|
86
94
|
#
|
|
87
95
|
# @param cardholder [Increase::Models::DigitalWalletToken::Cardholder]
|
|
@@ -79,6 +79,13 @@ module Increase
|
|
|
79
79
|
# @return [Increase::Models::Entity::RiskRating, nil]
|
|
80
80
|
required :risk_rating, -> { Increase::Entity::RiskRating }, nil?: true
|
|
81
81
|
|
|
82
|
+
# @!attribute sole_proprietorship
|
|
83
|
+
# Details of the sole proprietorship entity. Will be present if `structure` is
|
|
84
|
+
# equal to `sole_proprietorship`.
|
|
85
|
+
#
|
|
86
|
+
# @return [Increase::Models::Entity::SoleProprietorship, nil]
|
|
87
|
+
required :sole_proprietorship, -> { Increase::Entity::SoleProprietorship }, nil?: true
|
|
88
|
+
|
|
82
89
|
# @!attribute status
|
|
83
90
|
# The status of the entity.
|
|
84
91
|
#
|
|
@@ -135,7 +142,7 @@ module Increase
|
|
|
135
142
|
# @return [Increase::Models::Entity::Validation, nil]
|
|
136
143
|
required :validation, -> { Increase::Entity::Validation }, nil?: true
|
|
137
144
|
|
|
138
|
-
# @!method initialize(id:, corporation:, created_at:, creating_entity_onboarding_session_id:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:, validation:)
|
|
145
|
+
# @!method initialize(id:, corporation:, created_at:, creating_entity_onboarding_session_id:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, sole_proprietorship:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:, validation:)
|
|
139
146
|
# Entities are the legal entities that own accounts. They can be people,
|
|
140
147
|
# corporations, joint accounts, trusts, or government authorities. To learn more,
|
|
141
148
|
# see [Entities](/documentation/entities).
|
|
@@ -180,6 +187,10 @@ module Increase
|
|
|
180
187
|
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
181
188
|
# such as money laundering.
|
|
182
189
|
#
|
|
190
|
+
# @param sole_proprietorship [Increase::Models::Entity::SoleProprietorship, nil]
|
|
191
|
+
# Details of the sole proprietorship entity. Will be present if `structure` is
|
|
192
|
+
# equal to `sole_proprietorship`.
|
|
193
|
+
#
|
|
183
194
|
# @param status [Symbol, Increase::Models::Entity::Status] The status of the entity.
|
|
184
195
|
#
|
|
185
196
|
# @param structure [Symbol, Increase::Models::Entity::Structure] The entity's legal structure.
|
|
@@ -1154,6 +1165,284 @@ module Increase
|
|
|
1154
1165
|
end
|
|
1155
1166
|
end
|
|
1156
1167
|
|
|
1168
|
+
# @see Increase::Models::Entity#sole_proprietorship
|
|
1169
|
+
class SoleProprietorship < Increase::Internal::Type::BaseModel
|
|
1170
|
+
# @!attribute address
|
|
1171
|
+
# The sole proprietorship's address.
|
|
1172
|
+
#
|
|
1173
|
+
# @return [Increase::Models::Entity::SoleProprietorship::Address]
|
|
1174
|
+
required :address, -> { Increase::Entity::SoleProprietorship::Address }
|
|
1175
|
+
|
|
1176
|
+
# @!attribute doing_business_as_name
|
|
1177
|
+
# The name under which the sole proprietorship does business.
|
|
1178
|
+
#
|
|
1179
|
+
# @return [String, nil]
|
|
1180
|
+
required :doing_business_as_name, String, nil?: true
|
|
1181
|
+
|
|
1182
|
+
# @!attribute email
|
|
1183
|
+
# An email address for the sole proprietorship.
|
|
1184
|
+
#
|
|
1185
|
+
# @return [String, nil]
|
|
1186
|
+
required :email, String, nil?: true
|
|
1187
|
+
|
|
1188
|
+
# @!attribute industry_code
|
|
1189
|
+
# The numeric North American Industry Classification System (NAICS) code submitted
|
|
1190
|
+
# for the sole proprietorship.
|
|
1191
|
+
#
|
|
1192
|
+
# @return [String, nil]
|
|
1193
|
+
required :industry_code, String, nil?: true
|
|
1194
|
+
|
|
1195
|
+
# @!attribute sole_proprietor
|
|
1196
|
+
# The individual who operates the sole proprietorship.
|
|
1197
|
+
#
|
|
1198
|
+
# @return [Increase::Models::Entity::SoleProprietorship::SoleProprietor]
|
|
1199
|
+
required :sole_proprietor, -> { Increase::Entity::SoleProprietorship::SoleProprietor }
|
|
1200
|
+
|
|
1201
|
+
# @!attribute tax_identifier
|
|
1202
|
+
# The Employer Identification Number (EIN) for the sole proprietorship.
|
|
1203
|
+
#
|
|
1204
|
+
# @return [String, nil]
|
|
1205
|
+
required :tax_identifier, String, nil?: true
|
|
1206
|
+
|
|
1207
|
+
# @!attribute website
|
|
1208
|
+
# The sole proprietorship's website.
|
|
1209
|
+
#
|
|
1210
|
+
# @return [String, nil]
|
|
1211
|
+
required :website, String, nil?: true
|
|
1212
|
+
|
|
1213
|
+
# @!method initialize(address:, doing_business_as_name:, email:, industry_code:, sole_proprietor:, tax_identifier:, website:)
|
|
1214
|
+
# Details of the sole proprietorship entity. Will be present if `structure` is
|
|
1215
|
+
# equal to `sole_proprietorship`.
|
|
1216
|
+
#
|
|
1217
|
+
# @param address [Increase::Models::Entity::SoleProprietorship::Address] The sole proprietorship's address.
|
|
1218
|
+
#
|
|
1219
|
+
# @param doing_business_as_name [String, nil] The name under which the sole proprietorship does business.
|
|
1220
|
+
#
|
|
1221
|
+
# @param email [String, nil] An email address for the sole proprietorship.
|
|
1222
|
+
#
|
|
1223
|
+
# @param industry_code [String, nil]
|
|
1224
|
+
# The numeric North American Industry Classification System (NAICS) code submitted
|
|
1225
|
+
# for the sole proprietorship.
|
|
1226
|
+
#
|
|
1227
|
+
# @param sole_proprietor [Increase::Models::Entity::SoleProprietorship::SoleProprietor]
|
|
1228
|
+
# The individual who operates the sole proprietorship.
|
|
1229
|
+
#
|
|
1230
|
+
# @param tax_identifier [String, nil] The Employer Identification Number (EIN) for the sole proprietorship.
|
|
1231
|
+
#
|
|
1232
|
+
# @param website [String, nil] The sole proprietorship's website.
|
|
1233
|
+
|
|
1234
|
+
# @see Increase::Models::Entity::SoleProprietorship#address
|
|
1235
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
1236
|
+
# @!attribute city
|
|
1237
|
+
# The city, district, town, or village of the address.
|
|
1238
|
+
#
|
|
1239
|
+
# @return [String, nil]
|
|
1240
|
+
required :city, String, nil?: true
|
|
1241
|
+
|
|
1242
|
+
# @!attribute country
|
|
1243
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1244
|
+
#
|
|
1245
|
+
# @return [String]
|
|
1246
|
+
required :country, String
|
|
1247
|
+
|
|
1248
|
+
# @!attribute line1
|
|
1249
|
+
# The first line of the address.
|
|
1250
|
+
#
|
|
1251
|
+
# @return [String]
|
|
1252
|
+
required :line1, String
|
|
1253
|
+
|
|
1254
|
+
# @!attribute line2
|
|
1255
|
+
# The second line of the address.
|
|
1256
|
+
#
|
|
1257
|
+
# @return [String, nil]
|
|
1258
|
+
required :line2, String, nil?: true
|
|
1259
|
+
|
|
1260
|
+
# @!attribute state
|
|
1261
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1262
|
+
# state, province, or region of the address.
|
|
1263
|
+
#
|
|
1264
|
+
# @return [String, nil]
|
|
1265
|
+
required :state, String, nil?: true
|
|
1266
|
+
|
|
1267
|
+
# @!attribute zip
|
|
1268
|
+
# The ZIP or postal code of the address.
|
|
1269
|
+
#
|
|
1270
|
+
# @return [String, nil]
|
|
1271
|
+
required :zip, String, nil?: true
|
|
1272
|
+
|
|
1273
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
1274
|
+
# The sole proprietorship's address.
|
|
1275
|
+
#
|
|
1276
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
1277
|
+
#
|
|
1278
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1279
|
+
#
|
|
1280
|
+
# @param line1 [String] The first line of the address.
|
|
1281
|
+
#
|
|
1282
|
+
# @param line2 [String, nil] The second line of the address.
|
|
1283
|
+
#
|
|
1284
|
+
# @param state [String, nil]
|
|
1285
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1286
|
+
# state, province, or region of the address.
|
|
1287
|
+
#
|
|
1288
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
1289
|
+
end
|
|
1290
|
+
|
|
1291
|
+
# @see Increase::Models::Entity::SoleProprietorship#sole_proprietor
|
|
1292
|
+
class SoleProprietor < Increase::Internal::Type::BaseModel
|
|
1293
|
+
# @!attribute address
|
|
1294
|
+
# The person's address.
|
|
1295
|
+
#
|
|
1296
|
+
# @return [Increase::Models::Entity::SoleProprietorship::SoleProprietor::Address]
|
|
1297
|
+
required :address, -> { Increase::Entity::SoleProprietorship::SoleProprietor::Address }
|
|
1298
|
+
|
|
1299
|
+
# @!attribute date_of_birth
|
|
1300
|
+
# The person's date of birth in YYYY-MM-DD format.
|
|
1301
|
+
#
|
|
1302
|
+
# @return [Date]
|
|
1303
|
+
required :date_of_birth, Date
|
|
1304
|
+
|
|
1305
|
+
# @!attribute identification
|
|
1306
|
+
# A means of verifying the person's identity.
|
|
1307
|
+
#
|
|
1308
|
+
# @return [Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification, nil]
|
|
1309
|
+
required :identification,
|
|
1310
|
+
-> { Increase::Entity::SoleProprietorship::SoleProprietor::Identification },
|
|
1311
|
+
nil?: true
|
|
1312
|
+
|
|
1313
|
+
# @!attribute name
|
|
1314
|
+
# The person's legal name.
|
|
1315
|
+
#
|
|
1316
|
+
# @return [String]
|
|
1317
|
+
required :name, String
|
|
1318
|
+
|
|
1319
|
+
# @!method initialize(address:, date_of_birth:, identification:, name:)
|
|
1320
|
+
# The individual who operates the sole proprietorship.
|
|
1321
|
+
#
|
|
1322
|
+
# @param address [Increase::Models::Entity::SoleProprietorship::SoleProprietor::Address]
|
|
1323
|
+
# The person's address.
|
|
1324
|
+
#
|
|
1325
|
+
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
|
|
1326
|
+
#
|
|
1327
|
+
# @param identification [Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification, nil]
|
|
1328
|
+
# A means of verifying the person's identity.
|
|
1329
|
+
#
|
|
1330
|
+
# @param name [String] The person's legal name.
|
|
1331
|
+
|
|
1332
|
+
# @see Increase::Models::Entity::SoleProprietorship::SoleProprietor#address
|
|
1333
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
1334
|
+
# @!attribute city
|
|
1335
|
+
# The city, district, town, or village of the address.
|
|
1336
|
+
#
|
|
1337
|
+
# @return [String, nil]
|
|
1338
|
+
required :city, String, nil?: true
|
|
1339
|
+
|
|
1340
|
+
# @!attribute country
|
|
1341
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1342
|
+
#
|
|
1343
|
+
# @return [String]
|
|
1344
|
+
required :country, String
|
|
1345
|
+
|
|
1346
|
+
# @!attribute line1
|
|
1347
|
+
# The first line of the address.
|
|
1348
|
+
#
|
|
1349
|
+
# @return [String]
|
|
1350
|
+
required :line1, String
|
|
1351
|
+
|
|
1352
|
+
# @!attribute line2
|
|
1353
|
+
# The second line of the address.
|
|
1354
|
+
#
|
|
1355
|
+
# @return [String, nil]
|
|
1356
|
+
required :line2, String, nil?: true
|
|
1357
|
+
|
|
1358
|
+
# @!attribute state
|
|
1359
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1360
|
+
# state, province, or region of the address.
|
|
1361
|
+
#
|
|
1362
|
+
# @return [String, nil]
|
|
1363
|
+
required :state, String, nil?: true
|
|
1364
|
+
|
|
1365
|
+
# @!attribute zip
|
|
1366
|
+
# The ZIP or postal code of the address.
|
|
1367
|
+
#
|
|
1368
|
+
# @return [String, nil]
|
|
1369
|
+
required :zip, String, nil?: true
|
|
1370
|
+
|
|
1371
|
+
# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
|
|
1372
|
+
# The person's address.
|
|
1373
|
+
#
|
|
1374
|
+
# @param city [String, nil] The city, district, town, or village of the address.
|
|
1375
|
+
#
|
|
1376
|
+
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1377
|
+
#
|
|
1378
|
+
# @param line1 [String] The first line of the address.
|
|
1379
|
+
#
|
|
1380
|
+
# @param line2 [String, nil] The second line of the address.
|
|
1381
|
+
#
|
|
1382
|
+
# @param state [String, nil]
|
|
1383
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1384
|
+
# state, province, or region of the address.
|
|
1385
|
+
#
|
|
1386
|
+
# @param zip [String, nil] The ZIP or postal code of the address.
|
|
1387
|
+
end
|
|
1388
|
+
|
|
1389
|
+
# @see Increase::Models::Entity::SoleProprietorship::SoleProprietor#identification
|
|
1390
|
+
class Identification < Increase::Internal::Type::BaseModel
|
|
1391
|
+
# @!attribute method_
|
|
1392
|
+
# A method that can be used to verify the individual's identity.
|
|
1393
|
+
#
|
|
1394
|
+
# @return [Symbol, Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::Method]
|
|
1395
|
+
required :method_,
|
|
1396
|
+
enum: -> {
|
|
1397
|
+
Increase::Entity::SoleProprietorship::SoleProprietor::Identification::Method
|
|
1398
|
+
},
|
|
1399
|
+
api_name: :method
|
|
1400
|
+
|
|
1401
|
+
# @!attribute number_last4
|
|
1402
|
+
# The last 4 digits of the identification number that can be used to verify the
|
|
1403
|
+
# individual's identity.
|
|
1404
|
+
#
|
|
1405
|
+
# @return [String]
|
|
1406
|
+
required :number_last4, String
|
|
1407
|
+
|
|
1408
|
+
# @!method initialize(method_:, number_last4:)
|
|
1409
|
+
# A means of verifying the person's identity.
|
|
1410
|
+
#
|
|
1411
|
+
# @param method_ [Symbol, Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::Method]
|
|
1412
|
+
# A method that can be used to verify the individual's identity.
|
|
1413
|
+
#
|
|
1414
|
+
# @param number_last4 [String]
|
|
1415
|
+
# The last 4 digits of the identification number that can be used to verify the
|
|
1416
|
+
# individual's identity.
|
|
1417
|
+
|
|
1418
|
+
# A method that can be used to verify the individual's identity.
|
|
1419
|
+
#
|
|
1420
|
+
# @see Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification#method_
|
|
1421
|
+
module Method
|
|
1422
|
+
extend Increase::Internal::Type::Enum
|
|
1423
|
+
|
|
1424
|
+
# A social security number.
|
|
1425
|
+
SOCIAL_SECURITY_NUMBER = :social_security_number
|
|
1426
|
+
|
|
1427
|
+
# An individual taxpayer identification number (ITIN).
|
|
1428
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
|
|
1429
|
+
|
|
1430
|
+
# A passport number.
|
|
1431
|
+
PASSPORT = :passport
|
|
1432
|
+
|
|
1433
|
+
# A driver's license number.
|
|
1434
|
+
DRIVERS_LICENSE = :drivers_license
|
|
1435
|
+
|
|
1436
|
+
# Another identifying document.
|
|
1437
|
+
OTHER = :other
|
|
1438
|
+
|
|
1439
|
+
# @!method self.values
|
|
1440
|
+
# @return [Array<Symbol>]
|
|
1441
|
+
end
|
|
1442
|
+
end
|
|
1443
|
+
end
|
|
1444
|
+
end
|
|
1445
|
+
|
|
1157
1446
|
# The status of the entity.
|
|
1158
1447
|
#
|
|
1159
1448
|
# @see Increase::Models::Entity#status
|
|
@@ -1194,6 +1483,9 @@ module Increase
|
|
|
1194
1483
|
# A government authority.
|
|
1195
1484
|
GOVERNMENT_AUTHORITY = :government_authority
|
|
1196
1485
|
|
|
1486
|
+
# A sole proprietorship.
|
|
1487
|
+
SOLE_PROPRIETORSHIP = :sole_proprietorship
|
|
1488
|
+
|
|
1197
1489
|
# @!method self.values
|
|
1198
1490
|
# @return [Array<Symbol>]
|
|
1199
1491
|
end
|
|
@@ -1206,7 +1498,7 @@ module Increase
|
|
|
1206
1498
|
required :agreed_at, Time
|
|
1207
1499
|
|
|
1208
1500
|
# @!attribute ip_address
|
|
1209
|
-
# The IP address the Entity
|
|
1501
|
+
# The IP address the Entity reviewed the terms from.
|
|
1210
1502
|
#
|
|
1211
1503
|
# @return [String, nil]
|
|
1212
1504
|
required :ip_address, String, nil?: true
|
|
@@ -1220,7 +1512,7 @@ module Increase
|
|
|
1220
1512
|
# @!method initialize(agreed_at:, ip_address:, terms_url:)
|
|
1221
1513
|
# @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
|
|
1222
1514
|
#
|
|
1223
|
-
# @param ip_address [String, nil] The IP address the Entity
|
|
1515
|
+
# @param ip_address [String, nil] The IP address the Entity reviewed the terms from.
|
|
1224
1516
|
#
|
|
1225
1517
|
# @param terms_url [String] The URL of the terms agreement. This link will be provided by your bank partner.
|
|
1226
1518
|
end
|
|
@@ -1923,13 +2215,13 @@ module Increase
|
|
|
1923
2215
|
module Category
|
|
1924
2216
|
extend Increase::Internal::Type::Enum
|
|
1925
2217
|
|
|
1926
|
-
# The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
2218
|
+
# The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
1927
2219
|
ENTITY_TAX_IDENTIFIER = :entity_tax_identifier
|
|
1928
2220
|
|
|
1929
|
-
# The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
2221
|
+
# The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
1930
2222
|
ENTITY_ADDRESS = :entity_address
|
|
1931
2223
|
|
|
1932
|
-
# The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity
|
|
2224
|
+
# The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity).
|
|
1933
2225
|
ENTITY_IDENTITY = :entity_identity
|
|
1934
2226
|
|
|
1935
2227
|
# A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
|