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
|
@@ -358,10 +358,21 @@ module Increase
|
|
|
358
358
|
|
|
359
359
|
# Non-receipt of cash. Required if and only if `category` is
|
|
360
360
|
# `consumer_non_receipt_of_cash`.
|
|
361
|
-
sig
|
|
361
|
+
sig do
|
|
362
|
+
returns(
|
|
363
|
+
T.nilable(
|
|
364
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash
|
|
365
|
+
)
|
|
366
|
+
)
|
|
367
|
+
end
|
|
362
368
|
attr_reader :consumer_non_receipt_of_cash
|
|
363
369
|
|
|
364
|
-
sig
|
|
370
|
+
sig do
|
|
371
|
+
params(
|
|
372
|
+
consumer_non_receipt_of_cash:
|
|
373
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash::OrHash
|
|
374
|
+
).void
|
|
375
|
+
end
|
|
365
376
|
attr_writer :consumer_non_receipt_of_cash
|
|
366
377
|
|
|
367
378
|
# Original Credit Transaction (OCT) not accepted. Required if and only if
|
|
@@ -533,7 +544,8 @@ module Increase
|
|
|
533
544
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::OrHash,
|
|
534
545
|
consumer_merchandise_not_received:
|
|
535
546
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::OrHash,
|
|
536
|
-
consumer_non_receipt_of_cash:
|
|
547
|
+
consumer_non_receipt_of_cash:
|
|
548
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash::OrHash,
|
|
537
549
|
consumer_original_credit_transaction_not_accepted:
|
|
538
550
|
Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted::OrHash,
|
|
539
551
|
consumer_quality_merchandise:
|
|
@@ -636,7 +648,8 @@ module Increase
|
|
|
636
648
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed,
|
|
637
649
|
consumer_merchandise_not_received:
|
|
638
650
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived,
|
|
639
|
-
consumer_non_receipt_of_cash:
|
|
651
|
+
consumer_non_receipt_of_cash:
|
|
652
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash,
|
|
640
653
|
consumer_original_credit_transaction_not_accepted:
|
|
641
654
|
Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted,
|
|
642
655
|
consumer_quality_merchandise:
|
|
@@ -951,10 +964,21 @@ module Increase
|
|
|
951
964
|
attr_writer :cardholder_cancellation
|
|
952
965
|
|
|
953
966
|
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
954
|
-
sig
|
|
967
|
+
sig do
|
|
968
|
+
returns(
|
|
969
|
+
T.nilable(
|
|
970
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned
|
|
971
|
+
)
|
|
972
|
+
)
|
|
973
|
+
end
|
|
955
974
|
attr_reader :not_returned
|
|
956
975
|
|
|
957
|
-
sig
|
|
976
|
+
sig do
|
|
977
|
+
params(
|
|
978
|
+
not_returned:
|
|
979
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned::OrHash
|
|
980
|
+
).void
|
|
981
|
+
end
|
|
958
982
|
attr_writer :not_returned
|
|
959
983
|
|
|
960
984
|
# Return attempted. Required if and only if `return_outcome` is
|
|
@@ -1006,7 +1030,8 @@ module Increase
|
|
|
1006
1030
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnOutcome::OrSymbol,
|
|
1007
1031
|
cardholder_cancellation:
|
|
1008
1032
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::OrHash,
|
|
1009
|
-
not_returned:
|
|
1033
|
+
not_returned:
|
|
1034
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned::OrHash,
|
|
1010
1035
|
return_attempted:
|
|
1011
1036
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted::OrHash,
|
|
1012
1037
|
returned:
|
|
@@ -1045,7 +1070,8 @@ module Increase
|
|
|
1045
1070
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnOutcome::OrSymbol,
|
|
1046
1071
|
cardholder_cancellation:
|
|
1047
1072
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation,
|
|
1048
|
-
not_returned:
|
|
1073
|
+
not_returned:
|
|
1074
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned,
|
|
1049
1075
|
return_attempted:
|
|
1050
1076
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted,
|
|
1051
1077
|
returned:
|
|
@@ -1287,6 +1313,25 @@ module Increase
|
|
|
1287
1313
|
end
|
|
1288
1314
|
end
|
|
1289
1315
|
|
|
1316
|
+
class NotReturned < Increase::Internal::Type::BaseModel
|
|
1317
|
+
OrHash =
|
|
1318
|
+
T.type_alias do
|
|
1319
|
+
T.any(
|
|
1320
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned,
|
|
1321
|
+
Increase::Internal::AnyHash
|
|
1322
|
+
)
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1325
|
+
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
1326
|
+
sig { returns(T.attached_class) }
|
|
1327
|
+
def self.new
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
sig { override.returns({}) }
|
|
1331
|
+
def to_hash
|
|
1332
|
+
end
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1290
1335
|
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
|
1291
1336
|
OrHash =
|
|
1292
1337
|
T.type_alias do
|
|
@@ -1849,17 +1894,39 @@ module Increase
|
|
|
1849
1894
|
|
|
1850
1895
|
# Other service type explanation. Required if and only if `service_type` is
|
|
1851
1896
|
# `other`.
|
|
1852
|
-
sig
|
|
1897
|
+
sig do
|
|
1898
|
+
returns(
|
|
1899
|
+
T.nilable(
|
|
1900
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other
|
|
1901
|
+
)
|
|
1902
|
+
)
|
|
1903
|
+
end
|
|
1853
1904
|
attr_reader :other
|
|
1854
1905
|
|
|
1855
|
-
sig
|
|
1906
|
+
sig do
|
|
1907
|
+
params(
|
|
1908
|
+
other:
|
|
1909
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other::OrHash
|
|
1910
|
+
).void
|
|
1911
|
+
end
|
|
1856
1912
|
attr_writer :other
|
|
1857
1913
|
|
|
1858
1914
|
# Timeshare explanation. Required if and only if `service_type` is `timeshare`.
|
|
1859
|
-
sig
|
|
1915
|
+
sig do
|
|
1916
|
+
returns(
|
|
1917
|
+
T.nilable(
|
|
1918
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare
|
|
1919
|
+
)
|
|
1920
|
+
)
|
|
1921
|
+
end
|
|
1860
1922
|
attr_reader :timeshare
|
|
1861
1923
|
|
|
1862
|
-
sig
|
|
1924
|
+
sig do
|
|
1925
|
+
params(
|
|
1926
|
+
timeshare:
|
|
1927
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare::OrHash
|
|
1928
|
+
).void
|
|
1929
|
+
end
|
|
1863
1930
|
attr_writer :timeshare
|
|
1864
1931
|
|
|
1865
1932
|
# Canceled services. Required if and only if `category` is
|
|
@@ -1876,8 +1943,10 @@ module Increase
|
|
|
1876
1943
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::ServiceType::OrSymbol,
|
|
1877
1944
|
guaranteed_reservation:
|
|
1878
1945
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::OrHash,
|
|
1879
|
-
other:
|
|
1880
|
-
|
|
1946
|
+
other:
|
|
1947
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other::OrHash,
|
|
1948
|
+
timeshare:
|
|
1949
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare::OrHash
|
|
1881
1950
|
).returns(T.attached_class)
|
|
1882
1951
|
end
|
|
1883
1952
|
def self.new(
|
|
@@ -1915,8 +1984,10 @@ module Increase
|
|
|
1915
1984
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::ServiceType::OrSymbol,
|
|
1916
1985
|
guaranteed_reservation:
|
|
1917
1986
|
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation,
|
|
1918
|
-
other:
|
|
1919
|
-
|
|
1987
|
+
other:
|
|
1988
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other,
|
|
1989
|
+
timeshare:
|
|
1990
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare
|
|
1920
1991
|
}
|
|
1921
1992
|
)
|
|
1922
1993
|
end
|
|
@@ -2189,6 +2260,45 @@ module Increase
|
|
|
2189
2260
|
end
|
|
2190
2261
|
end
|
|
2191
2262
|
end
|
|
2263
|
+
|
|
2264
|
+
class Other < Increase::Internal::Type::BaseModel
|
|
2265
|
+
OrHash =
|
|
2266
|
+
T.type_alias do
|
|
2267
|
+
T.any(
|
|
2268
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other,
|
|
2269
|
+
Increase::Internal::AnyHash
|
|
2270
|
+
)
|
|
2271
|
+
end
|
|
2272
|
+
|
|
2273
|
+
# Other service type explanation. Required if and only if `service_type` is
|
|
2274
|
+
# `other`.
|
|
2275
|
+
sig { returns(T.attached_class) }
|
|
2276
|
+
def self.new
|
|
2277
|
+
end
|
|
2278
|
+
|
|
2279
|
+
sig { override.returns({}) }
|
|
2280
|
+
def to_hash
|
|
2281
|
+
end
|
|
2282
|
+
end
|
|
2283
|
+
|
|
2284
|
+
class Timeshare < Increase::Internal::Type::BaseModel
|
|
2285
|
+
OrHash =
|
|
2286
|
+
T.type_alias do
|
|
2287
|
+
T.any(
|
|
2288
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare,
|
|
2289
|
+
Increase::Internal::AnyHash
|
|
2290
|
+
)
|
|
2291
|
+
end
|
|
2292
|
+
|
|
2293
|
+
# Timeshare explanation. Required if and only if `service_type` is `timeshare`.
|
|
2294
|
+
sig { returns(T.attached_class) }
|
|
2295
|
+
def self.new
|
|
2296
|
+
end
|
|
2297
|
+
|
|
2298
|
+
sig { override.returns({}) }
|
|
2299
|
+
def to_hash
|
|
2300
|
+
end
|
|
2301
|
+
end
|
|
2192
2302
|
end
|
|
2193
2303
|
|
|
2194
2304
|
class ConsumerCounterfeitMerchandise < Increase::Internal::Type::BaseModel
|
|
@@ -2334,10 +2444,21 @@ module Increase
|
|
|
2334
2444
|
attr_accessor :return_outcome
|
|
2335
2445
|
|
|
2336
2446
|
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
2337
|
-
sig
|
|
2447
|
+
sig do
|
|
2448
|
+
returns(
|
|
2449
|
+
T.nilable(
|
|
2450
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned
|
|
2451
|
+
)
|
|
2452
|
+
)
|
|
2453
|
+
end
|
|
2338
2454
|
attr_reader :not_returned
|
|
2339
2455
|
|
|
2340
|
-
sig
|
|
2456
|
+
sig do
|
|
2457
|
+
params(
|
|
2458
|
+
not_returned:
|
|
2459
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash
|
|
2460
|
+
).void
|
|
2461
|
+
end
|
|
2341
2462
|
attr_writer :not_returned
|
|
2342
2463
|
|
|
2343
2464
|
# Return attempted. Required if and only if `return_outcome` is
|
|
@@ -2387,7 +2508,8 @@ module Increase
|
|
|
2387
2508
|
received_at: Date,
|
|
2388
2509
|
return_outcome:
|
|
2389
2510
|
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnOutcome::OrSymbol,
|
|
2390
|
-
not_returned:
|
|
2511
|
+
not_returned:
|
|
2512
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash,
|
|
2391
2513
|
return_attempted:
|
|
2392
2514
|
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::OrHash,
|
|
2393
2515
|
returned:
|
|
@@ -2422,7 +2544,8 @@ module Increase
|
|
|
2422
2544
|
received_at: Date,
|
|
2423
2545
|
return_outcome:
|
|
2424
2546
|
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnOutcome::OrSymbol,
|
|
2425
|
-
not_returned:
|
|
2547
|
+
not_returned:
|
|
2548
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned,
|
|
2426
2549
|
return_attempted:
|
|
2427
2550
|
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted,
|
|
2428
2551
|
returned:
|
|
@@ -2516,6 +2639,25 @@ module Increase
|
|
|
2516
2639
|
end
|
|
2517
2640
|
end
|
|
2518
2641
|
|
|
2642
|
+
class NotReturned < Increase::Internal::Type::BaseModel
|
|
2643
|
+
OrHash =
|
|
2644
|
+
T.type_alias do
|
|
2645
|
+
T.any(
|
|
2646
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned,
|
|
2647
|
+
Increase::Internal::AnyHash
|
|
2648
|
+
)
|
|
2649
|
+
end
|
|
2650
|
+
|
|
2651
|
+
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
2652
|
+
sig { returns(T.attached_class) }
|
|
2653
|
+
def self.new
|
|
2654
|
+
end
|
|
2655
|
+
|
|
2656
|
+
sig { override.returns({}) }
|
|
2657
|
+
def to_hash
|
|
2658
|
+
end
|
|
2659
|
+
end
|
|
2660
|
+
|
|
2519
2661
|
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
|
2520
2662
|
OrHash =
|
|
2521
2663
|
T.type_alias do
|
|
@@ -2830,10 +2972,21 @@ module Increase
|
|
|
2830
2972
|
attr_accessor :return_outcome
|
|
2831
2973
|
|
|
2832
2974
|
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
2833
|
-
sig
|
|
2975
|
+
sig do
|
|
2976
|
+
returns(
|
|
2977
|
+
T.nilable(
|
|
2978
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned
|
|
2979
|
+
)
|
|
2980
|
+
)
|
|
2981
|
+
end
|
|
2834
2982
|
attr_reader :not_returned
|
|
2835
2983
|
|
|
2836
|
-
sig
|
|
2984
|
+
sig do
|
|
2985
|
+
params(
|
|
2986
|
+
not_returned:
|
|
2987
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash
|
|
2988
|
+
).void
|
|
2989
|
+
end
|
|
2837
2990
|
attr_writer :not_returned
|
|
2838
2991
|
|
|
2839
2992
|
# Return attempted. Required if and only if `return_outcome` is
|
|
@@ -2884,7 +3037,8 @@ module Increase
|
|
|
2884
3037
|
received_at: Date,
|
|
2885
3038
|
return_outcome:
|
|
2886
3039
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnOutcome::OrSymbol,
|
|
2887
|
-
not_returned:
|
|
3040
|
+
not_returned:
|
|
3041
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash,
|
|
2888
3042
|
return_attempted:
|
|
2889
3043
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted::OrHash,
|
|
2890
3044
|
returned:
|
|
@@ -2922,7 +3076,8 @@ module Increase
|
|
|
2922
3076
|
received_at: Date,
|
|
2923
3077
|
return_outcome:
|
|
2924
3078
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnOutcome::OrSymbol,
|
|
2925
|
-
not_returned:
|
|
3079
|
+
not_returned:
|
|
3080
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned,
|
|
2926
3081
|
return_attempted:
|
|
2927
3082
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted,
|
|
2928
3083
|
returned:
|
|
@@ -3016,6 +3171,25 @@ module Increase
|
|
|
3016
3171
|
end
|
|
3017
3172
|
end
|
|
3018
3173
|
|
|
3174
|
+
class NotReturned < Increase::Internal::Type::BaseModel
|
|
3175
|
+
OrHash =
|
|
3176
|
+
T.type_alias do
|
|
3177
|
+
T.any(
|
|
3178
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned,
|
|
3179
|
+
Increase::Internal::AnyHash
|
|
3180
|
+
)
|
|
3181
|
+
end
|
|
3182
|
+
|
|
3183
|
+
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
3184
|
+
sig { returns(T.attached_class) }
|
|
3185
|
+
def self.new
|
|
3186
|
+
end
|
|
3187
|
+
|
|
3188
|
+
sig { override.returns({}) }
|
|
3189
|
+
def to_hash
|
|
3190
|
+
end
|
|
3191
|
+
end
|
|
3192
|
+
|
|
3019
3193
|
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
|
3020
3194
|
OrHash =
|
|
3021
3195
|
T.type_alias do
|
|
@@ -3876,10 +4050,21 @@ module Increase
|
|
|
3876
4050
|
|
|
3877
4051
|
# No cancellation. Required if and only if `cancellation_outcome` is
|
|
3878
4052
|
# `no_cancellation`.
|
|
3879
|
-
sig
|
|
4053
|
+
sig do
|
|
4054
|
+
returns(
|
|
4055
|
+
T.nilable(
|
|
4056
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation
|
|
4057
|
+
)
|
|
4058
|
+
)
|
|
4059
|
+
end
|
|
3880
4060
|
attr_reader :no_cancellation
|
|
3881
4061
|
|
|
3882
|
-
sig
|
|
4062
|
+
sig do
|
|
4063
|
+
params(
|
|
4064
|
+
no_cancellation:
|
|
4065
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation::OrHash
|
|
4066
|
+
).void
|
|
4067
|
+
end
|
|
3883
4068
|
attr_writer :no_cancellation
|
|
3884
4069
|
|
|
3885
4070
|
# Merchandise not received. Required if and only if `category` is
|
|
@@ -3902,7 +4087,8 @@ module Increase
|
|
|
3902
4087
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation::OrHash,
|
|
3903
4088
|
merchant_cancellation:
|
|
3904
4089
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation::OrHash,
|
|
3905
|
-
no_cancellation:
|
|
4090
|
+
no_cancellation:
|
|
4091
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation::OrHash
|
|
3906
4092
|
).returns(T.attached_class)
|
|
3907
4093
|
end
|
|
3908
4094
|
def self.new(
|
|
@@ -3952,7 +4138,8 @@ module Increase
|
|
|
3952
4138
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation,
|
|
3953
4139
|
merchant_cancellation:
|
|
3954
4140
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation,
|
|
3955
|
-
no_cancellation:
|
|
4141
|
+
no_cancellation:
|
|
4142
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation
|
|
3956
4143
|
}
|
|
3957
4144
|
)
|
|
3958
4145
|
end
|
|
@@ -4142,10 +4329,21 @@ module Increase
|
|
|
4142
4329
|
attr_accessor :return_outcome
|
|
4143
4330
|
|
|
4144
4331
|
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
4145
|
-
sig
|
|
4332
|
+
sig do
|
|
4333
|
+
returns(
|
|
4334
|
+
T.nilable(
|
|
4335
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned
|
|
4336
|
+
)
|
|
4337
|
+
)
|
|
4338
|
+
end
|
|
4146
4339
|
attr_reader :not_returned
|
|
4147
4340
|
|
|
4148
|
-
sig
|
|
4341
|
+
sig do
|
|
4342
|
+
params(
|
|
4343
|
+
not_returned:
|
|
4344
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash
|
|
4345
|
+
).void
|
|
4346
|
+
end
|
|
4149
4347
|
attr_writer :not_returned
|
|
4150
4348
|
|
|
4151
4349
|
# Return attempted. Required if and only if `return_outcome` is
|
|
@@ -4191,7 +4389,8 @@ module Increase
|
|
|
4191
4389
|
explanation: String,
|
|
4192
4390
|
return_outcome:
|
|
4193
4391
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnOutcome::OrSymbol,
|
|
4194
|
-
not_returned:
|
|
4392
|
+
not_returned:
|
|
4393
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash,
|
|
4195
4394
|
return_attempted:
|
|
4196
4395
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted::OrHash,
|
|
4197
4396
|
returned:
|
|
@@ -4219,7 +4418,8 @@ module Increase
|
|
|
4219
4418
|
explanation: String,
|
|
4220
4419
|
return_outcome:
|
|
4221
4420
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnOutcome::OrSymbol,
|
|
4222
|
-
not_returned:
|
|
4421
|
+
not_returned:
|
|
4422
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned,
|
|
4223
4423
|
return_attempted:
|
|
4224
4424
|
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted,
|
|
4225
4425
|
returned:
|
|
@@ -4275,6 +4475,25 @@ module Increase
|
|
|
4275
4475
|
end
|
|
4276
4476
|
end
|
|
4277
4477
|
|
|
4478
|
+
class NotReturned < Increase::Internal::Type::BaseModel
|
|
4479
|
+
OrHash =
|
|
4480
|
+
T.type_alias do
|
|
4481
|
+
T.any(
|
|
4482
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned,
|
|
4483
|
+
Increase::Internal::AnyHash
|
|
4484
|
+
)
|
|
4485
|
+
end
|
|
4486
|
+
|
|
4487
|
+
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
4488
|
+
sig { returns(T.attached_class) }
|
|
4489
|
+
def self.new
|
|
4490
|
+
end
|
|
4491
|
+
|
|
4492
|
+
sig { override.returns({}) }
|
|
4493
|
+
def to_hash
|
|
4494
|
+
end
|
|
4495
|
+
end
|
|
4496
|
+
|
|
4278
4497
|
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
|
4279
4498
|
OrHash =
|
|
4280
4499
|
T.type_alias do
|
|
@@ -4397,6 +4616,46 @@ module Increase
|
|
|
4397
4616
|
def to_hash
|
|
4398
4617
|
end
|
|
4399
4618
|
end
|
|
4619
|
+
|
|
4620
|
+
class NoCancellation < Increase::Internal::Type::BaseModel
|
|
4621
|
+
OrHash =
|
|
4622
|
+
T.type_alias do
|
|
4623
|
+
T.any(
|
|
4624
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation,
|
|
4625
|
+
Increase::Internal::AnyHash
|
|
4626
|
+
)
|
|
4627
|
+
end
|
|
4628
|
+
|
|
4629
|
+
# No cancellation. Required if and only if `cancellation_outcome` is
|
|
4630
|
+
# `no_cancellation`.
|
|
4631
|
+
sig { returns(T.attached_class) }
|
|
4632
|
+
def self.new
|
|
4633
|
+
end
|
|
4634
|
+
|
|
4635
|
+
sig { override.returns({}) }
|
|
4636
|
+
def to_hash
|
|
4637
|
+
end
|
|
4638
|
+
end
|
|
4639
|
+
end
|
|
4640
|
+
|
|
4641
|
+
class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel
|
|
4642
|
+
OrHash =
|
|
4643
|
+
T.type_alias do
|
|
4644
|
+
T.any(
|
|
4645
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash,
|
|
4646
|
+
Increase::Internal::AnyHash
|
|
4647
|
+
)
|
|
4648
|
+
end
|
|
4649
|
+
|
|
4650
|
+
# Non-receipt of cash. Required if and only if `category` is
|
|
4651
|
+
# `consumer_non_receipt_of_cash`.
|
|
4652
|
+
sig { returns(T.attached_class) }
|
|
4653
|
+
def self.new
|
|
4654
|
+
end
|
|
4655
|
+
|
|
4656
|
+
sig { override.returns({}) }
|
|
4657
|
+
def to_hash
|
|
4658
|
+
end
|
|
4400
4659
|
end
|
|
4401
4660
|
|
|
4402
4661
|
class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel
|
|
@@ -4526,10 +4785,21 @@ module Increase
|
|
|
4526
4785
|
attr_accessor :return_outcome
|
|
4527
4786
|
|
|
4528
4787
|
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
4529
|
-
sig
|
|
4788
|
+
sig do
|
|
4789
|
+
returns(
|
|
4790
|
+
T.nilable(
|
|
4791
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned
|
|
4792
|
+
)
|
|
4793
|
+
)
|
|
4794
|
+
end
|
|
4530
4795
|
attr_reader :not_returned
|
|
4531
4796
|
|
|
4532
|
-
sig
|
|
4797
|
+
sig do
|
|
4798
|
+
params(
|
|
4799
|
+
not_returned:
|
|
4800
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned::OrHash
|
|
4801
|
+
).void
|
|
4802
|
+
end
|
|
4533
4803
|
attr_writer :not_returned
|
|
4534
4804
|
|
|
4535
4805
|
# Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations.
|
|
@@ -4598,7 +4868,8 @@ module Increase
|
|
|
4598
4868
|
received_at: Date,
|
|
4599
4869
|
return_outcome:
|
|
4600
4870
|
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnOutcome::OrSymbol,
|
|
4601
|
-
not_returned:
|
|
4871
|
+
not_returned:
|
|
4872
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned::OrHash,
|
|
4602
4873
|
ongoing_negotiations:
|
|
4603
4874
|
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations::OrHash,
|
|
4604
4875
|
return_attempted:
|
|
@@ -4640,7 +4911,8 @@ module Increase
|
|
|
4640
4911
|
received_at: Date,
|
|
4641
4912
|
return_outcome:
|
|
4642
4913
|
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnOutcome::OrSymbol,
|
|
4643
|
-
not_returned:
|
|
4914
|
+
not_returned:
|
|
4915
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned,
|
|
4644
4916
|
ongoing_negotiations:
|
|
4645
4917
|
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations,
|
|
4646
4918
|
return_attempted:
|
|
@@ -4736,6 +5008,25 @@ module Increase
|
|
|
4736
5008
|
end
|
|
4737
5009
|
end
|
|
4738
5010
|
|
|
5011
|
+
class NotReturned < Increase::Internal::Type::BaseModel
|
|
5012
|
+
OrHash =
|
|
5013
|
+
T.type_alias do
|
|
5014
|
+
T.any(
|
|
5015
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned,
|
|
5016
|
+
Increase::Internal::AnyHash
|
|
5017
|
+
)
|
|
5018
|
+
end
|
|
5019
|
+
|
|
5020
|
+
# Not returned. Required if and only if `return_outcome` is `not_returned`.
|
|
5021
|
+
sig { returns(T.attached_class) }
|
|
5022
|
+
def self.new
|
|
5023
|
+
end
|
|
5024
|
+
|
|
5025
|
+
sig { override.returns({}) }
|
|
5026
|
+
def to_hash
|
|
5027
|
+
end
|
|
5028
|
+
end
|
|
5029
|
+
|
|
4739
5030
|
class OngoingNegotiations < Increase::Internal::Type::BaseModel
|
|
4740
5031
|
OrHash =
|
|
4741
5032
|
T.type_alias do
|
|
@@ -5992,10 +6283,21 @@ module Increase
|
|
|
5992
6283
|
|
|
5993
6284
|
# No cancellation. Required if and only if `cancellation_outcome` is
|
|
5994
6285
|
# `no_cancellation`.
|
|
5995
|
-
sig
|
|
6286
|
+
sig do
|
|
6287
|
+
returns(
|
|
6288
|
+
T.nilable(
|
|
6289
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation
|
|
6290
|
+
)
|
|
6291
|
+
)
|
|
6292
|
+
end
|
|
5996
6293
|
attr_reader :no_cancellation
|
|
5997
6294
|
|
|
5998
|
-
sig
|
|
6295
|
+
sig do
|
|
6296
|
+
params(
|
|
6297
|
+
no_cancellation:
|
|
6298
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation::OrHash
|
|
6299
|
+
).void
|
|
6300
|
+
end
|
|
5999
6301
|
attr_writer :no_cancellation
|
|
6000
6302
|
|
|
6001
6303
|
# Services not received. Required if and only if `category` is
|
|
@@ -6012,7 +6314,8 @@ module Increase
|
|
|
6012
6314
|
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt::OrHash,
|
|
6013
6315
|
merchant_cancellation:
|
|
6014
6316
|
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation::OrHash,
|
|
6015
|
-
no_cancellation:
|
|
6317
|
+
no_cancellation:
|
|
6318
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation::OrHash
|
|
6016
6319
|
).returns(T.attached_class)
|
|
6017
6320
|
end
|
|
6018
6321
|
def self.new(
|
|
@@ -6049,7 +6352,8 @@ module Increase
|
|
|
6049
6352
|
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt,
|
|
6050
6353
|
merchant_cancellation:
|
|
6051
6354
|
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation,
|
|
6052
|
-
no_cancellation:
|
|
6355
|
+
no_cancellation:
|
|
6356
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation
|
|
6053
6357
|
}
|
|
6054
6358
|
)
|
|
6055
6359
|
end
|
|
@@ -6205,6 +6509,26 @@ module Increase
|
|
|
6205
6509
|
def to_hash
|
|
6206
6510
|
end
|
|
6207
6511
|
end
|
|
6512
|
+
|
|
6513
|
+
class NoCancellation < Increase::Internal::Type::BaseModel
|
|
6514
|
+
OrHash =
|
|
6515
|
+
T.type_alias do
|
|
6516
|
+
T.any(
|
|
6517
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation,
|
|
6518
|
+
Increase::Internal::AnyHash
|
|
6519
|
+
)
|
|
6520
|
+
end
|
|
6521
|
+
|
|
6522
|
+
# No cancellation. Required if and only if `cancellation_outcome` is
|
|
6523
|
+
# `no_cancellation`.
|
|
6524
|
+
sig { returns(T.attached_class) }
|
|
6525
|
+
def self.new
|
|
6526
|
+
end
|
|
6527
|
+
|
|
6528
|
+
sig { override.returns({}) }
|
|
6529
|
+
def to_hash
|
|
6530
|
+
end
|
|
6531
|
+
end
|
|
6208
6532
|
end
|
|
6209
6533
|
|
|
6210
6534
|
class Fraud < Increase::Internal::Type::BaseModel
|