increase 1.347.0 → 1.349.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/ach_prenotification_create_params.rb +2 -2
- data/lib/increase/models/ach_transfer.rb +2 -2
- data/lib/increase/models/ach_transfer_create_params.rb +1 -24
- data/lib/increase/models/balance_lookup.rb +49 -1
- data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
- data/lib/increase/models/card.rb +43 -1
- data/lib/increase/models/card_create_params.rb +42 -1
- data/lib/increase/models/card_dispute.rb +1 -1
- data/lib/increase/models/card_dispute_list_params.rb +1 -1
- data/lib/increase/models/card_payment.rb +18 -1
- data/lib/increase/models/check_transfer.rb +13 -1
- data/lib/increase/models/check_transfer_create_params.rb +25 -13
- data/lib/increase/models/entity.rb +315 -5
- data/lib/increase/models/entity_update_params.rb +754 -1
- data/lib/increase/models/event.rb +12 -0
- data/lib/increase/models/event_list_params.rb +12 -0
- data/lib/increase/models/event_subscription.rb +12 -0
- data/lib/increase/models/event_subscription_create_params.rb +12 -0
- data/lib/increase/models/file.rb +7 -6
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/inbound_check_deposit.rb +5 -2
- data/lib/increase/models/inbound_fednow_transfer.rb +18 -1
- data/lib/increase/models/pending_transaction.rb +25 -8
- data/lib/increase/models/pending_transaction_list_params.rb +1 -1
- data/lib/increase/models/physical_card_create_params.rb +6 -3
- data/lib/increase/models/real_time_decision.rb +18 -1
- data/lib/increase/models/real_time_payments_transfer.rb +30 -19
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
- data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
- data/lib/increase/models/transaction.rb +5 -2
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_transfer_create_params.rb +100 -42
- data/lib/increase/resources/ach_prenotifications.rb +1 -1
- data/lib/increase/resources/ach_transfers.rb +1 -4
- data/lib/increase/resources/beneficial_owners.rb +3 -1
- data/lib/increase/resources/cards.rb +5 -1
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_create_params.rbi +37 -21
- data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
- data/rbi/increase/models/ach_transfer.rbi +2 -2
- data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
- data/rbi/increase/models/balance_lookup.rbi +48 -0
- data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
- data/rbi/increase/models/card.rbi +63 -0
- data/rbi/increase/models/card_create_params.rbi +65 -0
- data/rbi/increase/models/card_dispute.rbi +1 -1
- data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
- data/rbi/increase/models/card_payment.rbi +16 -0
- data/rbi/increase/models/check_transfer.rbi +15 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
- data/rbi/increase/models/entity.rbi +552 -3
- data/rbi/increase/models/entity_update_params.rbi +1326 -3
- data/rbi/increase/models/event.rbi +28 -0
- data/rbi/increase/models/event_list_params.rbi +28 -0
- data/rbi/increase/models/event_subscription.rbi +28 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
- data/rbi/increase/models/file.rbi +7 -6
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/inbound_check_deposit.rbi +4 -2
- data/rbi/increase/models/inbound_fednow_transfer.rbi +16 -0
- data/rbi/increase/models/pending_transaction.rbi +23 -7
- data/rbi/increase/models/pending_transaction_list_params.rbi +1 -1
- data/rbi/increase/models/physical_card_create_params.rbi +6 -3
- data/rbi/increase/models/real_time_decision.rbi +16 -0
- data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
- data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
- data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
- data/rbi/increase/models/transaction.rbi +4 -2
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
- data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
- data/rbi/increase/resources/ach_transfers.rbi +0 -4
- data/rbi/increase/resources/beneficial_owners.rbi +3 -0
- data/rbi/increase/resources/cards.rbi +4 -0
- data/rbi/increase/resources/physical_cards.rbi +2 -1
- data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
- data/sig/increase/models/account_create_params.rbs +20 -12
- data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
- data/sig/increase/models/balance_lookup.rbs +30 -0
- data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
- data/sig/increase/models/card.rbs +19 -0
- data/sig/increase/models/card_create_params.rbs +25 -0
- data/sig/increase/models/card_dispute.rbs +1 -1
- data/sig/increase/models/card_dispute_list_params.rbs +1 -1
- data/sig/increase/models/card_payment.rbs +5 -0
- data/sig/increase/models/check_transfer.rbs +9 -0
- data/sig/increase/models/check_transfer_create_params.rbs +7 -0
- data/sig/increase/models/entity.rbs +248 -5
- data/sig/increase/models/entity_update_params.rbs +585 -3
- data/sig/increase/models/event.rbs +16 -0
- data/sig/increase/models/event_list_params.rbs +16 -0
- data/sig/increase/models/event_subscription.rbs +16 -0
- data/sig/increase/models/event_subscription_create_params.rbs +16 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
- data/sig/increase/models/inbound_fednow_transfer.rbs +10 -0
- data/sig/increase/models/pending_transaction.rbs +6 -1
- data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
- data/sig/increase/models/real_time_decision.rbs +5 -0
- data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
- data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
- data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
- data/sig/increase/resources/ach_transfers.rbs +0 -1
- data/sig/increase/resources/beneficial_owners.rbs +1 -0
- data/sig/increase/resources/cards.rbs +1 -0
- data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
- metadata +2 -2
|
@@ -144,37 +144,53 @@ module Increase
|
|
|
144
144
|
|
|
145
145
|
# The number of days after the statement date that the Account can be past due
|
|
146
146
|
# before being considered delinquent.
|
|
147
|
-
sig { returns(Integer) }
|
|
148
|
-
|
|
147
|
+
sig { returns(T.nilable(Integer)) }
|
|
148
|
+
attr_reader :grace_period_days
|
|
149
|
+
|
|
150
|
+
sig { params(grace_period_days: Integer).void }
|
|
151
|
+
attr_writer :grace_period_days
|
|
152
|
+
|
|
153
|
+
# The date on which the loan matures.
|
|
154
|
+
sig { returns(T.nilable(Date)) }
|
|
155
|
+
attr_reader :maturity_date
|
|
156
|
+
|
|
157
|
+
sig { params(maturity_date: Date).void }
|
|
158
|
+
attr_writer :maturity_date
|
|
149
159
|
|
|
150
160
|
# The day of the month on which the loan statement is generated.
|
|
151
|
-
sig { returns(Integer) }
|
|
152
|
-
|
|
161
|
+
sig { returns(T.nilable(Integer)) }
|
|
162
|
+
attr_reader :statement_day_of_month
|
|
163
|
+
|
|
164
|
+
sig { params(statement_day_of_month: Integer).void }
|
|
165
|
+
attr_writer :statement_day_of_month
|
|
153
166
|
|
|
154
167
|
# The type of statement payment for the account.
|
|
155
168
|
sig do
|
|
156
169
|
returns(
|
|
157
|
-
|
|
170
|
+
T.nilable(
|
|
171
|
+
Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
|
|
172
|
+
)
|
|
158
173
|
)
|
|
159
174
|
end
|
|
160
|
-
|
|
175
|
+
attr_reader :statement_payment_type
|
|
161
176
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
177
|
+
sig do
|
|
178
|
+
params(
|
|
179
|
+
statement_payment_type:
|
|
180
|
+
Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
|
|
181
|
+
).void
|
|
182
|
+
end
|
|
183
|
+
attr_writer :statement_payment_type
|
|
168
184
|
|
|
169
185
|
# The loan details for the account.
|
|
170
186
|
sig do
|
|
171
187
|
params(
|
|
172
188
|
credit_limit: Integer,
|
|
173
189
|
grace_period_days: Integer,
|
|
190
|
+
maturity_date: Date,
|
|
174
191
|
statement_day_of_month: Integer,
|
|
175
192
|
statement_payment_type:
|
|
176
|
-
Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
|
|
177
|
-
maturity_date: Date
|
|
193
|
+
Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
|
|
178
194
|
).returns(T.attached_class)
|
|
179
195
|
end
|
|
180
196
|
def self.new(
|
|
@@ -182,13 +198,13 @@ module Increase
|
|
|
182
198
|
credit_limit:,
|
|
183
199
|
# The number of days after the statement date that the Account can be past due
|
|
184
200
|
# before being considered delinquent.
|
|
185
|
-
grace_period_days
|
|
201
|
+
grace_period_days: nil,
|
|
202
|
+
# The date on which the loan matures.
|
|
203
|
+
maturity_date: nil,
|
|
186
204
|
# The day of the month on which the loan statement is generated.
|
|
187
|
-
statement_day_of_month
|
|
205
|
+
statement_day_of_month: nil,
|
|
188
206
|
# The type of statement payment for the account.
|
|
189
|
-
statement_payment_type
|
|
190
|
-
# The date on which the loan matures.
|
|
191
|
-
maturity_date: nil
|
|
207
|
+
statement_payment_type: nil
|
|
192
208
|
)
|
|
193
209
|
end
|
|
194
210
|
|
|
@@ -197,10 +213,10 @@ module Increase
|
|
|
197
213
|
{
|
|
198
214
|
credit_limit: Integer,
|
|
199
215
|
grace_period_days: Integer,
|
|
216
|
+
maturity_date: Date,
|
|
200
217
|
statement_day_of_month: Integer,
|
|
201
218
|
statement_payment_type:
|
|
202
|
-
Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
|
|
203
|
-
maturity_date: Date
|
|
219
|
+
Increase::AccountCreateParams::Loan::StatementPaymentType::OrSymbol
|
|
204
220
|
}
|
|
205
221
|
)
|
|
206
222
|
end
|
|
@@ -97,7 +97,7 @@ module Increase
|
|
|
97
97
|
sig { params(individual_id: String).void }
|
|
98
98
|
attr_writer :individual_id
|
|
99
99
|
|
|
100
|
-
# The name of
|
|
100
|
+
# The name of the recipient. This value is informational and not verified by the
|
|
101
101
|
# recipient's bank.
|
|
102
102
|
sig { returns(T.nilable(String)) }
|
|
103
103
|
attr_reader :individual_name
|
|
@@ -174,7 +174,7 @@ module Increase
|
|
|
174
174
|
effective_date: nil,
|
|
175
175
|
# Your identifier for the recipient.
|
|
176
176
|
individual_id: nil,
|
|
177
|
-
# The name of
|
|
177
|
+
# The name of the recipient. This value is informational and not verified by the
|
|
178
178
|
# recipient's bank.
|
|
179
179
|
individual_name: nil,
|
|
180
180
|
# The
|
|
@@ -2576,7 +2576,7 @@ module Increase
|
|
|
2576
2576
|
end
|
|
2577
2577
|
|
|
2578
2578
|
# The timestamp by which any administrative returns are expected to be received
|
|
2579
|
-
# by. This follows the
|
|
2579
|
+
# by. This follows the Nacha guidelines for return windows, which are: "In
|
|
2580
2580
|
# general, return entries must be received by the RDFI’s ACH Operator by its
|
|
2581
2581
|
# deposit deadline for the return entry to be made available to the ODFI no later
|
|
2582
2582
|
# than the opening of business on the second banking day following the Settlement
|
|
@@ -2638,7 +2638,7 @@ module Increase
|
|
|
2638
2638
|
end
|
|
2639
2639
|
def self.new(
|
|
2640
2640
|
# The timestamp by which any administrative returns are expected to be received
|
|
2641
|
-
# by. This follows the
|
|
2641
|
+
# by. This follows the Nacha guidelines for return windows, which are: "In
|
|
2642
2642
|
# general, return entries must be received by the RDFI’s ACH Operator by its
|
|
2643
2643
|
# deposit deadline for the return entry to be made available to the ODFI no later
|
|
2644
2644
|
# than the opening of business on the second banking day following the Settlement
|
|
@@ -201,24 +201,6 @@ module Increase
|
|
|
201
201
|
end
|
|
202
202
|
attr_writer :standard_entry_class_code
|
|
203
203
|
|
|
204
|
-
# The timing of the transaction.
|
|
205
|
-
sig do
|
|
206
|
-
returns(
|
|
207
|
-
T.nilable(
|
|
208
|
-
Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol
|
|
209
|
-
)
|
|
210
|
-
)
|
|
211
|
-
end
|
|
212
|
-
attr_reader :transaction_timing
|
|
213
|
-
|
|
214
|
-
sig do
|
|
215
|
-
params(
|
|
216
|
-
transaction_timing:
|
|
217
|
-
Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol
|
|
218
|
-
).void
|
|
219
|
-
end
|
|
220
|
-
attr_writer :transaction_timing
|
|
221
|
-
|
|
222
204
|
sig do
|
|
223
205
|
params(
|
|
224
206
|
account_id: String,
|
|
@@ -242,8 +224,6 @@ module Increase
|
|
|
242
224
|
routing_number: String,
|
|
243
225
|
standard_entry_class_code:
|
|
244
226
|
Increase::ACHTransferCreateParams::StandardEntryClassCode::OrSymbol,
|
|
245
|
-
transaction_timing:
|
|
246
|
-
Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol,
|
|
247
227
|
request_options: Increase::RequestOptions::OrHash
|
|
248
228
|
).returns(T.attached_class)
|
|
249
229
|
end
|
|
@@ -318,8 +298,6 @@ module Increase
|
|
|
318
298
|
# to use for the transfer. If not provided, the default is
|
|
319
299
|
# `corporate_credit_or_debit`.
|
|
320
300
|
standard_entry_class_code: nil,
|
|
321
|
-
# The timing of the transaction.
|
|
322
|
-
transaction_timing: nil,
|
|
323
301
|
request_options: {}
|
|
324
302
|
)
|
|
325
303
|
end
|
|
@@ -348,8 +326,6 @@ module Increase
|
|
|
348
326
|
routing_number: String,
|
|
349
327
|
standard_entry_class_code:
|
|
350
328
|
Increase::ACHTransferCreateParams::StandardEntryClassCode::OrSymbol,
|
|
351
|
-
transaction_timing:
|
|
352
|
-
Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol,
|
|
353
329
|
request_options: Increase::RequestOptions
|
|
354
330
|
}
|
|
355
331
|
)
|
|
@@ -913,41 +889,6 @@ module Increase
|
|
|
913
889
|
def self.values
|
|
914
890
|
end
|
|
915
891
|
end
|
|
916
|
-
|
|
917
|
-
# The timing of the transaction.
|
|
918
|
-
module TransactionTiming
|
|
919
|
-
extend Increase::Internal::Type::Enum
|
|
920
|
-
|
|
921
|
-
TaggedSymbol =
|
|
922
|
-
T.type_alias do
|
|
923
|
-
T.all(Symbol, Increase::ACHTransferCreateParams::TransactionTiming)
|
|
924
|
-
end
|
|
925
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
926
|
-
|
|
927
|
-
# A Transaction will be created immediately.
|
|
928
|
-
SYNCHRONOUS =
|
|
929
|
-
T.let(
|
|
930
|
-
:synchronous,
|
|
931
|
-
Increase::ACHTransferCreateParams::TransactionTiming::TaggedSymbol
|
|
932
|
-
)
|
|
933
|
-
|
|
934
|
-
# A Transaction will be created when the funds settle at the Federal Reserve.
|
|
935
|
-
ASYNCHRONOUS =
|
|
936
|
-
T.let(
|
|
937
|
-
:asynchronous,
|
|
938
|
-
Increase::ACHTransferCreateParams::TransactionTiming::TaggedSymbol
|
|
939
|
-
)
|
|
940
|
-
|
|
941
|
-
sig do
|
|
942
|
-
override.returns(
|
|
943
|
-
T::Array[
|
|
944
|
-
Increase::ACHTransferCreateParams::TransactionTiming::TaggedSymbol
|
|
945
|
-
]
|
|
946
|
-
)
|
|
947
|
-
end
|
|
948
|
-
def self.values
|
|
949
|
-
end
|
|
950
|
-
end
|
|
951
892
|
end
|
|
952
893
|
end
|
|
953
894
|
end
|
|
@@ -93,6 +93,30 @@ module Increase
|
|
|
93
93
|
sig { returns(Integer) }
|
|
94
94
|
attr_accessor :due_balance
|
|
95
95
|
|
|
96
|
+
# The fees on the loan that are due and unpaid.
|
|
97
|
+
sig { returns(T.nilable(Integer)) }
|
|
98
|
+
attr_accessor :due_fees
|
|
99
|
+
|
|
100
|
+
# The interest on the loan that is due and unpaid.
|
|
101
|
+
sig { returns(T.nilable(Integer)) }
|
|
102
|
+
attr_accessor :due_interest
|
|
103
|
+
|
|
104
|
+
# The principal on the loan that is due and unpaid.
|
|
105
|
+
sig { returns(T.nilable(Integer)) }
|
|
106
|
+
attr_accessor :due_principal
|
|
107
|
+
|
|
108
|
+
# The fees on the loan that are not yet due.
|
|
109
|
+
sig { returns(T.nilable(Integer)) }
|
|
110
|
+
attr_accessor :not_due_fees
|
|
111
|
+
|
|
112
|
+
# The interest on the loan that is not yet due.
|
|
113
|
+
sig { returns(T.nilable(Integer)) }
|
|
114
|
+
attr_accessor :not_due_interest
|
|
115
|
+
|
|
116
|
+
# The principal on the loan that is not yet due.
|
|
117
|
+
sig { returns(T.nilable(Integer)) }
|
|
118
|
+
attr_accessor :not_due_principal
|
|
119
|
+
|
|
96
120
|
# The amount past due on the loan.
|
|
97
121
|
sig { returns(Integer) }
|
|
98
122
|
attr_accessor :past_due_balance
|
|
@@ -114,6 +138,12 @@ module Increase
|
|
|
114
138
|
params(
|
|
115
139
|
due_at: T.nilable(Time),
|
|
116
140
|
due_balance: Integer,
|
|
141
|
+
due_fees: T.nilable(Integer),
|
|
142
|
+
due_interest: T.nilable(Integer),
|
|
143
|
+
due_principal: T.nilable(Integer),
|
|
144
|
+
not_due_fees: T.nilable(Integer),
|
|
145
|
+
not_due_interest: T.nilable(Integer),
|
|
146
|
+
not_due_principal: T.nilable(Integer),
|
|
117
147
|
past_due_balance: Integer,
|
|
118
148
|
receivables:
|
|
119
149
|
T.nilable(Increase::BalanceLookup::Loan::Receivables::OrHash)
|
|
@@ -125,6 +155,18 @@ module Increase
|
|
|
125
155
|
due_at:,
|
|
126
156
|
# The total amount due on the loan.
|
|
127
157
|
due_balance:,
|
|
158
|
+
# The fees on the loan that are due and unpaid.
|
|
159
|
+
due_fees:,
|
|
160
|
+
# The interest on the loan that is due and unpaid.
|
|
161
|
+
due_interest:,
|
|
162
|
+
# The principal on the loan that is due and unpaid.
|
|
163
|
+
due_principal:,
|
|
164
|
+
# The fees on the loan that are not yet due.
|
|
165
|
+
not_due_fees:,
|
|
166
|
+
# The interest on the loan that is not yet due.
|
|
167
|
+
not_due_interest:,
|
|
168
|
+
# The principal on the loan that is not yet due.
|
|
169
|
+
not_due_principal:,
|
|
128
170
|
# The amount past due on the loan.
|
|
129
171
|
past_due_balance:,
|
|
130
172
|
# The receivables balances for the loan.
|
|
@@ -137,6 +179,12 @@ module Increase
|
|
|
137
179
|
{
|
|
138
180
|
due_at: T.nilable(Time),
|
|
139
181
|
due_balance: Integer,
|
|
182
|
+
due_fees: T.nilable(Integer),
|
|
183
|
+
due_interest: T.nilable(Integer),
|
|
184
|
+
due_principal: T.nilable(Integer),
|
|
185
|
+
not_due_fees: T.nilable(Integer),
|
|
186
|
+
not_due_interest: T.nilable(Integer),
|
|
187
|
+
not_due_principal: T.nilable(Integer),
|
|
140
188
|
past_due_balance: Integer,
|
|
141
189
|
receivables: T.nilable(Increase::BalanceLookup::Loan::Receivables)
|
|
142
190
|
}
|
|
@@ -40,6 +40,13 @@ module Increase
|
|
|
40
40
|
sig { params(confirmed_no_us_tax_id: T::Boolean).void }
|
|
41
41
|
attr_writer :confirmed_no_us_tax_id
|
|
42
42
|
|
|
43
|
+
# The person's date of birth in YYYY-MM-DD format.
|
|
44
|
+
sig { returns(T.nilable(Date)) }
|
|
45
|
+
attr_reader :date_of_birth
|
|
46
|
+
|
|
47
|
+
sig { params(date_of_birth: Date).void }
|
|
48
|
+
attr_writer :date_of_birth
|
|
49
|
+
|
|
43
50
|
# A means of verifying the person's identity.
|
|
44
51
|
sig do
|
|
45
52
|
returns(
|
|
@@ -89,6 +96,7 @@ module Increase
|
|
|
89
96
|
entity_beneficial_owner_id: String,
|
|
90
97
|
address: Increase::BeneficialOwnerUpdateParams::Address::OrHash,
|
|
91
98
|
confirmed_no_us_tax_id: T::Boolean,
|
|
99
|
+
date_of_birth: Date,
|
|
92
100
|
identification:
|
|
93
101
|
Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
|
|
94
102
|
name: String,
|
|
@@ -108,6 +116,8 @@ module Increase
|
|
|
108
116
|
# tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
109
117
|
# Number).
|
|
110
118
|
confirmed_no_us_tax_id: nil,
|
|
119
|
+
# The person's date of birth in YYYY-MM-DD format.
|
|
120
|
+
date_of_birth: nil,
|
|
111
121
|
# A means of verifying the person's identity.
|
|
112
122
|
identification: nil,
|
|
113
123
|
# The individual's legal name.
|
|
@@ -127,6 +137,7 @@ module Increase
|
|
|
127
137
|
entity_beneficial_owner_id: String,
|
|
128
138
|
address: Increase::BeneficialOwnerUpdateParams::Address,
|
|
129
139
|
confirmed_no_us_tax_id: T::Boolean,
|
|
140
|
+
date_of_birth: Date,
|
|
130
141
|
identification:
|
|
131
142
|
Increase::BeneficialOwnerUpdateParams::Identification,
|
|
132
143
|
name: String,
|
|
@@ -39,6 +39,18 @@ module Increase
|
|
|
39
39
|
sig { returns(String) }
|
|
40
40
|
attr_accessor :bin
|
|
41
41
|
|
|
42
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
43
|
+
# from acquirers in Card Validations.
|
|
44
|
+
sig { returns(T.nilable(Increase::Card::CardholderName)) }
|
|
45
|
+
attr_reader :cardholder_name
|
|
46
|
+
|
|
47
|
+
sig do
|
|
48
|
+
params(
|
|
49
|
+
cardholder_name: T.nilable(Increase::Card::CardholderName::OrHash)
|
|
50
|
+
).void
|
|
51
|
+
end
|
|
52
|
+
attr_writer :cardholder_name
|
|
53
|
+
|
|
42
54
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
43
55
|
# the Card was created.
|
|
44
56
|
sig { returns(Time) }
|
|
@@ -105,6 +117,7 @@ module Increase
|
|
|
105
117
|
T.nilable(Increase::Card::AuthorizationControls::OrHash),
|
|
106
118
|
billing_address: Increase::Card::BillingAddress::OrHash,
|
|
107
119
|
bin: String,
|
|
120
|
+
cardholder_name: T.nilable(Increase::Card::CardholderName::OrHash),
|
|
108
121
|
created_at: Time,
|
|
109
122
|
description: T.nilable(String),
|
|
110
123
|
digital_wallet: T.nilable(Increase::Card::DigitalWallet::OrHash),
|
|
@@ -128,6 +141,9 @@ module Increase
|
|
|
128
141
|
billing_address:,
|
|
129
142
|
# The Bank Identification Number (BIN) of the Card.
|
|
130
143
|
bin:,
|
|
144
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
145
|
+
# from acquirers in Card Validations.
|
|
146
|
+
cardholder_name:,
|
|
131
147
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
132
148
|
# the Card was created.
|
|
133
149
|
created_at:,
|
|
@@ -166,6 +182,7 @@ module Increase
|
|
|
166
182
|
T.nilable(Increase::Card::AuthorizationControls),
|
|
167
183
|
billing_address: Increase::Card::BillingAddress,
|
|
168
184
|
bin: String,
|
|
185
|
+
cardholder_name: T.nilable(Increase::Card::CardholderName),
|
|
169
186
|
created_at: Time,
|
|
170
187
|
description: T.nilable(String),
|
|
171
188
|
digital_wallet: T.nilable(Increase::Card::DigitalWallet),
|
|
@@ -1273,6 +1290,52 @@ module Increase
|
|
|
1273
1290
|
end
|
|
1274
1291
|
end
|
|
1275
1292
|
|
|
1293
|
+
class CardholderName < Increase::Internal::Type::BaseModel
|
|
1294
|
+
OrHash =
|
|
1295
|
+
T.type_alias do
|
|
1296
|
+
T.any(Increase::Card::CardholderName, Increase::Internal::AnyHash)
|
|
1297
|
+
end
|
|
1298
|
+
|
|
1299
|
+
# The cardholder's first name.
|
|
1300
|
+
sig { returns(String) }
|
|
1301
|
+
attr_accessor :first
|
|
1302
|
+
|
|
1303
|
+
# The cardholder's last name.
|
|
1304
|
+
sig { returns(String) }
|
|
1305
|
+
attr_accessor :last
|
|
1306
|
+
|
|
1307
|
+
# The cardholder's middle name.
|
|
1308
|
+
sig { returns(T.nilable(String)) }
|
|
1309
|
+
attr_accessor :middle
|
|
1310
|
+
|
|
1311
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
1312
|
+
# from acquirers in Card Validations.
|
|
1313
|
+
sig do
|
|
1314
|
+
params(
|
|
1315
|
+
first: String,
|
|
1316
|
+
last: String,
|
|
1317
|
+
middle: T.nilable(String)
|
|
1318
|
+
).returns(T.attached_class)
|
|
1319
|
+
end
|
|
1320
|
+
def self.new(
|
|
1321
|
+
# The cardholder's first name.
|
|
1322
|
+
first:,
|
|
1323
|
+
# The cardholder's last name.
|
|
1324
|
+
last:,
|
|
1325
|
+
# The cardholder's middle name.
|
|
1326
|
+
middle:
|
|
1327
|
+
)
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
sig do
|
|
1331
|
+
override.returns(
|
|
1332
|
+
{ first: String, last: String, middle: T.nilable(String) }
|
|
1333
|
+
)
|
|
1334
|
+
end
|
|
1335
|
+
def to_hash
|
|
1336
|
+
end
|
|
1337
|
+
end
|
|
1338
|
+
|
|
1276
1339
|
class DigitalWallet < Increase::Internal::Type::BaseModel
|
|
1277
1340
|
OrHash =
|
|
1278
1341
|
T.type_alias do
|
|
@@ -40,6 +40,18 @@ module Increase
|
|
|
40
40
|
end
|
|
41
41
|
attr_writer :billing_address
|
|
42
42
|
|
|
43
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
44
|
+
# from acquirers in Card Validations.
|
|
45
|
+
sig { returns(T.nilable(Increase::CardCreateParams::CardholderName)) }
|
|
46
|
+
attr_reader :cardholder_name
|
|
47
|
+
|
|
48
|
+
sig do
|
|
49
|
+
params(
|
|
50
|
+
cardholder_name: Increase::CardCreateParams::CardholderName::OrHash
|
|
51
|
+
).void
|
|
52
|
+
end
|
|
53
|
+
attr_writer :cardholder_name
|
|
54
|
+
|
|
43
55
|
# The description you choose to give the card.
|
|
44
56
|
sig { returns(T.nilable(String)) }
|
|
45
57
|
attr_reader :description
|
|
@@ -76,6 +88,7 @@ module Increase
|
|
|
76
88
|
authorization_controls:
|
|
77
89
|
Increase::CardCreateParams::AuthorizationControls::OrHash,
|
|
78
90
|
billing_address: Increase::CardCreateParams::BillingAddress::OrHash,
|
|
91
|
+
cardholder_name: Increase::CardCreateParams::CardholderName::OrHash,
|
|
79
92
|
description: String,
|
|
80
93
|
digital_wallet: Increase::CardCreateParams::DigitalWallet::OrHash,
|
|
81
94
|
entity_id: String,
|
|
@@ -89,6 +102,9 @@ module Increase
|
|
|
89
102
|
authorization_controls: nil,
|
|
90
103
|
# The card's billing address.
|
|
91
104
|
billing_address: nil,
|
|
105
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
106
|
+
# from acquirers in Card Validations.
|
|
107
|
+
cardholder_name: nil,
|
|
92
108
|
# The description you choose to give the card.
|
|
93
109
|
description: nil,
|
|
94
110
|
# The contact information used in the two-factor steps for digital wallet card
|
|
@@ -111,6 +127,7 @@ module Increase
|
|
|
111
127
|
authorization_controls:
|
|
112
128
|
Increase::CardCreateParams::AuthorizationControls,
|
|
113
129
|
billing_address: Increase::CardCreateParams::BillingAddress,
|
|
130
|
+
cardholder_name: Increase::CardCreateParams::CardholderName,
|
|
114
131
|
description: String,
|
|
115
132
|
digital_wallet: Increase::CardCreateParams::DigitalWallet,
|
|
116
133
|
entity_id: String,
|
|
@@ -1258,6 +1275,54 @@ module Increase
|
|
|
1258
1275
|
end
|
|
1259
1276
|
end
|
|
1260
1277
|
|
|
1278
|
+
class CardholderName < Increase::Internal::Type::BaseModel
|
|
1279
|
+
OrHash =
|
|
1280
|
+
T.type_alias do
|
|
1281
|
+
T.any(
|
|
1282
|
+
Increase::CardCreateParams::CardholderName,
|
|
1283
|
+
Increase::Internal::AnyHash
|
|
1284
|
+
)
|
|
1285
|
+
end
|
|
1286
|
+
|
|
1287
|
+
# The cardholder's first name.
|
|
1288
|
+
sig { returns(String) }
|
|
1289
|
+
attr_accessor :first
|
|
1290
|
+
|
|
1291
|
+
# The cardholder's last name.
|
|
1292
|
+
sig { returns(String) }
|
|
1293
|
+
attr_accessor :last
|
|
1294
|
+
|
|
1295
|
+
# The cardholder's middle name.
|
|
1296
|
+
sig { returns(T.nilable(String)) }
|
|
1297
|
+
attr_reader :middle
|
|
1298
|
+
|
|
1299
|
+
sig { params(middle: String).void }
|
|
1300
|
+
attr_writer :middle
|
|
1301
|
+
|
|
1302
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
1303
|
+
# from acquirers in Card Validations.
|
|
1304
|
+
sig do
|
|
1305
|
+
params(first: String, last: String, middle: String).returns(
|
|
1306
|
+
T.attached_class
|
|
1307
|
+
)
|
|
1308
|
+
end
|
|
1309
|
+
def self.new(
|
|
1310
|
+
# The cardholder's first name.
|
|
1311
|
+
first:,
|
|
1312
|
+
# The cardholder's last name.
|
|
1313
|
+
last:,
|
|
1314
|
+
# The cardholder's middle name.
|
|
1315
|
+
middle: nil
|
|
1316
|
+
)
|
|
1317
|
+
end
|
|
1318
|
+
|
|
1319
|
+
sig do
|
|
1320
|
+
override.returns({ first: String, last: String, middle: String })
|
|
1321
|
+
end
|
|
1322
|
+
def to_hash
|
|
1323
|
+
end
|
|
1324
|
+
end
|
|
1325
|
+
|
|
1261
1326
|
class DigitalWallet < Increase::Internal::Type::BaseModel
|
|
1262
1327
|
OrHash =
|
|
1263
1328
|
T.type_alias do
|
|
@@ -372,7 +372,7 @@ module Increase
|
|
|
372
372
|
# The Card Dispute has been won and no further action can be taken.
|
|
373
373
|
WON = T.let(:won, Increase::CardDispute::Status::TaggedSymbol)
|
|
374
374
|
|
|
375
|
-
# The Card Dispute
|
|
375
|
+
# The Card Dispute was rejected before it was submitted to the network, either by Increase or because the user withdrew it. Please review the explanation for more details.
|
|
376
376
|
REJECTED = T.let(:rejected, Increase::CardDispute::Status::TaggedSymbol)
|
|
377
377
|
|
|
378
378
|
sig do
|
|
@@ -284,7 +284,7 @@ module Increase
|
|
|
284
284
|
Increase::CardDisputeListParams::Status::In::TaggedSymbol
|
|
285
285
|
)
|
|
286
286
|
|
|
287
|
-
# The Card Dispute
|
|
287
|
+
# The Card Dispute was rejected before it was submitted to the network, either by Increase or because the user withdrew it. Please review the explanation for more details.
|
|
288
288
|
REJECTED =
|
|
289
289
|
T.let(
|
|
290
290
|
:rejected,
|
|
@@ -2585,6 +2585,14 @@ module Increase
|
|
|
2585
2585
|
sig { returns(T.nilable(Integer)) }
|
|
2586
2586
|
attr_accessor :network_risk_score
|
|
2587
2587
|
|
|
2588
|
+
# The ID of the Card Payment containing the original authorization or card
|
|
2589
|
+
# validation this transaction references. For a merchant-initiated transaction,
|
|
2590
|
+
# this is the Card Payment from when the card was first stored, which is typically
|
|
2591
|
+
# where the CVV2 was verified. The reference this is derived from is supplied by
|
|
2592
|
+
# the merchant or their acquirer, so it is not guaranteed to be present.
|
|
2593
|
+
sig { returns(T.nilable(String)) }
|
|
2594
|
+
attr_accessor :original_card_payment_id
|
|
2595
|
+
|
|
2588
2596
|
# The identifier of the Pending Transaction associated with this Transaction.
|
|
2589
2597
|
sig { returns(T.nilable(String)) }
|
|
2590
2598
|
attr_accessor :pending_transaction_id
|
|
@@ -2692,6 +2700,7 @@ module Increase
|
|
|
2692
2700
|
network_identifiers:
|
|
2693
2701
|
Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers::OrHash,
|
|
2694
2702
|
network_risk_score: T.nilable(Integer),
|
|
2703
|
+
original_card_payment_id: T.nilable(String),
|
|
2695
2704
|
pending_transaction_id: T.nilable(String),
|
|
2696
2705
|
physical_card_id: T.nilable(String),
|
|
2697
2706
|
presentment_amount: Integer,
|
|
@@ -2765,6 +2774,12 @@ module Increase
|
|
|
2765
2774
|
# Authorization risk score, from 0 to 99, where 99 is the riskiest. For Pulse the
|
|
2766
2775
|
# score is from 0 to 999, where 999 is the riskiest.
|
|
2767
2776
|
network_risk_score:,
|
|
2777
|
+
# The ID of the Card Payment containing the original authorization or card
|
|
2778
|
+
# validation this transaction references. For a merchant-initiated transaction,
|
|
2779
|
+
# this is the Card Payment from when the card was first stored, which is typically
|
|
2780
|
+
# where the CVV2 was verified. The reference this is derived from is supplied by
|
|
2781
|
+
# the merchant or their acquirer, so it is not guaranteed to be present.
|
|
2782
|
+
original_card_payment_id:,
|
|
2768
2783
|
# The identifier of the Pending Transaction associated with this Transaction.
|
|
2769
2784
|
pending_transaction_id:,
|
|
2770
2785
|
# If the authorization was made in-person with a physical card, the Physical Card
|
|
@@ -2826,6 +2841,7 @@ module Increase
|
|
|
2826
2841
|
network_identifiers:
|
|
2827
2842
|
Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers,
|
|
2828
2843
|
network_risk_score: T.nilable(Integer),
|
|
2844
|
+
original_card_payment_id: T.nilable(String),
|
|
2829
2845
|
pending_transaction_id: T.nilable(String),
|
|
2830
2846
|
physical_card_id: T.nilable(String),
|
|
2831
2847
|
presentment_amount: Integer,
|
|
@@ -791,6 +791,10 @@ module Increase
|
|
|
791
791
|
sig { returns(T::Array[Increase::CheckTransfer::PhysicalCheck::Payer]) }
|
|
792
792
|
attr_accessor :payer
|
|
793
793
|
|
|
794
|
+
# The identifier of the Physical Check Batch that this check is a part of.
|
|
795
|
+
sig { returns(T.nilable(String)) }
|
|
796
|
+
attr_accessor :physical_check_batch_id
|
|
797
|
+
|
|
794
798
|
# The name that will be printed on the check.
|
|
795
799
|
sig { returns(String) }
|
|
796
800
|
attr_accessor :recipient_name
|
|
@@ -857,6 +861,7 @@ module Increase
|
|
|
857
861
|
note: T.nilable(String),
|
|
858
862
|
payer:
|
|
859
863
|
T::Array[Increase::CheckTransfer::PhysicalCheck::Payer::OrHash],
|
|
864
|
+
physical_check_batch_id: T.nilable(String),
|
|
860
865
|
recipient_name: String,
|
|
861
866
|
return_address:
|
|
862
867
|
T.nilable(
|
|
@@ -887,6 +892,8 @@ module Increase
|
|
|
887
892
|
# The payer of the check. This will be printed on the top-left portion of the
|
|
888
893
|
# check and defaults to the return address if unspecified.
|
|
889
894
|
payer:,
|
|
895
|
+
# The identifier of the Physical Check Batch that this check is a part of.
|
|
896
|
+
physical_check_batch_id:,
|
|
890
897
|
# The name that will be printed on the check.
|
|
891
898
|
recipient_name:,
|
|
892
899
|
# The return address to be printed on the check.
|
|
@@ -913,6 +920,7 @@ module Increase
|
|
|
913
920
|
memo: T.nilable(String),
|
|
914
921
|
note: T.nilable(String),
|
|
915
922
|
payer: T::Array[Increase::CheckTransfer::PhysicalCheck::Payer],
|
|
923
|
+
physical_check_batch_id: T.nilable(String),
|
|
916
924
|
recipient_name: String,
|
|
917
925
|
return_address:
|
|
918
926
|
T.nilable(
|
|
@@ -1369,6 +1377,13 @@ module Increase
|
|
|
1369
1377
|
CANCELED =
|
|
1370
1378
|
T.let(:canceled, Increase::CheckTransfer::Status::TaggedSymbol)
|
|
1371
1379
|
|
|
1380
|
+
# The transfer is waiting for its Physical Check Batch to be completed.
|
|
1381
|
+
PENDING_BATCH_COMPLETING =
|
|
1382
|
+
T.let(
|
|
1383
|
+
:pending_batch_completing,
|
|
1384
|
+
Increase::CheckTransfer::Status::TaggedSymbol
|
|
1385
|
+
)
|
|
1386
|
+
|
|
1372
1387
|
# The transfer is pending submission.
|
|
1373
1388
|
PENDING_SUBMISSION =
|
|
1374
1389
|
T.let(
|