increase 1.347.0 → 1.348.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/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 +22 -4
- data/lib/increase/models/entity_update_params.rb +754 -1
- data/lib/increase/models/event.rb +9 -0
- data/lib/increase/models/event_list_params.rb +9 -0
- data/lib/increase/models/event_subscription.rb +9 -0
- data/lib/increase/models/event_subscription_create_params.rb +9 -0
- data/lib/increase/models/file.rb +7 -6
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/pending_transaction.rb +18 -1
- 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/real_time_payments_transfer_complete_params.rb +18 -18
- data/lib/increase/models/unwrap_webhook_event.rb +9 -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/real_time_payments_transfers.rb +5 -1
- data/lib/increase/version.rb +1 -1
- 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 +61 -3
- data/rbi/increase/models/entity_update_params.rbi +1326 -3
- data/rbi/increase/models/event.rbi +21 -0
- data/rbi/increase/models/event_list_params.rbi +21 -0
- data/rbi/increase/models/event_subscription.rbi +21 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +21 -0
- data/rbi/increase/models/file.rbi +7 -6
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/pending_transaction.rbi +16 -0
- 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/real_time_payments_transfer_complete_params.rbi +18 -18
- data/rbi/increase/models/unwrap_webhook_event.rbi +21 -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/real_time_payments_transfers.rbi +4 -0
- 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 +21 -4
- data/sig/increase/models/entity_update_params.rbs +585 -3
- data/sig/increase/models/event.rbs +12 -0
- data/sig/increase/models/event_list_params.rbs +12 -0
- data/sig/increase/models/event_subscription.rbs +12 -0
- data/sig/increase/models/event_subscription_create_params.rbs +12 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
- data/sig/increase/models/pending_transaction.rbs +5 -0
- 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/real_time_payments_transfer_complete_params.rbs +18 -18
- data/sig/increase/models/unwrap_webhook_event.rbs +12 -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
|
@@ -121,42 +121,42 @@ module Increase
|
|
|
121
121
|
end
|
|
122
122
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
123
123
|
|
|
124
|
-
# The destination account is closed. Corresponds to the Real-Time Payments reason code
|
|
124
|
+
# The destination account is closed. Corresponds to the Real-Time Payments reason code "AC04".
|
|
125
125
|
ACCOUNT_CLOSED =
|
|
126
126
|
T.let(
|
|
127
127
|
:account_closed,
|
|
128
128
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
129
129
|
)
|
|
130
130
|
|
|
131
|
-
# The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code
|
|
131
|
+
# The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code "AC06".
|
|
132
132
|
ACCOUNT_BLOCKED =
|
|
133
133
|
T.let(
|
|
134
134
|
:account_blocked,
|
|
135
135
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
136
136
|
)
|
|
137
137
|
|
|
138
|
-
# The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code
|
|
138
|
+
# The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code "AC14".
|
|
139
139
|
INVALID_CREDITOR_ACCOUNT_TYPE =
|
|
140
140
|
T.let(
|
|
141
141
|
:invalid_creditor_account_type,
|
|
142
142
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
143
143
|
)
|
|
144
144
|
|
|
145
|
-
# The destination account does not exist. Corresponds to the Real-Time Payments reason code
|
|
145
|
+
# The destination account does not exist. Corresponds to the Real-Time Payments reason code "AC03".
|
|
146
146
|
INVALID_CREDITOR_ACCOUNT_NUMBER =
|
|
147
147
|
T.let(
|
|
148
148
|
:invalid_creditor_account_number,
|
|
149
149
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
150
150
|
)
|
|
151
151
|
|
|
152
|
-
# The destination routing number is invalid. Corresponds to the Real-Time Payments reason code
|
|
152
|
+
# The destination routing number is invalid. Corresponds to the Real-Time Payments reason code "RC04".
|
|
153
153
|
INVALID_CREDITOR_FINANCIAL_INSTITUTION_IDENTIFIER =
|
|
154
154
|
T.let(
|
|
155
155
|
:invalid_creditor_financial_institution_identifier,
|
|
156
156
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
157
157
|
)
|
|
158
158
|
|
|
159
|
-
# The destination account holder is deceased. Corresponds to the Real-Time Payments reason code
|
|
159
|
+
# The destination account holder is deceased. Corresponds to the Real-Time Payments reason code "MD07".
|
|
160
160
|
END_CUSTOMER_DECEASED =
|
|
161
161
|
T.let(
|
|
162
162
|
:end_customer_deceased,
|
|
@@ -170,84 +170,84 @@ module Increase
|
|
|
170
170
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
171
171
|
)
|
|
172
172
|
|
|
173
|
-
# Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code
|
|
173
|
+
# Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code "AG01".
|
|
174
174
|
TRANSACTION_FORBIDDEN =
|
|
175
175
|
T.let(
|
|
176
176
|
:transaction_forbidden,
|
|
177
177
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
178
178
|
)
|
|
179
179
|
|
|
180
|
-
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code
|
|
180
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "AG03".
|
|
181
181
|
TRANSACTION_TYPE_NOT_SUPPORTED =
|
|
182
182
|
T.let(
|
|
183
183
|
:transaction_type_not_supported,
|
|
184
184
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
185
185
|
)
|
|
186
186
|
|
|
187
|
-
# The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code
|
|
187
|
+
# The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code "AM09".
|
|
188
188
|
UNEXPECTED_AMOUNT =
|
|
189
189
|
T.let(
|
|
190
190
|
:unexpected_amount,
|
|
191
191
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
192
192
|
)
|
|
193
193
|
|
|
194
|
-
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code
|
|
194
|
+
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code "AM14".
|
|
195
195
|
AMOUNT_EXCEEDS_BANK_LIMITS =
|
|
196
196
|
T.let(
|
|
197
197
|
:amount_exceeds_bank_limits,
|
|
198
198
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
199
199
|
)
|
|
200
200
|
|
|
201
|
-
# The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code
|
|
201
|
+
# The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE04".
|
|
202
202
|
INVALID_CREDITOR_ADDRESS =
|
|
203
203
|
T.let(
|
|
204
204
|
:invalid_creditor_address,
|
|
205
205
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
206
206
|
)
|
|
207
207
|
|
|
208
|
-
# The specified creditor is unknown. Corresponds to the Real-Time Payments reason code
|
|
208
|
+
# The specified creditor is unknown. Corresponds to the Real-Time Payments reason code "BE06".
|
|
209
209
|
UNKNOWN_END_CUSTOMER =
|
|
210
210
|
T.let(
|
|
211
211
|
:unknown_end_customer,
|
|
212
212
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
213
213
|
)
|
|
214
214
|
|
|
215
|
-
# The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code
|
|
215
|
+
# The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE07".
|
|
216
216
|
INVALID_DEBTOR_ADDRESS =
|
|
217
217
|
T.let(
|
|
218
218
|
:invalid_debtor_address,
|
|
219
219
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
220
220
|
)
|
|
221
221
|
|
|
222
|
-
# There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code
|
|
222
|
+
# There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code "DS24".
|
|
223
223
|
TIMEOUT =
|
|
224
224
|
T.let(
|
|
225
225
|
:timeout,
|
|
226
226
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
227
227
|
)
|
|
228
228
|
|
|
229
|
-
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code
|
|
229
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "NOAT".
|
|
230
230
|
UNSUPPORTED_MESSAGE_FOR_RECIPIENT =
|
|
231
231
|
T.let(
|
|
232
232
|
:unsupported_message_for_recipient,
|
|
233
233
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
234
234
|
)
|
|
235
235
|
|
|
236
|
-
# The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code
|
|
236
|
+
# The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code "9912".
|
|
237
237
|
RECIPIENT_CONNECTION_NOT_AVAILABLE =
|
|
238
238
|
T.let(
|
|
239
239
|
:recipient_connection_not_available,
|
|
240
240
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
241
241
|
)
|
|
242
242
|
|
|
243
|
-
# Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code
|
|
243
|
+
# Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code "9948".
|
|
244
244
|
REAL_TIME_PAYMENTS_SUSPENDED =
|
|
245
245
|
T.let(
|
|
246
246
|
:real_time_payments_suspended,
|
|
247
247
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
248
248
|
)
|
|
249
249
|
|
|
250
|
-
# The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code
|
|
250
|
+
# The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code "9910".
|
|
251
251
|
INSTRUCTED_AGENT_SIGNED_OFF =
|
|
252
252
|
T.let(
|
|
253
253
|
:instructed_agent_signed_off,
|
|
@@ -629,6 +629,13 @@ module Increase
|
|
|
629
629
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
630
630
|
)
|
|
631
631
|
|
|
632
|
+
# Occurs whenever a Loan Obligation is created.
|
|
633
|
+
LOAN_OBLIGATION_CREATED =
|
|
634
|
+
T.let(
|
|
635
|
+
:"loan_obligation.created",
|
|
636
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
637
|
+
)
|
|
638
|
+
|
|
632
639
|
# Occurs whenever a Loan Offer is created.
|
|
633
640
|
LOAN_OFFER_CREATED =
|
|
634
641
|
T.let(
|
|
@@ -664,6 +671,20 @@ module Increase
|
|
|
664
671
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
665
672
|
)
|
|
666
673
|
|
|
674
|
+
# Occurs whenever a Lockbox Address is created.
|
|
675
|
+
LOCKBOX_ADDRESS_CREATED =
|
|
676
|
+
T.let(
|
|
677
|
+
:"lockbox_address.created",
|
|
678
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
679
|
+
)
|
|
680
|
+
|
|
681
|
+
# Occurs whenever a Lockbox Address is updated.
|
|
682
|
+
LOCKBOX_ADDRESS_UPDATED =
|
|
683
|
+
T.let(
|
|
684
|
+
:"lockbox_address.updated",
|
|
685
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
686
|
+
)
|
|
687
|
+
|
|
667
688
|
# Occurs whenever an OAuth Connection is created.
|
|
668
689
|
OAUTH_CONNECTION_CREATED =
|
|
669
690
|
T.let(
|
|
@@ -231,93 +231,135 @@ module Increase
|
|
|
231
231
|
)
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
-
#
|
|
234
|
+
# Structured address components. City and country are required.
|
|
235
235
|
sig do
|
|
236
236
|
returns(
|
|
237
237
|
T.nilable(
|
|
238
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
238
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured
|
|
239
239
|
)
|
|
240
240
|
)
|
|
241
241
|
end
|
|
242
|
-
attr_reader :
|
|
242
|
+
attr_reader :structured
|
|
243
243
|
|
|
244
244
|
sig do
|
|
245
245
|
params(
|
|
246
|
-
|
|
247
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
246
|
+
structured:
|
|
247
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured::OrHash
|
|
248
248
|
).void
|
|
249
249
|
end
|
|
250
|
-
attr_writer :
|
|
250
|
+
attr_writer :structured
|
|
251
251
|
|
|
252
252
|
# The person or business's address.
|
|
253
253
|
sig do
|
|
254
254
|
params(
|
|
255
|
-
|
|
256
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
255
|
+
structured:
|
|
256
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured::OrHash
|
|
257
257
|
).returns(T.attached_class)
|
|
258
258
|
end
|
|
259
259
|
def self.new(
|
|
260
|
-
#
|
|
261
|
-
|
|
260
|
+
# Structured address components. City and country are required.
|
|
261
|
+
structured: nil
|
|
262
262
|
)
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
sig do
|
|
266
266
|
override.returns(
|
|
267
267
|
{
|
|
268
|
-
|
|
269
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
268
|
+
structured:
|
|
269
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured
|
|
270
270
|
}
|
|
271
271
|
)
|
|
272
272
|
end
|
|
273
273
|
def to_hash
|
|
274
274
|
end
|
|
275
275
|
|
|
276
|
-
class
|
|
276
|
+
class Structured < Increase::Internal::Type::BaseModel
|
|
277
277
|
OrHash =
|
|
278
278
|
T.type_alias do
|
|
279
279
|
T.any(
|
|
280
|
-
Increase::WireTransferCreateParams::Creditor::Address::
|
|
280
|
+
Increase::WireTransferCreateParams::Creditor::Address::Structured,
|
|
281
281
|
Increase::Internal::AnyHash
|
|
282
282
|
)
|
|
283
283
|
end
|
|
284
284
|
|
|
285
|
-
# The
|
|
285
|
+
# The city, district, town, or village of the address.
|
|
286
|
+
sig { returns(String) }
|
|
287
|
+
attr_accessor :city
|
|
288
|
+
|
|
289
|
+
# The two-letter
|
|
290
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
|
291
|
+
# the country of the address.
|
|
286
292
|
sig { returns(String) }
|
|
287
|
-
attr_accessor :
|
|
293
|
+
attr_accessor :country
|
|
294
|
+
|
|
295
|
+
# The first line of the address.
|
|
296
|
+
sig { returns(T.nilable(String)) }
|
|
297
|
+
attr_reader :line1
|
|
288
298
|
|
|
289
|
-
|
|
299
|
+
sig { params(line1: String).void }
|
|
300
|
+
attr_writer :line1
|
|
301
|
+
|
|
302
|
+
# The second line of the address.
|
|
290
303
|
sig { returns(T.nilable(String)) }
|
|
291
304
|
attr_reader :line2
|
|
292
305
|
|
|
293
306
|
sig { params(line2: String).void }
|
|
294
307
|
attr_writer :line2
|
|
295
308
|
|
|
296
|
-
# The
|
|
309
|
+
# The postal code of the address.
|
|
310
|
+
sig { returns(T.nilable(String)) }
|
|
311
|
+
attr_reader :postal_code
|
|
312
|
+
|
|
313
|
+
sig { params(postal_code: String).void }
|
|
314
|
+
attr_writer :postal_code
|
|
315
|
+
|
|
316
|
+
# The address state.
|
|
297
317
|
sig { returns(T.nilable(String)) }
|
|
298
|
-
attr_reader :
|
|
318
|
+
attr_reader :state
|
|
299
319
|
|
|
300
|
-
sig { params(
|
|
301
|
-
attr_writer :
|
|
320
|
+
sig { params(state: String).void }
|
|
321
|
+
attr_writer :state
|
|
302
322
|
|
|
303
|
-
#
|
|
323
|
+
# Structured address components. City and country are required.
|
|
304
324
|
sig do
|
|
305
|
-
params(
|
|
306
|
-
|
|
307
|
-
|
|
325
|
+
params(
|
|
326
|
+
city: String,
|
|
327
|
+
country: String,
|
|
328
|
+
line1: String,
|
|
329
|
+
line2: String,
|
|
330
|
+
postal_code: String,
|
|
331
|
+
state: String
|
|
332
|
+
).returns(T.attached_class)
|
|
308
333
|
end
|
|
309
334
|
def self.new(
|
|
310
|
-
# The
|
|
311
|
-
|
|
312
|
-
# The
|
|
335
|
+
# The city, district, town, or village of the address.
|
|
336
|
+
city:,
|
|
337
|
+
# The two-letter
|
|
338
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
|
339
|
+
# the country of the address.
|
|
340
|
+
country:,
|
|
341
|
+
# The first line of the address.
|
|
342
|
+
line1: nil,
|
|
343
|
+
# The second line of the address.
|
|
313
344
|
line2: nil,
|
|
314
|
-
# The
|
|
315
|
-
|
|
345
|
+
# The postal code of the address.
|
|
346
|
+
postal_code: nil,
|
|
347
|
+
# The address state.
|
|
348
|
+
state: nil
|
|
316
349
|
)
|
|
317
350
|
end
|
|
318
351
|
|
|
319
352
|
sig do
|
|
320
|
-
override.returns(
|
|
353
|
+
override.returns(
|
|
354
|
+
{
|
|
355
|
+
city: String,
|
|
356
|
+
country: String,
|
|
357
|
+
line1: String,
|
|
358
|
+
line2: String,
|
|
359
|
+
postal_code: String,
|
|
360
|
+
state: String
|
|
361
|
+
}
|
|
362
|
+
)
|
|
321
363
|
end
|
|
322
364
|
def to_hash
|
|
323
365
|
end
|
|
@@ -597,93 +639,135 @@ module Increase
|
|
|
597
639
|
)
|
|
598
640
|
end
|
|
599
641
|
|
|
600
|
-
#
|
|
642
|
+
# Structured address components. City and country are required.
|
|
601
643
|
sig do
|
|
602
644
|
returns(
|
|
603
645
|
T.nilable(
|
|
604
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
646
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured
|
|
605
647
|
)
|
|
606
648
|
)
|
|
607
649
|
end
|
|
608
|
-
attr_reader :
|
|
650
|
+
attr_reader :structured
|
|
609
651
|
|
|
610
652
|
sig do
|
|
611
653
|
params(
|
|
612
|
-
|
|
613
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
654
|
+
structured:
|
|
655
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured::OrHash
|
|
614
656
|
).void
|
|
615
657
|
end
|
|
616
|
-
attr_writer :
|
|
658
|
+
attr_writer :structured
|
|
617
659
|
|
|
618
660
|
# The person or business's address.
|
|
619
661
|
sig do
|
|
620
662
|
params(
|
|
621
|
-
|
|
622
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
663
|
+
structured:
|
|
664
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured::OrHash
|
|
623
665
|
).returns(T.attached_class)
|
|
624
666
|
end
|
|
625
667
|
def self.new(
|
|
626
|
-
#
|
|
627
|
-
|
|
668
|
+
# Structured address components. City and country are required.
|
|
669
|
+
structured: nil
|
|
628
670
|
)
|
|
629
671
|
end
|
|
630
672
|
|
|
631
673
|
sig do
|
|
632
674
|
override.returns(
|
|
633
675
|
{
|
|
634
|
-
|
|
635
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
676
|
+
structured:
|
|
677
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured
|
|
636
678
|
}
|
|
637
679
|
)
|
|
638
680
|
end
|
|
639
681
|
def to_hash
|
|
640
682
|
end
|
|
641
683
|
|
|
642
|
-
class
|
|
684
|
+
class Structured < Increase::Internal::Type::BaseModel
|
|
643
685
|
OrHash =
|
|
644
686
|
T.type_alias do
|
|
645
687
|
T.any(
|
|
646
|
-
Increase::WireTransferCreateParams::Debtor::Address::
|
|
688
|
+
Increase::WireTransferCreateParams::Debtor::Address::Structured,
|
|
647
689
|
Increase::Internal::AnyHash
|
|
648
690
|
)
|
|
649
691
|
end
|
|
650
692
|
|
|
651
|
-
# The
|
|
693
|
+
# The city, district, town, or village of the address.
|
|
694
|
+
sig { returns(String) }
|
|
695
|
+
attr_accessor :city
|
|
696
|
+
|
|
697
|
+
# The two-letter
|
|
698
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
|
699
|
+
# the country of the address.
|
|
652
700
|
sig { returns(String) }
|
|
653
|
-
attr_accessor :
|
|
701
|
+
attr_accessor :country
|
|
702
|
+
|
|
703
|
+
# The first line of the address.
|
|
704
|
+
sig { returns(T.nilable(String)) }
|
|
705
|
+
attr_reader :line1
|
|
654
706
|
|
|
655
|
-
|
|
707
|
+
sig { params(line1: String).void }
|
|
708
|
+
attr_writer :line1
|
|
709
|
+
|
|
710
|
+
# The second line of the address.
|
|
656
711
|
sig { returns(T.nilable(String)) }
|
|
657
712
|
attr_reader :line2
|
|
658
713
|
|
|
659
714
|
sig { params(line2: String).void }
|
|
660
715
|
attr_writer :line2
|
|
661
716
|
|
|
662
|
-
# The
|
|
717
|
+
# The postal code of the address.
|
|
718
|
+
sig { returns(T.nilable(String)) }
|
|
719
|
+
attr_reader :postal_code
|
|
720
|
+
|
|
721
|
+
sig { params(postal_code: String).void }
|
|
722
|
+
attr_writer :postal_code
|
|
723
|
+
|
|
724
|
+
# The address state.
|
|
663
725
|
sig { returns(T.nilable(String)) }
|
|
664
|
-
attr_reader :
|
|
726
|
+
attr_reader :state
|
|
665
727
|
|
|
666
|
-
sig { params(
|
|
667
|
-
attr_writer :
|
|
728
|
+
sig { params(state: String).void }
|
|
729
|
+
attr_writer :state
|
|
668
730
|
|
|
669
|
-
#
|
|
731
|
+
# Structured address components. City and country are required.
|
|
670
732
|
sig do
|
|
671
|
-
params(
|
|
672
|
-
|
|
673
|
-
|
|
733
|
+
params(
|
|
734
|
+
city: String,
|
|
735
|
+
country: String,
|
|
736
|
+
line1: String,
|
|
737
|
+
line2: String,
|
|
738
|
+
postal_code: String,
|
|
739
|
+
state: String
|
|
740
|
+
).returns(T.attached_class)
|
|
674
741
|
end
|
|
675
742
|
def self.new(
|
|
676
|
-
# The
|
|
677
|
-
|
|
678
|
-
# The
|
|
743
|
+
# The city, district, town, or village of the address.
|
|
744
|
+
city:,
|
|
745
|
+
# The two-letter
|
|
746
|
+
# [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
|
|
747
|
+
# the country of the address.
|
|
748
|
+
country:,
|
|
749
|
+
# The first line of the address.
|
|
750
|
+
line1: nil,
|
|
751
|
+
# The second line of the address.
|
|
679
752
|
line2: nil,
|
|
680
|
-
# The
|
|
681
|
-
|
|
753
|
+
# The postal code of the address.
|
|
754
|
+
postal_code: nil,
|
|
755
|
+
# The address state.
|
|
756
|
+
state: nil
|
|
682
757
|
)
|
|
683
758
|
end
|
|
684
759
|
|
|
685
760
|
sig do
|
|
686
|
-
override.returns(
|
|
761
|
+
override.returns(
|
|
762
|
+
{
|
|
763
|
+
city: String,
|
|
764
|
+
country: String,
|
|
765
|
+
line1: String,
|
|
766
|
+
line2: String,
|
|
767
|
+
postal_code: String,
|
|
768
|
+
state: String
|
|
769
|
+
}
|
|
770
|
+
)
|
|
687
771
|
end
|
|
688
772
|
def to_hash
|
|
689
773
|
end
|
|
@@ -51,7 +51,7 @@ module Increase
|
|
|
51
51
|
effective_date: nil,
|
|
52
52
|
# Your identifier for the recipient.
|
|
53
53
|
individual_id: nil,
|
|
54
|
-
# The name of
|
|
54
|
+
# The name of the recipient. This value is informational and not verified by the
|
|
55
55
|
# recipient's bank.
|
|
56
56
|
individual_name: nil,
|
|
57
57
|
# The
|
|
@@ -27,8 +27,6 @@ module Increase
|
|
|
27
27
|
routing_number: String,
|
|
28
28
|
standard_entry_class_code:
|
|
29
29
|
Increase::ACHTransferCreateParams::StandardEntryClassCode::OrSymbol,
|
|
30
|
-
transaction_timing:
|
|
31
|
-
Increase::ACHTransferCreateParams::TransactionTiming::OrSymbol,
|
|
32
30
|
request_options: Increase::RequestOptions::OrHash
|
|
33
31
|
).returns(Increase::ACHTransfer)
|
|
34
32
|
end
|
|
@@ -103,8 +101,6 @@ module Increase
|
|
|
103
101
|
# to use for the transfer. If not provided, the default is
|
|
104
102
|
# `corporate_credit_or_debit`.
|
|
105
103
|
standard_entry_class_code: nil,
|
|
106
|
-
# The timing of the transaction.
|
|
107
|
-
transaction_timing: nil,
|
|
108
104
|
request_options: {}
|
|
109
105
|
)
|
|
110
106
|
end
|
|
@@ -50,6 +50,7 @@ module Increase
|
|
|
50
50
|
entity_beneficial_owner_id: String,
|
|
51
51
|
address: Increase::BeneficialOwnerUpdateParams::Address::OrHash,
|
|
52
52
|
confirmed_no_us_tax_id: T::Boolean,
|
|
53
|
+
date_of_birth: Date,
|
|
53
54
|
identification:
|
|
54
55
|
Increase::BeneficialOwnerUpdateParams::Identification::OrHash,
|
|
55
56
|
name: String,
|
|
@@ -69,6 +70,8 @@ module Increase
|
|
|
69
70
|
# tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
70
71
|
# Number).
|
|
71
72
|
confirmed_no_us_tax_id: nil,
|
|
73
|
+
# The person's date of birth in YYYY-MM-DD format.
|
|
74
|
+
date_of_birth: nil,
|
|
72
75
|
# A means of verifying the person's identity.
|
|
73
76
|
identification: nil,
|
|
74
77
|
# The individual's legal name.
|
|
@@ -10,6 +10,7 @@ module Increase
|
|
|
10
10
|
authorization_controls:
|
|
11
11
|
Increase::CardCreateParams::AuthorizationControls::OrHash,
|
|
12
12
|
billing_address: Increase::CardCreateParams::BillingAddress::OrHash,
|
|
13
|
+
cardholder_name: Increase::CardCreateParams::CardholderName::OrHash,
|
|
13
14
|
description: String,
|
|
14
15
|
digital_wallet: Increase::CardCreateParams::DigitalWallet::OrHash,
|
|
15
16
|
entity_id: String,
|
|
@@ -23,6 +24,9 @@ module Increase
|
|
|
23
24
|
authorization_controls: nil,
|
|
24
25
|
# The card's billing address.
|
|
25
26
|
billing_address: nil,
|
|
27
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
28
|
+
# from acquirers in Card Validations.
|
|
29
|
+
cardholder_name: nil,
|
|
26
30
|
# The description you choose to give the card.
|
|
27
31
|
description: nil,
|
|
28
32
|
# The contact information used in the two-factor steps for digital wallet card
|
|
@@ -13,6 +13,7 @@ module Increase
|
|
|
13
13
|
account_number: String,
|
|
14
14
|
debtor_name: String,
|
|
15
15
|
external_account_id: String,
|
|
16
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
16
17
|
require_approval: T::Boolean,
|
|
17
18
|
routing_number: String,
|
|
18
19
|
ultimate_creditor_name: String,
|
|
@@ -38,6 +39,9 @@ module Increase
|
|
|
38
39
|
# The ID of an External Account to initiate a transfer to. If this parameter is
|
|
39
40
|
# provided, `account_number` and `routing_number` must be absent.
|
|
40
41
|
external_account_id: nil,
|
|
42
|
+
# The ID of an Inbound Real-Time Payments Request for Payment in response to which
|
|
43
|
+
# this transfer is being sent.
|
|
44
|
+
inbound_real_time_payments_request_for_payment_id: nil,
|
|
41
45
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
42
46
|
require_approval: nil,
|
|
43
47
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
@@ -19,8 +19,7 @@ module Increase
|
|
|
19
19
|
preferred_effective_date: Increase::ACHTransferCreateParams::PreferredEffectiveDate,
|
|
20
20
|
require_approval: bool,
|
|
21
21
|
routing_number: String,
|
|
22
|
-
standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code
|
|
23
|
-
transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing
|
|
22
|
+
standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code
|
|
24
23
|
}
|
|
25
24
|
& Increase::Internal::Type::request_parameters
|
|
26
25
|
|
|
@@ -104,12 +103,6 @@ module Increase
|
|
|
104
103
|
Increase::Models::ACHTransferCreateParams::standard_entry_class_code
|
|
105
104
|
) -> Increase::Models::ACHTransferCreateParams::standard_entry_class_code
|
|
106
105
|
|
|
107
|
-
attr_reader transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing?
|
|
108
|
-
|
|
109
|
-
def transaction_timing=: (
|
|
110
|
-
Increase::Models::ACHTransferCreateParams::transaction_timing
|
|
111
|
-
) -> Increase::Models::ACHTransferCreateParams::transaction_timing
|
|
112
|
-
|
|
113
106
|
def initialize: (
|
|
114
107
|
account_id: String,
|
|
115
108
|
amount: Integer,
|
|
@@ -129,7 +122,6 @@ module Increase
|
|
|
129
122
|
?require_approval: bool,
|
|
130
123
|
?routing_number: String,
|
|
131
124
|
?standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code,
|
|
132
|
-
?transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing,
|
|
133
125
|
?request_options: Increase::request_opts
|
|
134
126
|
) -> void
|
|
135
127
|
|
|
@@ -152,7 +144,6 @@ module Increase
|
|
|
152
144
|
require_approval: bool,
|
|
153
145
|
routing_number: String,
|
|
154
146
|
standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code,
|
|
155
|
-
transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing,
|
|
156
147
|
request_options: Increase::RequestOptions
|
|
157
148
|
}
|
|
158
149
|
|
|
@@ -366,20 +357,6 @@ module Increase
|
|
|
366
357
|
|
|
367
358
|
def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::standard_entry_class_code]
|
|
368
359
|
end
|
|
369
|
-
|
|
370
|
-
type transaction_timing = :synchronous | :asynchronous
|
|
371
|
-
|
|
372
|
-
module TransactionTiming
|
|
373
|
-
extend Increase::Internal::Type::Enum
|
|
374
|
-
|
|
375
|
-
# A Transaction will be created immediately.
|
|
376
|
-
SYNCHRONOUS: :synchronous
|
|
377
|
-
|
|
378
|
-
# A Transaction will be created when the funds settle at the Federal Reserve.
|
|
379
|
-
ASYNCHRONOUS: :asynchronous
|
|
380
|
-
|
|
381
|
-
def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::transaction_timing]
|
|
382
|
-
end
|
|
383
360
|
end
|
|
384
361
|
end
|
|
385
362
|
end
|