increase 1.126.0 → 1.128.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/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/card_dispute.rb +311 -66
- data/lib/increase/models/card_dispute_create_params.rb +102 -30
- data/lib/increase/models/card_dispute_submit_user_submission_params.rb +104 -30
- data/lib/increase/models/card_payment.rb +60 -15
- data/lib/increase/models/declined_transaction.rb +21 -6
- data/lib/increase/models/export_create_params.rb +8 -3
- data/lib/increase/models/pending_transaction.rb +32 -33
- data/lib/increase/models/real_time_decision.rb +24 -6
- data/lib/increase/models/simulations/card_dispute_action_params.rb +97 -27
- data/lib/increase/models/transaction.rb +23 -6
- data/lib/increase/resources/exports.rb +1 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_dispute.rbi +1038 -88
- data/rbi/increase/models/card_dispute_create_params.rbi +364 -40
- data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +364 -40
- data/rbi/increase/models/card_payment.rbi +211 -20
- data/rbi/increase/models/declined_transaction.rbi +78 -8
- data/rbi/increase/models/export_create_params.rbi +25 -4
- data/rbi/increase/models/pending_transaction.rbi +90 -53
- data/rbi/increase/models/real_time_decision.rbi +90 -8
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +333 -36
- data/rbi/increase/models/transaction.rbi +76 -8
- data/rbi/increase/resources/exports.rbi +1 -1
- data/sig/increase/models/card_dispute.rbs +264 -88
- data/sig/increase/models/card_dispute_create_params.rbs +150 -50
- data/sig/increase/models/card_dispute_submit_user_submission_params.rbs +150 -50
- data/sig/increase/models/card_payment.rbs +60 -20
- data/sig/increase/models/declined_transaction.rbs +24 -8
- data/sig/increase/models/export_create_params.rbs +15 -5
- data/sig/increase/models/pending_transaction.rbs +29 -27
- data/sig/increase/models/real_time_decision.rbs +24 -8
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +135 -45
- data/sig/increase/models/transaction.rbs +24 -8
- data/sig/increase/resources/exports.rbs +1 -1
- metadata +1 -1
|
@@ -124,42 +124,97 @@ module Increase
|
|
|
124
124
|
|
|
125
125
|
# The parameters for accepting the chargeback. Required if and only if `action` is
|
|
126
126
|
# `accept_chargeback`.
|
|
127
|
-
sig
|
|
127
|
+
sig do
|
|
128
|
+
returns(
|
|
129
|
+
T.nilable(
|
|
130
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback
|
|
131
|
+
)
|
|
132
|
+
)
|
|
133
|
+
end
|
|
128
134
|
attr_reader :accept_chargeback
|
|
129
135
|
|
|
130
|
-
sig
|
|
136
|
+
sig do
|
|
137
|
+
params(
|
|
138
|
+
accept_chargeback:
|
|
139
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback::OrHash
|
|
140
|
+
).void
|
|
141
|
+
end
|
|
131
142
|
attr_writer :accept_chargeback
|
|
132
143
|
|
|
133
144
|
# The parameters for accepting the user submission. Required if and only if
|
|
134
145
|
# `action` is `accept_user_submission`.
|
|
135
|
-
sig
|
|
146
|
+
sig do
|
|
147
|
+
returns(
|
|
148
|
+
T.nilable(
|
|
149
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission
|
|
150
|
+
)
|
|
151
|
+
)
|
|
152
|
+
end
|
|
136
153
|
attr_reader :accept_user_submission
|
|
137
154
|
|
|
138
|
-
sig
|
|
155
|
+
sig do
|
|
156
|
+
params(
|
|
157
|
+
accept_user_submission:
|
|
158
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission::OrHash
|
|
159
|
+
).void
|
|
160
|
+
end
|
|
139
161
|
attr_writer :accept_user_submission
|
|
140
162
|
|
|
141
163
|
# The parameters for declining the prearbitration. Required if and only if
|
|
142
164
|
# `action` is `decline_user_prearbitration`.
|
|
143
|
-
sig
|
|
165
|
+
sig do
|
|
166
|
+
returns(
|
|
167
|
+
T.nilable(
|
|
168
|
+
Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration
|
|
169
|
+
)
|
|
170
|
+
)
|
|
171
|
+
end
|
|
144
172
|
attr_reader :decline_user_prearbitration
|
|
145
173
|
|
|
146
|
-
sig
|
|
174
|
+
sig do
|
|
175
|
+
params(
|
|
176
|
+
decline_user_prearbitration:
|
|
177
|
+
Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration::OrHash
|
|
178
|
+
).void
|
|
179
|
+
end
|
|
147
180
|
attr_writer :decline_user_prearbitration
|
|
148
181
|
|
|
149
182
|
# The parameters for receiving the prearbitration. Required if and only if
|
|
150
183
|
# `action` is `receive_merchant_prearbitration`.
|
|
151
|
-
sig
|
|
184
|
+
sig do
|
|
185
|
+
returns(
|
|
186
|
+
T.nilable(
|
|
187
|
+
Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration
|
|
188
|
+
)
|
|
189
|
+
)
|
|
190
|
+
end
|
|
152
191
|
attr_reader :receive_merchant_prearbitration
|
|
153
192
|
|
|
154
|
-
sig
|
|
193
|
+
sig do
|
|
194
|
+
params(
|
|
195
|
+
receive_merchant_prearbitration:
|
|
196
|
+
Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration::OrHash
|
|
197
|
+
).void
|
|
198
|
+
end
|
|
155
199
|
attr_writer :receive_merchant_prearbitration
|
|
156
200
|
|
|
157
201
|
# The parameters for re-presenting the dispute. Required if and only if `action`
|
|
158
202
|
# is `represent`.
|
|
159
|
-
sig
|
|
203
|
+
sig do
|
|
204
|
+
returns(
|
|
205
|
+
T.nilable(
|
|
206
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Represent
|
|
207
|
+
)
|
|
208
|
+
)
|
|
209
|
+
end
|
|
160
210
|
attr_reader :represent
|
|
161
211
|
|
|
162
|
-
sig
|
|
212
|
+
sig do
|
|
213
|
+
params(
|
|
214
|
+
represent:
|
|
215
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Represent::OrHash
|
|
216
|
+
).void
|
|
217
|
+
end
|
|
163
218
|
attr_writer :represent
|
|
164
219
|
|
|
165
220
|
# The parameters for requesting further information from the user. Required if and
|
|
@@ -183,34 +238,78 @@ module Increase
|
|
|
183
238
|
|
|
184
239
|
# The parameters for timing out the chargeback. Required if and only if `action`
|
|
185
240
|
# is `time_out_chargeback`.
|
|
186
|
-
sig
|
|
241
|
+
sig do
|
|
242
|
+
returns(
|
|
243
|
+
T.nilable(
|
|
244
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback
|
|
245
|
+
)
|
|
246
|
+
)
|
|
247
|
+
end
|
|
187
248
|
attr_reader :time_out_chargeback
|
|
188
249
|
|
|
189
|
-
sig
|
|
250
|
+
sig do
|
|
251
|
+
params(
|
|
252
|
+
time_out_chargeback:
|
|
253
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback::OrHash
|
|
254
|
+
).void
|
|
255
|
+
end
|
|
190
256
|
attr_writer :time_out_chargeback
|
|
191
257
|
|
|
192
258
|
# The parameters for timing out the merchant prearbitration. Required if and only
|
|
193
259
|
# if `action` is `time_out_merchant_prearbitration`.
|
|
194
|
-
sig
|
|
260
|
+
sig do
|
|
261
|
+
returns(
|
|
262
|
+
T.nilable(
|
|
263
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration
|
|
264
|
+
)
|
|
265
|
+
)
|
|
266
|
+
end
|
|
195
267
|
attr_reader :time_out_merchant_prearbitration
|
|
196
268
|
|
|
197
|
-
sig
|
|
269
|
+
sig do
|
|
270
|
+
params(
|
|
271
|
+
time_out_merchant_prearbitration:
|
|
272
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration::OrHash
|
|
273
|
+
).void
|
|
274
|
+
end
|
|
198
275
|
attr_writer :time_out_merchant_prearbitration
|
|
199
276
|
|
|
200
277
|
# The parameters for timing out the re-presentment. Required if and only if
|
|
201
278
|
# `action` is `time_out_representment`.
|
|
202
|
-
sig
|
|
279
|
+
sig do
|
|
280
|
+
returns(
|
|
281
|
+
T.nilable(
|
|
282
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment
|
|
283
|
+
)
|
|
284
|
+
)
|
|
285
|
+
end
|
|
203
286
|
attr_reader :time_out_representment
|
|
204
287
|
|
|
205
|
-
sig
|
|
288
|
+
sig do
|
|
289
|
+
params(
|
|
290
|
+
time_out_representment:
|
|
291
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment::OrHash
|
|
292
|
+
).void
|
|
293
|
+
end
|
|
206
294
|
attr_writer :time_out_representment
|
|
207
295
|
|
|
208
296
|
# The parameters for timing out the user prearbitration. Required if and only if
|
|
209
297
|
# `action` is `time_out_user_prearbitration`.
|
|
210
|
-
sig
|
|
298
|
+
sig do
|
|
299
|
+
returns(
|
|
300
|
+
T.nilable(
|
|
301
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration
|
|
302
|
+
)
|
|
303
|
+
)
|
|
304
|
+
end
|
|
211
305
|
attr_reader :time_out_user_prearbitration
|
|
212
306
|
|
|
213
|
-
sig
|
|
307
|
+
sig do
|
|
308
|
+
params(
|
|
309
|
+
time_out_user_prearbitration:
|
|
310
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration::OrHash
|
|
311
|
+
).void
|
|
312
|
+
end
|
|
214
313
|
attr_writer :time_out_user_prearbitration
|
|
215
314
|
|
|
216
315
|
# The Visa-specific parameters for the taking action on the dispute. Required if
|
|
@@ -219,17 +318,26 @@ module Increase
|
|
|
219
318
|
params(
|
|
220
319
|
action:
|
|
221
320
|
Increase::Simulations::CardDisputeActionParams::Visa::Action::OrSymbol,
|
|
222
|
-
accept_chargeback:
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
321
|
+
accept_chargeback:
|
|
322
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback::OrHash,
|
|
323
|
+
accept_user_submission:
|
|
324
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission::OrHash,
|
|
325
|
+
decline_user_prearbitration:
|
|
326
|
+
Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration::OrHash,
|
|
327
|
+
receive_merchant_prearbitration:
|
|
328
|
+
Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration::OrHash,
|
|
329
|
+
represent:
|
|
330
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Represent::OrHash,
|
|
227
331
|
request_further_information:
|
|
228
332
|
Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation::OrHash,
|
|
229
|
-
time_out_chargeback:
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
333
|
+
time_out_chargeback:
|
|
334
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback::OrHash,
|
|
335
|
+
time_out_merchant_prearbitration:
|
|
336
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration::OrHash,
|
|
337
|
+
time_out_representment:
|
|
338
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment::OrHash,
|
|
339
|
+
time_out_user_prearbitration:
|
|
340
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration::OrHash
|
|
233
341
|
).returns(T.attached_class)
|
|
234
342
|
end
|
|
235
343
|
def self.new(
|
|
@@ -274,17 +382,26 @@ module Increase
|
|
|
274
382
|
{
|
|
275
383
|
action:
|
|
276
384
|
Increase::Simulations::CardDisputeActionParams::Visa::Action::OrSymbol,
|
|
277
|
-
accept_chargeback:
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
385
|
+
accept_chargeback:
|
|
386
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback,
|
|
387
|
+
accept_user_submission:
|
|
388
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission,
|
|
389
|
+
decline_user_prearbitration:
|
|
390
|
+
Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
|
|
391
|
+
receive_merchant_prearbitration:
|
|
392
|
+
Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
|
|
393
|
+
represent:
|
|
394
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Represent,
|
|
282
395
|
request_further_information:
|
|
283
396
|
Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation,
|
|
284
|
-
time_out_chargeback:
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
397
|
+
time_out_chargeback:
|
|
398
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback,
|
|
399
|
+
time_out_merchant_prearbitration:
|
|
400
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration,
|
|
401
|
+
time_out_representment:
|
|
402
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment,
|
|
403
|
+
time_out_user_prearbitration:
|
|
404
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration
|
|
288
405
|
}
|
|
289
406
|
)
|
|
290
407
|
end
|
|
@@ -386,6 +503,106 @@ module Increase
|
|
|
386
503
|
end
|
|
387
504
|
end
|
|
388
505
|
|
|
506
|
+
class AcceptChargeback < Increase::Internal::Type::BaseModel
|
|
507
|
+
OrHash =
|
|
508
|
+
T.type_alias do
|
|
509
|
+
T.any(
|
|
510
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback,
|
|
511
|
+
Increase::Internal::AnyHash
|
|
512
|
+
)
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
# The parameters for accepting the chargeback. Required if and only if `action` is
|
|
516
|
+
# `accept_chargeback`.
|
|
517
|
+
sig { returns(T.attached_class) }
|
|
518
|
+
def self.new
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
sig { override.returns({}) }
|
|
522
|
+
def to_hash
|
|
523
|
+
end
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
class AcceptUserSubmission < Increase::Internal::Type::BaseModel
|
|
527
|
+
OrHash =
|
|
528
|
+
T.type_alias do
|
|
529
|
+
T.any(
|
|
530
|
+
Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission,
|
|
531
|
+
Increase::Internal::AnyHash
|
|
532
|
+
)
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
# The parameters for accepting the user submission. Required if and only if
|
|
536
|
+
# `action` is `accept_user_submission`.
|
|
537
|
+
sig { returns(T.attached_class) }
|
|
538
|
+
def self.new
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
sig { override.returns({}) }
|
|
542
|
+
def to_hash
|
|
543
|
+
end
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
class DeclineUserPrearbitration < Increase::Internal::Type::BaseModel
|
|
547
|
+
OrHash =
|
|
548
|
+
T.type_alias do
|
|
549
|
+
T.any(
|
|
550
|
+
Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
|
|
551
|
+
Increase::Internal::AnyHash
|
|
552
|
+
)
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
# The parameters for declining the prearbitration. Required if and only if
|
|
556
|
+
# `action` is `decline_user_prearbitration`.
|
|
557
|
+
sig { returns(T.attached_class) }
|
|
558
|
+
def self.new
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
sig { override.returns({}) }
|
|
562
|
+
def to_hash
|
|
563
|
+
end
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
class ReceiveMerchantPrearbitration < Increase::Internal::Type::BaseModel
|
|
567
|
+
OrHash =
|
|
568
|
+
T.type_alias do
|
|
569
|
+
T.any(
|
|
570
|
+
Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
|
|
571
|
+
Increase::Internal::AnyHash
|
|
572
|
+
)
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
# The parameters for receiving the prearbitration. Required if and only if
|
|
576
|
+
# `action` is `receive_merchant_prearbitration`.
|
|
577
|
+
sig { returns(T.attached_class) }
|
|
578
|
+
def self.new
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
sig { override.returns({}) }
|
|
582
|
+
def to_hash
|
|
583
|
+
end
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
class Represent < Increase::Internal::Type::BaseModel
|
|
587
|
+
OrHash =
|
|
588
|
+
T.type_alias do
|
|
589
|
+
T.any(
|
|
590
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Represent,
|
|
591
|
+
Increase::Internal::AnyHash
|
|
592
|
+
)
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
# The parameters for re-presenting the dispute. Required if and only if `action`
|
|
596
|
+
# is `represent`.
|
|
597
|
+
sig { returns(T.attached_class) }
|
|
598
|
+
def self.new
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
sig { override.returns({}) }
|
|
602
|
+
def to_hash
|
|
603
|
+
end
|
|
604
|
+
end
|
|
605
|
+
|
|
389
606
|
class RequestFurtherInformation < Increase::Internal::Type::BaseModel
|
|
390
607
|
OrHash =
|
|
391
608
|
T.type_alias do
|
|
@@ -412,6 +629,86 @@ module Increase
|
|
|
412
629
|
def to_hash
|
|
413
630
|
end
|
|
414
631
|
end
|
|
632
|
+
|
|
633
|
+
class TimeOutChargeback < Increase::Internal::Type::BaseModel
|
|
634
|
+
OrHash =
|
|
635
|
+
T.type_alias do
|
|
636
|
+
T.any(
|
|
637
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback,
|
|
638
|
+
Increase::Internal::AnyHash
|
|
639
|
+
)
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
# The parameters for timing out the chargeback. Required if and only if `action`
|
|
643
|
+
# is `time_out_chargeback`.
|
|
644
|
+
sig { returns(T.attached_class) }
|
|
645
|
+
def self.new
|
|
646
|
+
end
|
|
647
|
+
|
|
648
|
+
sig { override.returns({}) }
|
|
649
|
+
def to_hash
|
|
650
|
+
end
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
class TimeOutMerchantPrearbitration < Increase::Internal::Type::BaseModel
|
|
654
|
+
OrHash =
|
|
655
|
+
T.type_alias do
|
|
656
|
+
T.any(
|
|
657
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration,
|
|
658
|
+
Increase::Internal::AnyHash
|
|
659
|
+
)
|
|
660
|
+
end
|
|
661
|
+
|
|
662
|
+
# The parameters for timing out the merchant prearbitration. Required if and only
|
|
663
|
+
# if `action` is `time_out_merchant_prearbitration`.
|
|
664
|
+
sig { returns(T.attached_class) }
|
|
665
|
+
def self.new
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
sig { override.returns({}) }
|
|
669
|
+
def to_hash
|
|
670
|
+
end
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
class TimeOutRepresentment < Increase::Internal::Type::BaseModel
|
|
674
|
+
OrHash =
|
|
675
|
+
T.type_alias do
|
|
676
|
+
T.any(
|
|
677
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment,
|
|
678
|
+
Increase::Internal::AnyHash
|
|
679
|
+
)
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# The parameters for timing out the re-presentment. Required if and only if
|
|
683
|
+
# `action` is `time_out_representment`.
|
|
684
|
+
sig { returns(T.attached_class) }
|
|
685
|
+
def self.new
|
|
686
|
+
end
|
|
687
|
+
|
|
688
|
+
sig { override.returns({}) }
|
|
689
|
+
def to_hash
|
|
690
|
+
end
|
|
691
|
+
end
|
|
692
|
+
|
|
693
|
+
class TimeOutUserPrearbitration < Increase::Internal::Type::BaseModel
|
|
694
|
+
OrHash =
|
|
695
|
+
T.type_alias do
|
|
696
|
+
T.any(
|
|
697
|
+
Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration,
|
|
698
|
+
Increase::Internal::AnyHash
|
|
699
|
+
)
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
# The parameters for timing out the user prearbitration. Required if and only if
|
|
703
|
+
# `action` is `time_out_user_prearbitration`.
|
|
704
|
+
sig { returns(T.attached_class) }
|
|
705
|
+
def self.new
|
|
706
|
+
end
|
|
707
|
+
|
|
708
|
+
sig { override.returns({}) }
|
|
709
|
+
def to_hash
|
|
710
|
+
end
|
|
711
|
+
end
|
|
415
712
|
end
|
|
416
713
|
end
|
|
417
714
|
end
|
|
@@ -810,8 +810,15 @@ module Increase
|
|
|
810
810
|
|
|
811
811
|
# If the category of this Transaction source is equal to `other`, this field will
|
|
812
812
|
# contain an empty object, otherwise it will contain null.
|
|
813
|
-
sig { returns(T.nilable(
|
|
814
|
-
|
|
813
|
+
sig { returns(T.nilable(Increase::Transaction::Source::Other)) }
|
|
814
|
+
attr_reader :other
|
|
815
|
+
|
|
816
|
+
sig do
|
|
817
|
+
params(
|
|
818
|
+
other: T.nilable(Increase::Transaction::Source::Other::OrHash)
|
|
819
|
+
).void
|
|
820
|
+
end
|
|
821
|
+
attr_writer :other
|
|
815
822
|
|
|
816
823
|
# A Real-Time Payments Transfer Acknowledgement object. This field will be present
|
|
817
824
|
# in the JSON response if and only if `category` is equal to
|
|
@@ -1020,7 +1027,7 @@ module Increase
|
|
|
1020
1027
|
T.nilable(Increase::Transaction::Source::InterestPayment::OrHash),
|
|
1021
1028
|
internal_source:
|
|
1022
1029
|
T.nilable(Increase::Transaction::Source::InternalSource::OrHash),
|
|
1023
|
-
other: T.nilable(
|
|
1030
|
+
other: T.nilable(Increase::Transaction::Source::Other::OrHash),
|
|
1024
1031
|
real_time_payments_transfer_acknowledgement:
|
|
1025
1032
|
T.nilable(
|
|
1026
1033
|
Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement::OrHash
|
|
@@ -1311,7 +1318,7 @@ module Increase
|
|
|
1311
1318
|
T.nilable(Increase::Transaction::Source::InterestPayment),
|
|
1312
1319
|
internal_source:
|
|
1313
1320
|
T.nilable(Increase::Transaction::Source::InternalSource),
|
|
1314
|
-
other: T.nilable(
|
|
1321
|
+
other: T.nilable(Increase::Transaction::Source::Other),
|
|
1315
1322
|
real_time_payments_transfer_acknowledgement:
|
|
1316
1323
|
T.nilable(
|
|
1317
1324
|
Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement
|
|
@@ -3893,8 +3900,24 @@ module Increase
|
|
|
3893
3900
|
attr_accessor :category
|
|
3894
3901
|
|
|
3895
3902
|
# Fields specific to the `pulse` network.
|
|
3896
|
-
sig
|
|
3897
|
-
|
|
3903
|
+
sig do
|
|
3904
|
+
returns(
|
|
3905
|
+
T.nilable(
|
|
3906
|
+
Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse
|
|
3907
|
+
)
|
|
3908
|
+
)
|
|
3909
|
+
end
|
|
3910
|
+
attr_reader :pulse
|
|
3911
|
+
|
|
3912
|
+
sig do
|
|
3913
|
+
params(
|
|
3914
|
+
pulse:
|
|
3915
|
+
T.nilable(
|
|
3916
|
+
Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse::OrHash
|
|
3917
|
+
)
|
|
3918
|
+
).void
|
|
3919
|
+
end
|
|
3920
|
+
attr_writer :pulse
|
|
3898
3921
|
|
|
3899
3922
|
# Fields specific to the `visa` network.
|
|
3900
3923
|
sig do
|
|
@@ -3921,7 +3944,10 @@ module Increase
|
|
|
3921
3944
|
params(
|
|
3922
3945
|
category:
|
|
3923
3946
|
Increase::Transaction::Source::CardFinancial::NetworkDetails::Category::OrSymbol,
|
|
3924
|
-
pulse:
|
|
3947
|
+
pulse:
|
|
3948
|
+
T.nilable(
|
|
3949
|
+
Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse::OrHash
|
|
3950
|
+
),
|
|
3925
3951
|
visa:
|
|
3926
3952
|
T.nilable(
|
|
3927
3953
|
Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::OrHash
|
|
@@ -3943,7 +3969,10 @@ module Increase
|
|
|
3943
3969
|
{
|
|
3944
3970
|
category:
|
|
3945
3971
|
Increase::Transaction::Source::CardFinancial::NetworkDetails::Category::TaggedSymbol,
|
|
3946
|
-
pulse:
|
|
3972
|
+
pulse:
|
|
3973
|
+
T.nilable(
|
|
3974
|
+
Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse
|
|
3975
|
+
),
|
|
3947
3976
|
visa:
|
|
3948
3977
|
T.nilable(
|
|
3949
3978
|
Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa
|
|
@@ -3992,6 +4021,25 @@ module Increase
|
|
|
3992
4021
|
end
|
|
3993
4022
|
end
|
|
3994
4023
|
|
|
4024
|
+
class Pulse < Increase::Internal::Type::BaseModel
|
|
4025
|
+
OrHash =
|
|
4026
|
+
T.type_alias do
|
|
4027
|
+
T.any(
|
|
4028
|
+
Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse,
|
|
4029
|
+
Increase::Internal::AnyHash
|
|
4030
|
+
)
|
|
4031
|
+
end
|
|
4032
|
+
|
|
4033
|
+
# Fields specific to the `pulse` network.
|
|
4034
|
+
sig { returns(T.attached_class) }
|
|
4035
|
+
def self.new
|
|
4036
|
+
end
|
|
4037
|
+
|
|
4038
|
+
sig { override.returns({}) }
|
|
4039
|
+
def to_hash
|
|
4040
|
+
end
|
|
4041
|
+
end
|
|
4042
|
+
|
|
3995
4043
|
class Visa < Increase::Internal::Type::BaseModel
|
|
3996
4044
|
OrHash =
|
|
3997
4045
|
T.type_alias do
|
|
@@ -12849,6 +12897,26 @@ module Increase
|
|
|
12849
12897
|
end
|
|
12850
12898
|
end
|
|
12851
12899
|
|
|
12900
|
+
class Other < Increase::Internal::Type::BaseModel
|
|
12901
|
+
OrHash =
|
|
12902
|
+
T.type_alias do
|
|
12903
|
+
T.any(
|
|
12904
|
+
Increase::Transaction::Source::Other,
|
|
12905
|
+
Increase::Internal::AnyHash
|
|
12906
|
+
)
|
|
12907
|
+
end
|
|
12908
|
+
|
|
12909
|
+
# If the category of this Transaction source is equal to `other`, this field will
|
|
12910
|
+
# contain an empty object, otherwise it will contain null.
|
|
12911
|
+
sig { returns(T.attached_class) }
|
|
12912
|
+
def self.new
|
|
12913
|
+
end
|
|
12914
|
+
|
|
12915
|
+
sig { override.returns({}) }
|
|
12916
|
+
def to_hash
|
|
12917
|
+
end
|
|
12918
|
+
end
|
|
12919
|
+
|
|
12852
12920
|
class RealTimePaymentsTransferAcknowledgement < Increase::Internal::Type::BaseModel
|
|
12853
12921
|
OrHash =
|
|
12854
12922
|
T.type_alias do
|
|
@@ -16,7 +16,7 @@ module Increase
|
|
|
16
16
|
Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::OrHash,
|
|
17
17
|
entity_csv: Increase::ExportCreateParams::EntityCsv::OrHash,
|
|
18
18
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv::OrHash,
|
|
19
|
-
vendor_csv:
|
|
19
|
+
vendor_csv: Increase::ExportCreateParams::VendorCsv::OrHash,
|
|
20
20
|
request_options: Increase::RequestOptions::OrHash
|
|
21
21
|
).returns(Increase::Export)
|
|
22
22
|
end
|