increase 1.366.0 → 1.368.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_transfer.rb +6 -6
- data/lib/increase/models/card_dispute.rb +131 -2
- data/lib/increase/models/card_dispute_create_params.rb +20 -16
- data/lib/increase/models/card_dispute_provide_provisional_credit_params.rb +22 -0
- data/lib/increase/models/card_dispute_reverse_provisional_credit_params.rb +22 -0
- data/lib/increase/models/card_payment.rb +30 -0
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/export.rb +19 -5
- data/lib/increase/models/export_create_params.rb +36 -13
- data/lib/increase/models/inbound_check_deposit.rb +0 -3
- data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
- data/lib/increase/models/pending_transaction.rb +76 -1
- data/lib/increase/models/pending_transaction_list_params.rb +3 -0
- data/lib/increase/models/simulations/card_refund_create_params.rb +6 -6
- data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +3 -0
- data/lib/increase/models/transaction.rb +86 -1
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/models.rb +4 -0
- data/lib/increase/resources/card_disputes.rb +50 -6
- data/lib/increase/resources/exports.rb +5 -1
- data/lib/increase/resources/simulations/card_refunds.rb +3 -3
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +2 -0
- data/rbi/increase/models/ach_transfer.rbi +6 -6
- data/rbi/increase/models/card_dispute.rbi +188 -0
- data/rbi/increase/models/card_dispute_create_params.rbi +20 -16
- data/rbi/increase/models/card_dispute_provide_provisional_credit_params.rbi +43 -0
- data/rbi/increase/models/card_dispute_reverse_provisional_credit_params.rbi +43 -0
- data/rbi/increase/models/card_payment.rbi +70 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/export.rbi +18 -6
- data/rbi/increase/models/export_create_params.rbi +44 -15
- data/rbi/increase/models/inbound_check_deposit.rbi +0 -3
- data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
- data/rbi/increase/models/pending_transaction.rbi +162 -0
- data/rbi/increase/models/pending_transaction_list_params.rbi +7 -0
- data/rbi/increase/models/simulations/card_refund_create_params.rbi +6 -6
- data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +3 -0
- data/rbi/increase/models/transaction.rbi +179 -0
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/rbi/increase/models.rbi +6 -0
- data/rbi/increase/resources/card_disputes.rbi +38 -6
- data/rbi/increase/resources/exports.rbi +5 -1
- data/rbi/increase/resources/simulations/card_refunds.rbi +3 -3
- data/sig/increase/models/ach_transfer.rbs +8 -8
- data/sig/increase/models/card_dispute.rbs +79 -0
- data/sig/increase/models/card_dispute_provide_provisional_credit_params.rbs +23 -0
- data/sig/increase/models/card_dispute_reverse_provisional_credit_params.rbs +23 -0
- data/sig/increase/models/card_payment.rbs +40 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/export.rbs +13 -4
- data/sig/increase/models/export_create_params.rbs +16 -5
- data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
- data/sig/increase/models/pending_transaction.rbs +63 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +4 -0
- data/sig/increase/models/transaction.rbs +71 -0
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- data/sig/increase/models.rbs +4 -0
- data/sig/increase/resources/card_disputes.rbs +10 -0
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2eb420cf7c907a2aabca9035e068820cdf2130b924ccbedc01a826e19e026d32
|
|
4
|
+
data.tar.gz: 7c1685aa558d6e5afc62b44c11361344fabf80ce510048e70a2987311ce9a18a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f59aa8a2914e7c6059a63ea6d0e0a6a4a0747226d83b526bb2784094305cc3996db3f64a927b878750e22d9f12ea055e41d2d3cd5b486be3322c4816972acf6c
|
|
7
|
+
data.tar.gz: f011957acc4ac145663988df319f87cf5872534423b6d97faf2180996dc9f14a4f850372a48a3a1e66bd70b521bf73ebbca9cc41d32c3921cf9a1993b5c29d03
|
data/README.md
CHANGED
|
@@ -94,8 +94,8 @@ module Increase
|
|
|
94
94
|
# @!attribute company_name
|
|
95
95
|
# The name by which the recipient knows you.
|
|
96
96
|
#
|
|
97
|
-
# @return [String
|
|
98
|
-
required :company_name, String
|
|
97
|
+
# @return [String]
|
|
98
|
+
required :company_name, String
|
|
99
99
|
|
|
100
100
|
# @!attribute created_at
|
|
101
101
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -161,8 +161,8 @@ module Increase
|
|
|
161
161
|
# The name of the transfer recipient. This value is informational and not verified
|
|
162
162
|
# by the recipient's bank.
|
|
163
163
|
#
|
|
164
|
-
# @return [String
|
|
165
|
-
required :individual_name, String
|
|
164
|
+
# @return [String]
|
|
165
|
+
required :individual_name, String
|
|
166
166
|
|
|
167
167
|
# @!attribute network
|
|
168
168
|
# The transfer's network.
|
|
@@ -312,7 +312,7 @@ module Increase
|
|
|
312
312
|
# to debit their accounts. This value is configured by Increase and will be the
|
|
313
313
|
# same for all your transfers.
|
|
314
314
|
#
|
|
315
|
-
# @param company_name [String
|
|
315
|
+
# @param company_name [String] The name by which the recipient knows you.
|
|
316
316
|
#
|
|
317
317
|
# @param created_at [Time]
|
|
318
318
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -346,7 +346,7 @@ module Increase
|
|
|
346
346
|
# Your internal identifier for the transfer recipient. This value is informational
|
|
347
347
|
# and not verified by the recipient's bank.
|
|
348
348
|
#
|
|
349
|
-
# @param individual_name [String
|
|
349
|
+
# @param individual_name [String]
|
|
350
350
|
# The name of the transfer recipient. This value is informational and not verified
|
|
351
351
|
# by the recipient's bank.
|
|
352
352
|
#
|
|
@@ -62,6 +62,13 @@ module Increase
|
|
|
62
62
|
# @return [Symbol, Increase::Models::CardDispute::Network]
|
|
63
63
|
required :network, enum: -> { Increase::CardDispute::Network }
|
|
64
64
|
|
|
65
|
+
# @!attribute provisional_credit
|
|
66
|
+
# If a provisional credit has been provided for the Card Dispute, this will
|
|
67
|
+
# contain details of the provisional credit.
|
|
68
|
+
#
|
|
69
|
+
# @return [Increase::Models::CardDispute::ProvisionalCredit, nil]
|
|
70
|
+
required :provisional_credit, -> { Increase::CardDispute::ProvisionalCredit }, nil?: true
|
|
71
|
+
|
|
65
72
|
# @!attribute rejection
|
|
66
73
|
# If the Card Dispute has been rejected, this will contain details of the
|
|
67
74
|
# rejection.
|
|
@@ -113,7 +120,7 @@ module Increase
|
|
|
113
120
|
# @return [Increase::Models::CardDispute::Withdrawal, nil]
|
|
114
121
|
required :withdrawal, -> { Increase::CardDispute::Withdrawal }, nil?: true
|
|
115
122
|
|
|
116
|
-
# @!method initialize(id:, account_id:, amount:, card_id:, created_at:, disputed_transaction_id:, idempotency_key:, loss:, network:, rejection:, status:, type:, user_submission_required_by:, visa:, win:, withdrawal:)
|
|
123
|
+
# @!method initialize(id:, account_id:, amount:, card_id:, created_at:, disputed_transaction_id:, idempotency_key:, loss:, network:, provisional_credit:, rejection:, status:, type:, user_submission_required_by:, visa:, win:, withdrawal:)
|
|
117
124
|
# If unauthorized activity occurs on a card, you can create a Card Dispute and
|
|
118
125
|
# we'll work with the card networks to return the funds if appropriate. For more
|
|
119
126
|
# information, see our guide on
|
|
@@ -145,6 +152,10 @@ module Increase
|
|
|
145
152
|
# @param network [Symbol, Increase::Models::CardDispute::Network]
|
|
146
153
|
# The network that the Card Dispute is associated with.
|
|
147
154
|
#
|
|
155
|
+
# @param provisional_credit [Increase::Models::CardDispute::ProvisionalCredit, nil]
|
|
156
|
+
# If a provisional credit has been provided for the Card Dispute, this will
|
|
157
|
+
# contain details of the provisional credit.
|
|
158
|
+
#
|
|
148
159
|
# @param rejection [Increase::Models::CardDispute::Rejection, nil]
|
|
149
160
|
# If the Card Dispute has been rejected, this will contain details of the
|
|
150
161
|
# rejection.
|
|
@@ -232,6 +243,115 @@ module Increase
|
|
|
232
243
|
# @return [Array<Symbol>]
|
|
233
244
|
end
|
|
234
245
|
|
|
246
|
+
# @see Increase::Models::CardDispute#provisional_credit
|
|
247
|
+
class ProvisionalCredit < Increase::Internal::Type::BaseModel
|
|
248
|
+
# @!attribute amount
|
|
249
|
+
# The amount of the provisional credit in the minor unit of its currency. For
|
|
250
|
+
# dollars, for example, this is cents.
|
|
251
|
+
#
|
|
252
|
+
# @return [Integer]
|
|
253
|
+
required :amount, Integer
|
|
254
|
+
|
|
255
|
+
# @!attribute cardholder_account_transaction_id
|
|
256
|
+
# The identifier of the Transaction that credited the cardholder's Account.
|
|
257
|
+
#
|
|
258
|
+
# @return [String]
|
|
259
|
+
required :cardholder_account_transaction_id, String
|
|
260
|
+
|
|
261
|
+
# @!attribute provided_at
|
|
262
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
263
|
+
# the provisional credit was provided.
|
|
264
|
+
#
|
|
265
|
+
# @return [Time]
|
|
266
|
+
required :provided_at, Time
|
|
267
|
+
|
|
268
|
+
# @!attribute provisional_credit_funding_account_transaction_id
|
|
269
|
+
# The identifier of the Transaction that debited the provisional credit funding
|
|
270
|
+
# Account.
|
|
271
|
+
#
|
|
272
|
+
# @return [String]
|
|
273
|
+
required :provisional_credit_funding_account_transaction_id, String
|
|
274
|
+
|
|
275
|
+
# @!attribute reversal
|
|
276
|
+
# If the provisional credit has been reversed, this will contain details of the
|
|
277
|
+
# reversal.
|
|
278
|
+
#
|
|
279
|
+
# @return [Increase::Models::CardDispute::ProvisionalCredit::Reversal, nil]
|
|
280
|
+
required :reversal, -> { Increase::CardDispute::ProvisionalCredit::Reversal }, nil?: true
|
|
281
|
+
|
|
282
|
+
# @!method initialize(amount:, cardholder_account_transaction_id:, provided_at:, provisional_credit_funding_account_transaction_id:, reversal:)
|
|
283
|
+
# If a provisional credit has been provided for the Card Dispute, this will
|
|
284
|
+
# contain details of the provisional credit.
|
|
285
|
+
#
|
|
286
|
+
# @param amount [Integer]
|
|
287
|
+
# The amount of the provisional credit in the minor unit of its currency. For
|
|
288
|
+
# dollars, for example, this is cents.
|
|
289
|
+
#
|
|
290
|
+
# @param cardholder_account_transaction_id [String]
|
|
291
|
+
# The identifier of the Transaction that credited the cardholder's Account.
|
|
292
|
+
#
|
|
293
|
+
# @param provided_at [Time]
|
|
294
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
295
|
+
# the provisional credit was provided.
|
|
296
|
+
#
|
|
297
|
+
# @param provisional_credit_funding_account_transaction_id [String]
|
|
298
|
+
# The identifier of the Transaction that debited the provisional credit funding
|
|
299
|
+
# Account.
|
|
300
|
+
#
|
|
301
|
+
# @param reversal [Increase::Models::CardDispute::ProvisionalCredit::Reversal, nil]
|
|
302
|
+
# If the provisional credit has been reversed, this will contain details of the
|
|
303
|
+
# reversal.
|
|
304
|
+
|
|
305
|
+
# @see Increase::Models::CardDispute::ProvisionalCredit#reversal
|
|
306
|
+
class Reversal < Increase::Internal::Type::BaseModel
|
|
307
|
+
# @!attribute amount
|
|
308
|
+
# The amount of the reversal in the minor unit of its currency. For dollars, for
|
|
309
|
+
# example, this is cents.
|
|
310
|
+
#
|
|
311
|
+
# @return [Integer]
|
|
312
|
+
required :amount, Integer
|
|
313
|
+
|
|
314
|
+
# @!attribute cardholder_account_transaction_id
|
|
315
|
+
# The identifier of the Transaction that debited the cardholder's Account.
|
|
316
|
+
#
|
|
317
|
+
# @return [String]
|
|
318
|
+
required :cardholder_account_transaction_id, String
|
|
319
|
+
|
|
320
|
+
# @!attribute provisional_credit_funding_account_transaction_id
|
|
321
|
+
# The identifier of the Transaction that credited the provisional credit funding
|
|
322
|
+
# Account.
|
|
323
|
+
#
|
|
324
|
+
# @return [String]
|
|
325
|
+
required :provisional_credit_funding_account_transaction_id, String
|
|
326
|
+
|
|
327
|
+
# @!attribute reversed_at
|
|
328
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
329
|
+
# the provisional credit was reversed.
|
|
330
|
+
#
|
|
331
|
+
# @return [Time]
|
|
332
|
+
required :reversed_at, Time
|
|
333
|
+
|
|
334
|
+
# @!method initialize(amount:, cardholder_account_transaction_id:, provisional_credit_funding_account_transaction_id:, reversed_at:)
|
|
335
|
+
# If the provisional credit has been reversed, this will contain details of the
|
|
336
|
+
# reversal.
|
|
337
|
+
#
|
|
338
|
+
# @param amount [Integer]
|
|
339
|
+
# The amount of the reversal in the minor unit of its currency. For dollars, for
|
|
340
|
+
# example, this is cents.
|
|
341
|
+
#
|
|
342
|
+
# @param cardholder_account_transaction_id [String]
|
|
343
|
+
# The identifier of the Transaction that debited the cardholder's Account.
|
|
344
|
+
#
|
|
345
|
+
# @param provisional_credit_funding_account_transaction_id [String]
|
|
346
|
+
# The identifier of the Transaction that credited the provisional credit funding
|
|
347
|
+
# Account.
|
|
348
|
+
#
|
|
349
|
+
# @param reversed_at [Time]
|
|
350
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
351
|
+
# the provisional credit was reversed.
|
|
352
|
+
end
|
|
353
|
+
end
|
|
354
|
+
|
|
235
355
|
# @see Increase::Models::CardDispute#rejection
|
|
236
356
|
class Rejection < Increase::Internal::Type::BaseModel
|
|
237
357
|
# @!attribute explanation
|
|
@@ -370,6 +490,12 @@ module Increase
|
|
|
370
490
|
# @return [Time]
|
|
371
491
|
required :created_at, Time
|
|
372
492
|
|
|
493
|
+
# @!attribute dispute_financial_account_id
|
|
494
|
+
# The account the dispute financial transaction was posted to, if any.
|
|
495
|
+
#
|
|
496
|
+
# @return [String, nil]
|
|
497
|
+
required :dispute_financial_account_id, String, nil?: true
|
|
498
|
+
|
|
373
499
|
# @!attribute dispute_financial_transaction_id
|
|
374
500
|
# The dispute financial transaction that resulted from the network event, if any.
|
|
375
501
|
#
|
|
@@ -532,7 +658,7 @@ module Increase
|
|
|
532
658
|
-> { Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted },
|
|
533
659
|
nil?: true
|
|
534
660
|
|
|
535
|
-
# @!method initialize(attachment_files:, category:, created_at:, dispute_financial_transaction_id:, chargeback_accepted: nil, chargeback_submitted: nil, chargeback_timed_out: nil, merchant_prearbitration_decline_submitted: nil, merchant_prearbitration_received: nil, merchant_prearbitration_timed_out: nil, represented: nil, representment_timed_out: nil, user_prearbitration_accepted: nil, user_prearbitration_declined: nil, user_prearbitration_submitted: nil, user_prearbitration_timed_out: nil, user_withdrawal_submitted: nil)
|
|
661
|
+
# @!method initialize(attachment_files:, category:, created_at:, dispute_financial_account_id:, dispute_financial_transaction_id:, chargeback_accepted: nil, chargeback_submitted: nil, chargeback_timed_out: nil, merchant_prearbitration_decline_submitted: nil, merchant_prearbitration_received: nil, merchant_prearbitration_timed_out: nil, represented: nil, representment_timed_out: nil, user_prearbitration_accepted: nil, user_prearbitration_declined: nil, user_prearbitration_submitted: nil, user_prearbitration_timed_out: nil, user_withdrawal_submitted: nil)
|
|
536
662
|
# @param attachment_files [Array<Increase::Models::CardDispute::Visa::NetworkEvent::AttachmentFile>]
|
|
537
663
|
# The files attached to the Visa Card Dispute User Submission.
|
|
538
664
|
#
|
|
@@ -545,6 +671,9 @@ module Increase
|
|
|
545
671
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
546
672
|
# the Visa Card Dispute Network Event was created.
|
|
547
673
|
#
|
|
674
|
+
# @param dispute_financial_account_id [String, nil]
|
|
675
|
+
# The account the dispute financial transaction was posted to, if any.
|
|
676
|
+
#
|
|
548
677
|
# @param dispute_financial_transaction_id [String, nil]
|
|
549
678
|
# The dispute financial transaction that resulted from the network event, if any.
|
|
550
679
|
#
|
|
@@ -15,8 +15,8 @@ module Increase
|
|
|
15
15
|
required :disputed_transaction_id, String
|
|
16
16
|
|
|
17
17
|
# @!attribute network
|
|
18
|
-
# The network of the disputed transaction. Details specific to the network
|
|
19
|
-
#
|
|
18
|
+
# The network of the disputed transaction. Details specific to the network can be
|
|
19
|
+
# provided under the sub-object with the same identifier as the network.
|
|
20
20
|
#
|
|
21
21
|
# @return [Symbol, Increase::Models::CardDisputeCreateParams::Network]
|
|
22
22
|
required :network, enum: -> { Increase::CardDisputeCreateParams::Network }
|
|
@@ -31,7 +31,8 @@ module Increase
|
|
|
31
31
|
optional :amount, Integer
|
|
32
32
|
|
|
33
33
|
# @!attribute attachment_files
|
|
34
|
-
# The files to be attached to the initial dispute submission.
|
|
34
|
+
# The files to be attached to the initial dispute submission. Can only be provided
|
|
35
|
+
# along with the network-specific details.
|
|
35
36
|
#
|
|
36
37
|
# @return [Array<Increase::Models::CardDisputeCreateParams::AttachmentFile>, nil]
|
|
37
38
|
optional :attachment_files,
|
|
@@ -39,14 +40,15 @@ module Increase
|
|
|
39
40
|
|
|
40
41
|
# @!attribute explanation
|
|
41
42
|
# The free-form explanation provided to Increase to provide more context for the
|
|
42
|
-
# user submission. This field is not sent directly to the card networks.
|
|
43
|
+
# user submission. This field is not sent directly to the card networks. Can only
|
|
44
|
+
# be provided along with the network-specific details.
|
|
43
45
|
#
|
|
44
46
|
# @return [String, nil]
|
|
45
47
|
optional :explanation, String
|
|
46
48
|
|
|
47
49
|
# @!attribute visa
|
|
48
|
-
# The Visa-specific parameters for the
|
|
49
|
-
#
|
|
50
|
+
# The Visa-specific parameters for the initial User Submission. If omitted, a
|
|
51
|
+
# later User Submission will be required.
|
|
50
52
|
#
|
|
51
53
|
# @return [Increase::Models::CardDisputeCreateParams::Visa, nil]
|
|
52
54
|
optional :visa, -> { Increase::CardDisputeCreateParams::Visa }
|
|
@@ -57,8 +59,8 @@ module Increase
|
|
|
57
59
|
# of `card_settlement`.
|
|
58
60
|
#
|
|
59
61
|
# @param network [Symbol, Increase::Models::CardDisputeCreateParams::Network]
|
|
60
|
-
# The network of the disputed transaction. Details specific to the network
|
|
61
|
-
#
|
|
62
|
+
# The network of the disputed transaction. Details specific to the network can be
|
|
63
|
+
# provided under the sub-object with the same identifier as the network.
|
|
62
64
|
#
|
|
63
65
|
# @param amount [Integer]
|
|
64
66
|
# The monetary amount of the part of the transaction that is being disputed. This
|
|
@@ -67,20 +69,22 @@ module Increase
|
|
|
67
69
|
# the transaction.
|
|
68
70
|
#
|
|
69
71
|
# @param attachment_files [Array<Increase::Models::CardDisputeCreateParams::AttachmentFile>]
|
|
70
|
-
# The files to be attached to the initial dispute submission.
|
|
72
|
+
# The files to be attached to the initial dispute submission. Can only be provided
|
|
73
|
+
# along with the network-specific details.
|
|
71
74
|
#
|
|
72
75
|
# @param explanation [String]
|
|
73
76
|
# The free-form explanation provided to Increase to provide more context for the
|
|
74
|
-
# user submission. This field is not sent directly to the card networks.
|
|
77
|
+
# user submission. This field is not sent directly to the card networks. Can only
|
|
78
|
+
# be provided along with the network-specific details.
|
|
75
79
|
#
|
|
76
80
|
# @param visa [Increase::Models::CardDisputeCreateParams::Visa]
|
|
77
|
-
# The Visa-specific parameters for the
|
|
78
|
-
#
|
|
81
|
+
# The Visa-specific parameters for the initial User Submission. If omitted, a
|
|
82
|
+
# later User Submission will be required.
|
|
79
83
|
#
|
|
80
84
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
81
85
|
|
|
82
|
-
# The network of the disputed transaction. Details specific to the network
|
|
83
|
-
#
|
|
86
|
+
# The network of the disputed transaction. Details specific to the network can be
|
|
87
|
+
# provided under the sub-object with the same identifier as the network.
|
|
84
88
|
module Network
|
|
85
89
|
extend Increase::Internal::Type::Enum
|
|
86
90
|
|
|
@@ -259,8 +263,8 @@ module Increase
|
|
|
259
263
|
optional :processing_error, -> { Increase::CardDisputeCreateParams::Visa::ProcessingError }
|
|
260
264
|
|
|
261
265
|
# @!method initialize(category:, authorization: nil, consumer_canceled_merchandise: nil, consumer_canceled_recurring_transaction: nil, consumer_canceled_services: nil, consumer_counterfeit_merchandise: nil, consumer_credit_not_processed: nil, consumer_damaged_or_defective_merchandise: nil, consumer_merchandise_misrepresentation: nil, consumer_merchandise_not_as_described: nil, consumer_merchandise_not_received: nil, consumer_non_receipt_of_cash: nil, consumer_original_credit_transaction_not_accepted: nil, consumer_quality_merchandise: nil, consumer_quality_services: nil, consumer_services_misrepresentation: nil, consumer_services_not_as_described: nil, consumer_services_not_received: nil, fraud: nil, processing_error: nil)
|
|
262
|
-
# The Visa-specific parameters for the
|
|
263
|
-
#
|
|
266
|
+
# The Visa-specific parameters for the initial User Submission. If omitted, a
|
|
267
|
+
# later User Submission will be required.
|
|
264
268
|
#
|
|
265
269
|
# @param category [Symbol, Increase::Models::CardDisputeCreateParams::Visa::Category] Category.
|
|
266
270
|
#
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::CardDisputes#provide_provisional_credit
|
|
6
|
+
class CardDisputeProvideProvisionalCreditParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute card_dispute_id
|
|
11
|
+
# The identifier of the Card Dispute to provide a provisional credit for.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :card_dispute_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(card_dispute_id:, request_options: {})
|
|
17
|
+
# @param card_dispute_id [String] The identifier of the Card Dispute to provide a provisional credit for.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::CardDisputes#reverse_provisional_credit
|
|
6
|
+
class CardDisputeReverseProvisionalCreditParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute card_dispute_id
|
|
11
|
+
# The identifier of the Card Dispute to reverse the provisional credit for.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :card_dispute_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(card_dispute_id:, request_options: {})
|
|
17
|
+
# @param card_dispute_id [String] The identifier of the Card Dispute to reverse the provisional credit for.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -2793,6 +2793,9 @@ module Increase
|
|
|
2793
2793
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
2794
2794
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
2795
2795
|
|
|
2796
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
2797
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
2798
|
+
|
|
2796
2799
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
2797
2800
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
2798
2801
|
|
|
@@ -4306,6 +4309,9 @@ module Increase
|
|
|
4306
4309
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
4307
4310
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
4308
4311
|
|
|
4312
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
4313
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
4314
|
+
|
|
4309
4315
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
4310
4316
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
4311
4317
|
|
|
@@ -5973,6 +5979,9 @@ module Increase
|
|
|
5973
5979
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
5974
5980
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
5975
5981
|
|
|
5982
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
5983
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
5984
|
+
|
|
5976
5985
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
5977
5986
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
5978
5987
|
|
|
@@ -7502,6 +7511,9 @@ module Increase
|
|
|
7502
7511
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
7503
7512
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
7504
7513
|
|
|
7514
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
7515
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
7516
|
+
|
|
7505
7517
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
7506
7518
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
7507
7519
|
|
|
@@ -8076,6 +8088,9 @@ module Increase
|
|
|
8076
8088
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
8077
8089
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
8078
8090
|
|
|
8091
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
8092
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
8093
|
+
|
|
8079
8094
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
8080
8095
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
8081
8096
|
|
|
@@ -8972,6 +8987,9 @@ module Increase
|
|
|
8972
8987
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
8973
8988
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
8974
8989
|
|
|
8990
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
8991
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
8992
|
+
|
|
8975
8993
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
8976
8994
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
8977
8995
|
|
|
@@ -11294,6 +11312,9 @@ module Increase
|
|
|
11294
11312
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
11295
11313
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
11296
11314
|
|
|
11315
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
11316
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
11317
|
+
|
|
11297
11318
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
11298
11319
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
11299
11320
|
|
|
@@ -11826,6 +11847,9 @@ module Increase
|
|
|
11826
11847
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
11827
11848
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
11828
11849
|
|
|
11850
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
11851
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
11852
|
+
|
|
11829
11853
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
11830
11854
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
11831
11855
|
|
|
@@ -14181,6 +14205,9 @@ module Increase
|
|
|
14181
14205
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
14182
14206
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
14183
14207
|
|
|
14208
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
14209
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
14210
|
+
|
|
14184
14211
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
14185
14212
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
14186
14213
|
|
|
@@ -15439,6 +15466,9 @@ module Increase
|
|
|
15439
15466
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
15440
15467
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
15441
15468
|
|
|
15469
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
15470
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
15471
|
+
|
|
15442
15472
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
15443
15473
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
15444
15474
|
|
|
@@ -1946,6 +1946,9 @@ module Increase
|
|
|
1946
1946
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
1947
1947
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
1948
1948
|
|
|
1949
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
1950
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
1951
|
+
|
|
1949
1952
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
1950
1953
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
1951
1954
|
|
|
@@ -256,11 +256,19 @@ module Increase
|
|
|
256
256
|
# @return [String, nil]
|
|
257
257
|
required :account_id, String, nil?: true
|
|
258
258
|
|
|
259
|
-
# @!attribute
|
|
260
|
-
# The
|
|
259
|
+
# @!attribute on_or_after_date
|
|
260
|
+
# The first as-of date (UTC) reported in the BAI2 file. If null, the report
|
|
261
|
+
# started from the earliest included Account.
|
|
262
|
+
#
|
|
263
|
+
# @return [Date, nil]
|
|
264
|
+
required :on_or_after_date, Date, nil?: true
|
|
265
|
+
|
|
266
|
+
# @!attribute on_or_before_date
|
|
267
|
+
# The last as-of date (UTC) reported in the BAI2 file. If null, the report ran
|
|
268
|
+
# through the date the Export was created.
|
|
261
269
|
#
|
|
262
270
|
# @return [Date, nil]
|
|
263
|
-
required :
|
|
271
|
+
required :on_or_before_date, Date, nil?: true
|
|
264
272
|
|
|
265
273
|
# @!attribute program_id
|
|
266
274
|
# Filter results by Program.
|
|
@@ -268,13 +276,19 @@ module Increase
|
|
|
268
276
|
# @return [String, nil]
|
|
269
277
|
required :program_id, String, nil?: true
|
|
270
278
|
|
|
271
|
-
# @!method initialize(account_id:,
|
|
279
|
+
# @!method initialize(account_id:, on_or_after_date:, on_or_before_date:, program_id:)
|
|
272
280
|
# Details of the account statement BAI2 export. This field will be present when
|
|
273
281
|
# the `category` is equal to `account_statement_bai2`.
|
|
274
282
|
#
|
|
275
283
|
# @param account_id [String, nil] Filter results by Account.
|
|
276
284
|
#
|
|
277
|
-
# @param
|
|
285
|
+
# @param on_or_after_date [Date, nil]
|
|
286
|
+
# The first as-of date (UTC) reported in the BAI2 file. If null, the report
|
|
287
|
+
# started from the earliest included Account.
|
|
288
|
+
#
|
|
289
|
+
# @param on_or_before_date [Date, nil]
|
|
290
|
+
# The last as-of date (UTC) reported in the BAI2 file. If null, the report ran
|
|
291
|
+
# through the date the Export was created.
|
|
278
292
|
#
|
|
279
293
|
# @param program_id [String, nil] Filter results by Program.
|
|
280
294
|
end
|
|
@@ -15,7 +15,11 @@ module Increase
|
|
|
15
15
|
|
|
16
16
|
# @!attribute account_statement_bai2
|
|
17
17
|
# Options for the created export. Required if `category` is equal to
|
|
18
|
-
# `account_statement_bai2`.
|
|
18
|
+
# `account_statement_bai2`. Each as-of date from `on_or_after_date` through
|
|
19
|
+
# `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
|
|
20
|
+
# group's as-of date is before the UTC date the Export was created, it has
|
|
21
|
+
# end-of-day balances. If it's the UTC date the Export was created, it has
|
|
22
|
+
# intraday balances as of the time the Export was created.
|
|
19
23
|
#
|
|
20
24
|
# @return [Increase::Models::ExportCreateParams::AccountStatementBai2, nil]
|
|
21
25
|
optional :account_statement_bai2, -> { Increase::ExportCreateParams::AccountStatementBai2 }
|
|
@@ -93,7 +97,11 @@ module Increase
|
|
|
93
97
|
#
|
|
94
98
|
# @param account_statement_bai2 [Increase::Models::ExportCreateParams::AccountStatementBai2]
|
|
95
99
|
# Options for the created export. Required if `category` is equal to
|
|
96
|
-
# `account_statement_bai2`.
|
|
100
|
+
# `account_statement_bai2`. Each as-of date from `on_or_after_date` through
|
|
101
|
+
# `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
|
|
102
|
+
# group's as-of date is before the UTC date the Export was created, it has
|
|
103
|
+
# end-of-day balances. If it's the UTC date the Export was created, it has
|
|
104
|
+
# intraday balances as of the time the Export was created.
|
|
97
105
|
#
|
|
98
106
|
# @param account_statement_ofx [Increase::Models::ExportCreateParams::AccountStatementOfx]
|
|
99
107
|
# Options for the created export. Required if `category` is equal to
|
|
@@ -186,13 +194,20 @@ module Increase
|
|
|
186
194
|
# @return [String, nil]
|
|
187
195
|
optional :account_id, String
|
|
188
196
|
|
|
189
|
-
# @!attribute
|
|
190
|
-
# The
|
|
191
|
-
#
|
|
192
|
-
#
|
|
197
|
+
# @!attribute on_or_after_date
|
|
198
|
+
# The first as-of date (UTC) to report. Each as-of date gets its own group in the
|
|
199
|
+
# BAI2 file. If not provided, the report starts from the earliest included
|
|
200
|
+
# Account.
|
|
201
|
+
#
|
|
202
|
+
# @return [Date, nil]
|
|
203
|
+
optional :on_or_after_date, Date
|
|
204
|
+
|
|
205
|
+
# @!attribute on_or_before_date
|
|
206
|
+
# The last as-of date (UTC) to report. If not provided, the report runs through
|
|
207
|
+
# the current UTC date.
|
|
193
208
|
#
|
|
194
209
|
# @return [Date, nil]
|
|
195
|
-
optional :
|
|
210
|
+
optional :on_or_before_date, Date
|
|
196
211
|
|
|
197
212
|
# @!attribute program_id
|
|
198
213
|
# The Program to create a BAI2 report for. If not provided, all open accounts will
|
|
@@ -201,18 +216,26 @@ module Increase
|
|
|
201
216
|
# @return [String, nil]
|
|
202
217
|
optional :program_id, String
|
|
203
218
|
|
|
204
|
-
# @!method initialize(account_id: nil,
|
|
219
|
+
# @!method initialize(account_id: nil, on_or_after_date: nil, on_or_before_date: nil, program_id: nil)
|
|
205
220
|
# Options for the created export. Required if `category` is equal to
|
|
206
|
-
# `account_statement_bai2`.
|
|
221
|
+
# `account_statement_bai2`. Each as-of date from `on_or_after_date` through
|
|
222
|
+
# `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
|
|
223
|
+
# group's as-of date is before the UTC date the Export was created, it has
|
|
224
|
+
# end-of-day balances. If it's the UTC date the Export was created, it has
|
|
225
|
+
# intraday balances as of the time the Export was created.
|
|
207
226
|
#
|
|
208
227
|
# @param account_id [String]
|
|
209
228
|
# The Account to create a BAI2 report for. If not provided, all open accounts will
|
|
210
229
|
# be included.
|
|
211
230
|
#
|
|
212
|
-
# @param
|
|
213
|
-
# The
|
|
214
|
-
#
|
|
215
|
-
#
|
|
231
|
+
# @param on_or_after_date [Date]
|
|
232
|
+
# The first as-of date (UTC) to report. Each as-of date gets its own group in the
|
|
233
|
+
# BAI2 file. If not provided, the report starts from the earliest included
|
|
234
|
+
# Account.
|
|
235
|
+
#
|
|
236
|
+
# @param on_or_before_date [Date]
|
|
237
|
+
# The last as-of date (UTC) to report. If not provided, the report runs through
|
|
238
|
+
# the current UTC date.
|
|
216
239
|
#
|
|
217
240
|
# @param program_id [String]
|
|
218
241
|
# The Program to create a BAI2 report for. If not provided, all open accounts will
|
|
@@ -128,7 +128,6 @@ module Increase
|
|
|
128
128
|
|
|
129
129
|
# @!attribute payee_name_analysis
|
|
130
130
|
# Whether the details on the check match the recipient name of the check transfer.
|
|
131
|
-
# This is an optional feature, contact sales to enable.
|
|
132
131
|
#
|
|
133
132
|
# @return [Symbol, Increase::Models::InboundCheckDeposit::PayeeNameAnalysis]
|
|
134
133
|
required :payee_name_analysis, enum: -> { Increase::InboundCheckDeposit::PayeeNameAnalysis }
|
|
@@ -220,7 +219,6 @@ module Increase
|
|
|
220
219
|
#
|
|
221
220
|
# @param payee_name_analysis [Symbol, Increase::Models::InboundCheckDeposit::PayeeNameAnalysis]
|
|
222
221
|
# Whether the details on the check match the recipient name of the check transfer.
|
|
223
|
-
# This is an optional feature, contact sales to enable.
|
|
224
222
|
#
|
|
225
223
|
# @param status [Symbol, Increase::Models::InboundCheckDeposit::Status]
|
|
226
224
|
# The status of the Inbound Check Deposit.
|
|
@@ -365,7 +363,6 @@ module Increase
|
|
|
365
363
|
end
|
|
366
364
|
|
|
367
365
|
# Whether the details on the check match the recipient name of the check transfer.
|
|
368
|
-
# This is an optional feature, contact sales to enable.
|
|
369
366
|
#
|
|
370
367
|
# @see Increase::Models::InboundCheckDeposit#payee_name_analysis
|
|
371
368
|
module PayeeNameAnalysis
|
|
@@ -292,6 +292,9 @@ module Increase
|
|
|
292
292
|
# The transfer has been declined.
|
|
293
293
|
DECLINED = :declined
|
|
294
294
|
|
|
295
|
+
# The transfer has been returned, in full or in part, to its sender.
|
|
296
|
+
RETURNED = :returned
|
|
297
|
+
|
|
295
298
|
# The transfer requires attention from an Increase operator.
|
|
296
299
|
REQUIRES_ATTENTION = :requires_attention
|
|
297
300
|
|