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
|
@@ -51,6 +51,19 @@ module Increase
|
|
|
51
51
|
sig { returns(Increase::CardDispute::Network::TaggedSymbol) }
|
|
52
52
|
attr_accessor :network
|
|
53
53
|
|
|
54
|
+
# If a provisional credit has been provided for the Card Dispute, this will
|
|
55
|
+
# contain details of the provisional credit.
|
|
56
|
+
sig { returns(T.nilable(Increase::CardDispute::ProvisionalCredit)) }
|
|
57
|
+
attr_reader :provisional_credit
|
|
58
|
+
|
|
59
|
+
sig do
|
|
60
|
+
params(
|
|
61
|
+
provisional_credit:
|
|
62
|
+
T.nilable(Increase::CardDispute::ProvisionalCredit::OrHash)
|
|
63
|
+
).void
|
|
64
|
+
end
|
|
65
|
+
attr_writer :provisional_credit
|
|
66
|
+
|
|
54
67
|
# If the Card Dispute has been rejected, this will contain details of the
|
|
55
68
|
# rejection.
|
|
56
69
|
sig { returns(T.nilable(Increase::CardDispute::Rejection)) }
|
|
@@ -123,6 +136,8 @@ module Increase
|
|
|
123
136
|
idempotency_key: T.nilable(String),
|
|
124
137
|
loss: T.nilable(Increase::CardDispute::Loss::OrHash),
|
|
125
138
|
network: Increase::CardDispute::Network::OrSymbol,
|
|
139
|
+
provisional_credit:
|
|
140
|
+
T.nilable(Increase::CardDispute::ProvisionalCredit::OrHash),
|
|
126
141
|
rejection: T.nilable(Increase::CardDispute::Rejection::OrHash),
|
|
127
142
|
status: Increase::CardDispute::Status::OrSymbol,
|
|
128
143
|
type: Increase::CardDispute::Type::OrSymbol,
|
|
@@ -155,6 +170,9 @@ module Increase
|
|
|
155
170
|
loss:,
|
|
156
171
|
# The network that the Card Dispute is associated with.
|
|
157
172
|
network:,
|
|
173
|
+
# If a provisional credit has been provided for the Card Dispute, this will
|
|
174
|
+
# contain details of the provisional credit.
|
|
175
|
+
provisional_credit:,
|
|
158
176
|
# If the Card Dispute has been rejected, this will contain details of the
|
|
159
177
|
# rejection.
|
|
160
178
|
rejection:,
|
|
@@ -193,6 +211,8 @@ module Increase
|
|
|
193
211
|
idempotency_key: T.nilable(String),
|
|
194
212
|
loss: T.nilable(Increase::CardDispute::Loss),
|
|
195
213
|
network: Increase::CardDispute::Network::TaggedSymbol,
|
|
214
|
+
provisional_credit:
|
|
215
|
+
T.nilable(Increase::CardDispute::ProvisionalCredit),
|
|
196
216
|
rejection: T.nilable(Increase::CardDispute::Rejection),
|
|
197
217
|
status: Increase::CardDispute::Status::TaggedSymbol,
|
|
198
218
|
type: Increase::CardDispute::Type::TaggedSymbol,
|
|
@@ -300,6 +320,166 @@ module Increase
|
|
|
300
320
|
end
|
|
301
321
|
end
|
|
302
322
|
|
|
323
|
+
class ProvisionalCredit < Increase::Internal::Type::BaseModel
|
|
324
|
+
OrHash =
|
|
325
|
+
T.type_alias do
|
|
326
|
+
T.any(
|
|
327
|
+
Increase::CardDispute::ProvisionalCredit,
|
|
328
|
+
Increase::Internal::AnyHash
|
|
329
|
+
)
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
# The amount of the provisional credit in the minor unit of its currency. For
|
|
333
|
+
# dollars, for example, this is cents.
|
|
334
|
+
sig { returns(Integer) }
|
|
335
|
+
attr_accessor :amount
|
|
336
|
+
|
|
337
|
+
# The identifier of the Transaction that credited the cardholder's Account.
|
|
338
|
+
sig { returns(String) }
|
|
339
|
+
attr_accessor :cardholder_account_transaction_id
|
|
340
|
+
|
|
341
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
342
|
+
# the provisional credit was provided.
|
|
343
|
+
sig { returns(Time) }
|
|
344
|
+
attr_accessor :provided_at
|
|
345
|
+
|
|
346
|
+
# The identifier of the Transaction that debited the provisional credit funding
|
|
347
|
+
# Account.
|
|
348
|
+
sig { returns(String) }
|
|
349
|
+
attr_accessor :provisional_credit_funding_account_transaction_id
|
|
350
|
+
|
|
351
|
+
# If the provisional credit has been reversed, this will contain details of the
|
|
352
|
+
# reversal.
|
|
353
|
+
sig do
|
|
354
|
+
returns(T.nilable(Increase::CardDispute::ProvisionalCredit::Reversal))
|
|
355
|
+
end
|
|
356
|
+
attr_reader :reversal
|
|
357
|
+
|
|
358
|
+
sig do
|
|
359
|
+
params(
|
|
360
|
+
reversal:
|
|
361
|
+
T.nilable(
|
|
362
|
+
Increase::CardDispute::ProvisionalCredit::Reversal::OrHash
|
|
363
|
+
)
|
|
364
|
+
).void
|
|
365
|
+
end
|
|
366
|
+
attr_writer :reversal
|
|
367
|
+
|
|
368
|
+
# If a provisional credit has been provided for the Card Dispute, this will
|
|
369
|
+
# contain details of the provisional credit.
|
|
370
|
+
sig do
|
|
371
|
+
params(
|
|
372
|
+
amount: Integer,
|
|
373
|
+
cardholder_account_transaction_id: String,
|
|
374
|
+
provided_at: Time,
|
|
375
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
376
|
+
reversal:
|
|
377
|
+
T.nilable(
|
|
378
|
+
Increase::CardDispute::ProvisionalCredit::Reversal::OrHash
|
|
379
|
+
)
|
|
380
|
+
).returns(T.attached_class)
|
|
381
|
+
end
|
|
382
|
+
def self.new(
|
|
383
|
+
# The amount of the provisional credit in the minor unit of its currency. For
|
|
384
|
+
# dollars, for example, this is cents.
|
|
385
|
+
amount:,
|
|
386
|
+
# The identifier of the Transaction that credited the cardholder's Account.
|
|
387
|
+
cardholder_account_transaction_id:,
|
|
388
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
389
|
+
# the provisional credit was provided.
|
|
390
|
+
provided_at:,
|
|
391
|
+
# The identifier of the Transaction that debited the provisional credit funding
|
|
392
|
+
# Account.
|
|
393
|
+
provisional_credit_funding_account_transaction_id:,
|
|
394
|
+
# If the provisional credit has been reversed, this will contain details of the
|
|
395
|
+
# reversal.
|
|
396
|
+
reversal:
|
|
397
|
+
)
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
sig do
|
|
401
|
+
override.returns(
|
|
402
|
+
{
|
|
403
|
+
amount: Integer,
|
|
404
|
+
cardholder_account_transaction_id: String,
|
|
405
|
+
provided_at: Time,
|
|
406
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
407
|
+
reversal:
|
|
408
|
+
T.nilable(Increase::CardDispute::ProvisionalCredit::Reversal)
|
|
409
|
+
}
|
|
410
|
+
)
|
|
411
|
+
end
|
|
412
|
+
def to_hash
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
class Reversal < Increase::Internal::Type::BaseModel
|
|
416
|
+
OrHash =
|
|
417
|
+
T.type_alias do
|
|
418
|
+
T.any(
|
|
419
|
+
Increase::CardDispute::ProvisionalCredit::Reversal,
|
|
420
|
+
Increase::Internal::AnyHash
|
|
421
|
+
)
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
# The amount of the reversal in the minor unit of its currency. For dollars, for
|
|
425
|
+
# example, this is cents.
|
|
426
|
+
sig { returns(Integer) }
|
|
427
|
+
attr_accessor :amount
|
|
428
|
+
|
|
429
|
+
# The identifier of the Transaction that debited the cardholder's Account.
|
|
430
|
+
sig { returns(String) }
|
|
431
|
+
attr_accessor :cardholder_account_transaction_id
|
|
432
|
+
|
|
433
|
+
# The identifier of the Transaction that credited the provisional credit funding
|
|
434
|
+
# Account.
|
|
435
|
+
sig { returns(String) }
|
|
436
|
+
attr_accessor :provisional_credit_funding_account_transaction_id
|
|
437
|
+
|
|
438
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
439
|
+
# the provisional credit was reversed.
|
|
440
|
+
sig { returns(Time) }
|
|
441
|
+
attr_accessor :reversed_at
|
|
442
|
+
|
|
443
|
+
# If the provisional credit has been reversed, this will contain details of the
|
|
444
|
+
# reversal.
|
|
445
|
+
sig do
|
|
446
|
+
params(
|
|
447
|
+
amount: Integer,
|
|
448
|
+
cardholder_account_transaction_id: String,
|
|
449
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
450
|
+
reversed_at: Time
|
|
451
|
+
).returns(T.attached_class)
|
|
452
|
+
end
|
|
453
|
+
def self.new(
|
|
454
|
+
# The amount of the reversal in the minor unit of its currency. For dollars, for
|
|
455
|
+
# example, this is cents.
|
|
456
|
+
amount:,
|
|
457
|
+
# The identifier of the Transaction that debited the cardholder's Account.
|
|
458
|
+
cardholder_account_transaction_id:,
|
|
459
|
+
# The identifier of the Transaction that credited the provisional credit funding
|
|
460
|
+
# Account.
|
|
461
|
+
provisional_credit_funding_account_transaction_id:,
|
|
462
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
463
|
+
# the provisional credit was reversed.
|
|
464
|
+
reversed_at:
|
|
465
|
+
)
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
sig do
|
|
469
|
+
override.returns(
|
|
470
|
+
{
|
|
471
|
+
amount: Integer,
|
|
472
|
+
cardholder_account_transaction_id: String,
|
|
473
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
474
|
+
reversed_at: Time
|
|
475
|
+
}
|
|
476
|
+
)
|
|
477
|
+
end
|
|
478
|
+
def to_hash
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
end
|
|
482
|
+
|
|
303
483
|
class Rejection < Increase::Internal::Type::BaseModel
|
|
304
484
|
OrHash =
|
|
305
485
|
T.type_alias do
|
|
@@ -517,6 +697,10 @@ module Increase
|
|
|
517
697
|
sig { returns(Time) }
|
|
518
698
|
attr_accessor :created_at
|
|
519
699
|
|
|
700
|
+
# The account the dispute financial transaction was posted to, if any.
|
|
701
|
+
sig { returns(T.nilable(String)) }
|
|
702
|
+
attr_accessor :dispute_financial_account_id
|
|
703
|
+
|
|
520
704
|
# The dispute financial transaction that resulted from the network event, if any.
|
|
521
705
|
sig { returns(T.nilable(String)) }
|
|
522
706
|
attr_accessor :dispute_financial_transaction_id
|
|
@@ -842,6 +1026,7 @@ module Increase
|
|
|
842
1026
|
category:
|
|
843
1027
|
Increase::CardDispute::Visa::NetworkEvent::Category::OrSymbol,
|
|
844
1028
|
created_at: Time,
|
|
1029
|
+
dispute_financial_account_id: T.nilable(String),
|
|
845
1030
|
dispute_financial_transaction_id: T.nilable(String),
|
|
846
1031
|
chargeback_accepted:
|
|
847
1032
|
T.nilable(
|
|
@@ -907,6 +1092,8 @@ module Increase
|
|
|
907
1092
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
908
1093
|
# the Visa Card Dispute Network Event was created.
|
|
909
1094
|
created_at:,
|
|
1095
|
+
# The account the dispute financial transaction was posted to, if any.
|
|
1096
|
+
dispute_financial_account_id:,
|
|
910
1097
|
# The dispute financial transaction that resulted from the network event, if any.
|
|
911
1098
|
dispute_financial_transaction_id:,
|
|
912
1099
|
# A Card Dispute Chargeback Accepted Visa Network Event object. This field will be
|
|
@@ -1002,6 +1189,7 @@ module Increase
|
|
|
1002
1189
|
category:
|
|
1003
1190
|
Increase::CardDispute::Visa::NetworkEvent::Category::TaggedSymbol,
|
|
1004
1191
|
created_at: Time,
|
|
1192
|
+
dispute_financial_account_id: T.nilable(String),
|
|
1005
1193
|
dispute_financial_transaction_id: T.nilable(String),
|
|
1006
1194
|
chargeback_accepted:
|
|
1007
1195
|
T.nilable(
|
|
@@ -16,8 +16,8 @@ module Increase
|
|
|
16
16
|
sig { returns(String) }
|
|
17
17
|
attr_accessor :disputed_transaction_id
|
|
18
18
|
|
|
19
|
-
# The network of the disputed transaction. Details specific to the network
|
|
20
|
-
#
|
|
19
|
+
# The network of the disputed transaction. Details specific to the network can be
|
|
20
|
+
# provided under the sub-object with the same identifier as the network.
|
|
21
21
|
sig { returns(Increase::CardDisputeCreateParams::Network::OrSymbol) }
|
|
22
22
|
attr_accessor :network
|
|
23
23
|
|
|
@@ -31,7 +31,8 @@ module Increase
|
|
|
31
31
|
sig { params(amount: Integer).void }
|
|
32
32
|
attr_writer :amount
|
|
33
33
|
|
|
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
|
sig do
|
|
36
37
|
returns(
|
|
37
38
|
T.nilable(T::Array[Increase::CardDisputeCreateParams::AttachmentFile])
|
|
@@ -48,15 +49,16 @@ module Increase
|
|
|
48
49
|
attr_writer :attachment_files
|
|
49
50
|
|
|
50
51
|
# The free-form explanation provided to Increase to provide more context for the
|
|
51
|
-
# user submission. This field is not sent directly to the card networks.
|
|
52
|
+
# user submission. This field is not sent directly to the card networks. Can only
|
|
53
|
+
# be provided along with the network-specific details.
|
|
52
54
|
sig { returns(T.nilable(String)) }
|
|
53
55
|
attr_reader :explanation
|
|
54
56
|
|
|
55
57
|
sig { params(explanation: String).void }
|
|
56
58
|
attr_writer :explanation
|
|
57
59
|
|
|
58
|
-
# The Visa-specific parameters for the
|
|
59
|
-
#
|
|
60
|
+
# The Visa-specific parameters for the initial User Submission. If omitted, a
|
|
61
|
+
# later User Submission will be required.
|
|
60
62
|
sig { returns(T.nilable(Increase::CardDisputeCreateParams::Visa)) }
|
|
61
63
|
attr_reader :visa
|
|
62
64
|
|
|
@@ -79,21 +81,23 @@ module Increase
|
|
|
79
81
|
# The Transaction you wish to dispute. This Transaction must have a `source_type`
|
|
80
82
|
# of `card_settlement`.
|
|
81
83
|
disputed_transaction_id:,
|
|
82
|
-
# The network of the disputed transaction. Details specific to the network
|
|
83
|
-
#
|
|
84
|
+
# The network of the disputed transaction. Details specific to the network can be
|
|
85
|
+
# provided under the sub-object with the same identifier as the network.
|
|
84
86
|
network:,
|
|
85
87
|
# The monetary amount of the part of the transaction that is being disputed. This
|
|
86
88
|
# is optional and will default to the full amount of the transaction if not
|
|
87
89
|
# provided. If provided, the amount must be less than or equal to the amount of
|
|
88
90
|
# the transaction.
|
|
89
91
|
amount: nil,
|
|
90
|
-
# The files to be attached to the initial dispute submission.
|
|
92
|
+
# The files to be attached to the initial dispute submission. Can only be provided
|
|
93
|
+
# along with the network-specific details.
|
|
91
94
|
attachment_files: nil,
|
|
92
95
|
# The free-form explanation provided to Increase to provide more context for the
|
|
93
|
-
# user submission. This field is not sent directly to the card networks.
|
|
96
|
+
# user submission. This field is not sent directly to the card networks. Can only
|
|
97
|
+
# be provided along with the network-specific details.
|
|
94
98
|
explanation: nil,
|
|
95
|
-
# The Visa-specific parameters for the
|
|
96
|
-
#
|
|
99
|
+
# The Visa-specific parameters for the initial User Submission. If omitted, a
|
|
100
|
+
# later User Submission will be required.
|
|
97
101
|
visa: nil,
|
|
98
102
|
request_options: {}
|
|
99
103
|
)
|
|
@@ -116,8 +120,8 @@ module Increase
|
|
|
116
120
|
def to_hash
|
|
117
121
|
end
|
|
118
122
|
|
|
119
|
-
# The network of the disputed transaction. Details specific to the network
|
|
120
|
-
#
|
|
123
|
+
# The network of the disputed transaction. Details specific to the network can be
|
|
124
|
+
# provided under the sub-object with the same identifier as the network.
|
|
121
125
|
module Network
|
|
122
126
|
extend Increase::Internal::Type::Enum
|
|
123
127
|
|
|
@@ -531,8 +535,8 @@ module Increase
|
|
|
531
535
|
end
|
|
532
536
|
attr_writer :processing_error
|
|
533
537
|
|
|
534
|
-
# The Visa-specific parameters for the
|
|
535
|
-
#
|
|
538
|
+
# The Visa-specific parameters for the initial User Submission. If omitted, a
|
|
539
|
+
# later User Submission will be required.
|
|
536
540
|
sig do
|
|
537
541
|
params(
|
|
538
542
|
category:
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class CardDisputeProvideProvisionalCreditParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::CardDisputeProvideProvisionalCreditParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Card Dispute to provide a provisional credit for.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :card_dispute_id
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
card_dispute_id: String,
|
|
24
|
+
request_options: Increase::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(
|
|
28
|
+
# The identifier of the Card Dispute to provide a provisional credit for.
|
|
29
|
+
card_dispute_id:,
|
|
30
|
+
request_options: {}
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(
|
|
36
|
+
{ card_dispute_id: String, request_options: Increase::RequestOptions }
|
|
37
|
+
)
|
|
38
|
+
end
|
|
39
|
+
def to_hash
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class CardDisputeReverseProvisionalCreditParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::CardDisputeReverseProvisionalCreditParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Card Dispute to reverse the provisional credit for.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :card_dispute_id
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
card_dispute_id: String,
|
|
24
|
+
request_options: Increase::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(
|
|
28
|
+
# The identifier of the Card Dispute to reverse the provisional credit for.
|
|
29
|
+
card_dispute_id:,
|
|
30
|
+
request_options: {}
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(
|
|
36
|
+
{ card_dispute_id: String, request_options: Increase::RequestOptions }
|
|
37
|
+
)
|
|
38
|
+
end
|
|
39
|
+
def to_hash
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -4983,6 +4983,13 @@ module Increase
|
|
|
4983
4983
|
Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
|
|
4984
4984
|
)
|
|
4985
4985
|
|
|
4986
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
4987
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
4988
|
+
T.let(
|
|
4989
|
+
:pulse_switch_fee_credit,
|
|
4990
|
+
Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
|
|
4991
|
+
)
|
|
4992
|
+
|
|
4986
4993
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
4987
4994
|
PULSE_TOKENIZATION_FEE =
|
|
4988
4995
|
T.let(
|
|
@@ -7782,6 +7789,13 @@ module Increase
|
|
|
7782
7789
|
Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
|
|
7783
7790
|
)
|
|
7784
7791
|
|
|
7792
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
7793
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
7794
|
+
T.let(
|
|
7795
|
+
:pulse_switch_fee_credit,
|
|
7796
|
+
Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
|
|
7797
|
+
)
|
|
7798
|
+
|
|
7785
7799
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
7786
7800
|
PULSE_TOKENIZATION_FEE =
|
|
7787
7801
|
T.let(
|
|
@@ -10904,6 +10918,13 @@ module Increase
|
|
|
10904
10918
|
Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
|
|
10905
10919
|
)
|
|
10906
10920
|
|
|
10921
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
10922
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
10923
|
+
T.let(
|
|
10924
|
+
:pulse_switch_fee_credit,
|
|
10925
|
+
Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
|
|
10926
|
+
)
|
|
10927
|
+
|
|
10907
10928
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
10908
10929
|
PULSE_TOKENIZATION_FEE =
|
|
10909
10930
|
T.let(
|
|
@@ -13725,6 +13746,13 @@ module Increase
|
|
|
13725
13746
|
Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
|
|
13726
13747
|
)
|
|
13727
13748
|
|
|
13749
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
13750
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
13751
|
+
T.let(
|
|
13752
|
+
:pulse_switch_fee_credit,
|
|
13753
|
+
Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
|
|
13754
|
+
)
|
|
13755
|
+
|
|
13728
13756
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
13729
13757
|
PULSE_TOKENIZATION_FEE =
|
|
13730
13758
|
T.let(
|
|
@@ -14822,6 +14850,13 @@ module Increase
|
|
|
14822
14850
|
Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
|
|
14823
14851
|
)
|
|
14824
14852
|
|
|
14853
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
14854
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
14855
|
+
T.let(
|
|
14856
|
+
:pulse_switch_fee_credit,
|
|
14857
|
+
Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
|
|
14858
|
+
)
|
|
14859
|
+
|
|
14825
14860
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
14826
14861
|
PULSE_TOKENIZATION_FEE =
|
|
14827
14862
|
T.let(
|
|
@@ -16413,6 +16448,13 @@ module Increase
|
|
|
16413
16448
|
Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
|
|
16414
16449
|
)
|
|
16415
16450
|
|
|
16451
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
16452
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
16453
|
+
T.let(
|
|
16454
|
+
:pulse_switch_fee_credit,
|
|
16455
|
+
Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
|
|
16456
|
+
)
|
|
16457
|
+
|
|
16416
16458
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
16417
16459
|
PULSE_TOKENIZATION_FEE =
|
|
16418
16460
|
T.let(
|
|
@@ -20619,6 +20661,13 @@ module Increase
|
|
|
20619
20661
|
Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
|
|
20620
20662
|
)
|
|
20621
20663
|
|
|
20664
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
20665
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
20666
|
+
T.let(
|
|
20667
|
+
:pulse_switch_fee_credit,
|
|
20668
|
+
Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
|
|
20669
|
+
)
|
|
20670
|
+
|
|
20622
20671
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
20623
20672
|
PULSE_TOKENIZATION_FEE =
|
|
20624
20673
|
T.let(
|
|
@@ -21503,6 +21552,13 @@ module Increase
|
|
|
21503
21552
|
Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
|
|
21504
21553
|
)
|
|
21505
21554
|
|
|
21555
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
21556
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
21557
|
+
T.let(
|
|
21558
|
+
:pulse_switch_fee_credit,
|
|
21559
|
+
Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
|
|
21560
|
+
)
|
|
21561
|
+
|
|
21506
21562
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
21507
21563
|
PULSE_TOKENIZATION_FEE =
|
|
21508
21564
|
T.let(
|
|
@@ -25768,6 +25824,13 @@ module Increase
|
|
|
25768
25824
|
Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
|
|
25769
25825
|
)
|
|
25770
25826
|
|
|
25827
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
25828
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
25829
|
+
T.let(
|
|
25830
|
+
:pulse_switch_fee_credit,
|
|
25831
|
+
Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
|
|
25832
|
+
)
|
|
25833
|
+
|
|
25771
25834
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
25772
25835
|
PULSE_TOKENIZATION_FEE =
|
|
25773
25836
|
T.let(
|
|
@@ -28067,6 +28130,13 @@ module Increase
|
|
|
28067
28130
|
Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
|
|
28068
28131
|
)
|
|
28069
28132
|
|
|
28133
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
28134
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
28135
|
+
T.let(
|
|
28136
|
+
:pulse_switch_fee_credit,
|
|
28137
|
+
Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
|
|
28138
|
+
)
|
|
28139
|
+
|
|
28070
28140
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
28071
28141
|
PULSE_TOKENIZATION_FEE =
|
|
28072
28142
|
T.let(
|
|
@@ -3546,6 +3546,13 @@ module Increase
|
|
|
3546
3546
|
Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
|
|
3547
3547
|
)
|
|
3548
3548
|
|
|
3549
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
3550
|
+
PULSE_SWITCH_FEE_CREDIT =
|
|
3551
|
+
T.let(
|
|
3552
|
+
:pulse_switch_fee_credit,
|
|
3553
|
+
Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
|
|
3554
|
+
)
|
|
3555
|
+
|
|
3549
3556
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
3550
3557
|
PULSE_TOKENIZATION_FEE =
|
|
3551
3558
|
T.let(
|
|
@@ -377,9 +377,15 @@ module Increase
|
|
|
377
377
|
sig { returns(T.nilable(String)) }
|
|
378
378
|
attr_accessor :account_id
|
|
379
379
|
|
|
380
|
-
# The
|
|
380
|
+
# The first as-of date (UTC) reported in the BAI2 file. If null, the report
|
|
381
|
+
# started from the earliest included Account.
|
|
381
382
|
sig { returns(T.nilable(Date)) }
|
|
382
|
-
attr_accessor :
|
|
383
|
+
attr_accessor :on_or_after_date
|
|
384
|
+
|
|
385
|
+
# The last as-of date (UTC) reported in the BAI2 file. If null, the report ran
|
|
386
|
+
# through the date the Export was created.
|
|
387
|
+
sig { returns(T.nilable(Date)) }
|
|
388
|
+
attr_accessor :on_or_before_date
|
|
383
389
|
|
|
384
390
|
# Filter results by Program.
|
|
385
391
|
sig { returns(T.nilable(String)) }
|
|
@@ -390,15 +396,20 @@ module Increase
|
|
|
390
396
|
sig do
|
|
391
397
|
params(
|
|
392
398
|
account_id: T.nilable(String),
|
|
393
|
-
|
|
399
|
+
on_or_after_date: T.nilable(Date),
|
|
400
|
+
on_or_before_date: T.nilable(Date),
|
|
394
401
|
program_id: T.nilable(String)
|
|
395
402
|
).returns(T.attached_class)
|
|
396
403
|
end
|
|
397
404
|
def self.new(
|
|
398
405
|
# Filter results by Account.
|
|
399
406
|
account_id:,
|
|
400
|
-
# The
|
|
401
|
-
|
|
407
|
+
# The first as-of date (UTC) reported in the BAI2 file. If null, the report
|
|
408
|
+
# started from the earliest included Account.
|
|
409
|
+
on_or_after_date:,
|
|
410
|
+
# The last as-of date (UTC) reported in the BAI2 file. If null, the report ran
|
|
411
|
+
# through the date the Export was created.
|
|
412
|
+
on_or_before_date:,
|
|
402
413
|
# Filter results by Program.
|
|
403
414
|
program_id:
|
|
404
415
|
)
|
|
@@ -408,7 +419,8 @@ module Increase
|
|
|
408
419
|
override.returns(
|
|
409
420
|
{
|
|
410
421
|
account_id: T.nilable(String),
|
|
411
|
-
|
|
422
|
+
on_or_after_date: T.nilable(Date),
|
|
423
|
+
on_or_before_date: T.nilable(Date),
|
|
412
424
|
program_id: T.nilable(String)
|
|
413
425
|
}
|
|
414
426
|
)
|