increase 1.127.0 → 1.129.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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/README.md +1 -1
  4. data/lib/increase/internal/transport/base_client.rb +7 -1
  5. data/lib/increase/models/card_dispute.rb +311 -66
  6. data/lib/increase/models/card_dispute_create_params.rb +102 -30
  7. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +104 -30
  8. data/lib/increase/models/card_payment.rb +60 -15
  9. data/lib/increase/models/declined_transaction.rb +21 -6
  10. data/lib/increase/models/export_create_params.rb +8 -3
  11. data/lib/increase/models/pending_transaction.rb +21 -6
  12. data/lib/increase/models/real_time_decision.rb +24 -6
  13. data/lib/increase/models/simulations/card_dispute_action_params.rb +97 -27
  14. data/lib/increase/models/transaction.rb +23 -6
  15. data/lib/increase/models/wire_drawdown_request.rb +3 -3
  16. data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
  17. data/lib/increase/resources/exports.rb +1 -1
  18. data/lib/increase/version.rb +1 -1
  19. data/rbi/increase/internal/transport/base_client.rbi +5 -0
  20. data/rbi/increase/internal/type/base_model.rbi +8 -4
  21. data/rbi/increase/models/card_dispute.rbi +1038 -88
  22. data/rbi/increase/models/card_dispute_create_params.rbi +364 -40
  23. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +364 -40
  24. data/rbi/increase/models/card_payment.rbi +211 -20
  25. data/rbi/increase/models/declined_transaction.rbi +78 -8
  26. data/rbi/increase/models/export_create_params.rbi +25 -4
  27. data/rbi/increase/models/pending_transaction.rbi +78 -8
  28. data/rbi/increase/models/real_time_decision.rbi +90 -8
  29. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +333 -36
  30. data/rbi/increase/models/transaction.rbi +76 -8
  31. data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
  32. data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
  33. data/rbi/increase/resources/exports.rbi +1 -1
  34. data/sig/increase/internal/transport/base_client.rbs +2 -0
  35. data/sig/increase/models/card_dispute.rbs +264 -88
  36. data/sig/increase/models/card_dispute_create_params.rbs +150 -50
  37. data/sig/increase/models/card_dispute_submit_user_submission_params.rbs +150 -50
  38. data/sig/increase/models/card_payment.rbs +60 -20
  39. data/sig/increase/models/declined_transaction.rbs +24 -8
  40. data/sig/increase/models/export_create_params.rbs +15 -5
  41. data/sig/increase/models/pending_transaction.rbs +24 -8
  42. data/sig/increase/models/real_time_decision.rbs +24 -8
  43. data/sig/increase/models/simulations/card_dispute_action_params.rbs +135 -45
  44. data/sig/increase/models/transaction.rbs +24 -8
  45. data/sig/increase/models/wire_drawdown_request.rbs +4 -4
  46. data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
  47. data/sig/increase/resources/exports.rbs +1 -1
  48. metadata +2 -2
@@ -434,24 +434,72 @@ module Increase
434
434
  # `chargeback_accepted`. Contains the details specific to a chargeback accepted
435
435
  # Visa Card Dispute Network Event, which represents that a chargeback has been
436
436
  # accepted by the merchant.
437
- sig { returns(T.nilable(T.anything)) }
438
- attr_accessor :chargeback_accepted
437
+ sig do
438
+ returns(
439
+ T.nilable(
440
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted
441
+ )
442
+ )
443
+ end
444
+ attr_reader :chargeback_accepted
445
+
446
+ sig do
447
+ params(
448
+ chargeback_accepted:
449
+ T.nilable(
450
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted::OrHash
451
+ )
452
+ ).void
453
+ end
454
+ attr_writer :chargeback_accepted
439
455
 
440
456
  # A Card Dispute Chargeback Submitted Visa Network Event object. This field will
441
457
  # be present in the JSON response if and only if `category` is equal to
442
458
  # `chargeback_submitted`. Contains the details specific to a chargeback submitted
443
459
  # Visa Card Dispute Network Event, which represents that a chargeback has been
444
460
  # submitted to the network.
445
- sig { returns(T.nilable(T.anything)) }
446
- attr_accessor :chargeback_submitted
461
+ sig do
462
+ returns(
463
+ T.nilable(
464
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted
465
+ )
466
+ )
467
+ end
468
+ attr_reader :chargeback_submitted
469
+
470
+ sig do
471
+ params(
472
+ chargeback_submitted:
473
+ T.nilable(
474
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted::OrHash
475
+ )
476
+ ).void
477
+ end
478
+ attr_writer :chargeback_submitted
447
479
 
448
480
  # A Card Dispute Chargeback Timed Out Visa Network Event object. This field will
449
481
  # be present in the JSON response if and only if `category` is equal to
450
482
  # `chargeback_timed_out`. Contains the details specific to a chargeback timed out
451
483
  # Visa Card Dispute Network Event, which represents that the chargeback has timed
452
484
  # out in the user's favor.
453
- sig { returns(T.nilable(T.anything)) }
454
- attr_accessor :chargeback_timed_out
485
+ sig do
486
+ returns(
487
+ T.nilable(
488
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut
489
+ )
490
+ )
491
+ end
492
+ attr_reader :chargeback_timed_out
493
+
494
+ sig do
495
+ params(
496
+ chargeback_timed_out:
497
+ T.nilable(
498
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut::OrHash
499
+ )
500
+ ).void
501
+ end
502
+ attr_writer :chargeback_timed_out
455
503
 
456
504
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
457
505
  # the Visa Card Dispute Network Event was created.
@@ -468,8 +516,24 @@ module Increase
468
516
  # details specific to a merchant prearbitration decline submitted Visa Card
469
517
  # Dispute Network Event, which represents that the user has declined the
470
518
  # merchant's request for a prearbitration request decision in their favor.
471
- sig { returns(T.nilable(T.anything)) }
472
- attr_accessor :merchant_prearbitration_decline_submitted
519
+ sig do
520
+ returns(
521
+ T.nilable(
522
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted
523
+ )
524
+ )
525
+ end
526
+ attr_reader :merchant_prearbitration_decline_submitted
527
+
528
+ sig do
529
+ params(
530
+ merchant_prearbitration_decline_submitted:
531
+ T.nilable(
532
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted::OrHash
533
+ )
534
+ ).void
535
+ end
536
+ attr_writer :merchant_prearbitration_decline_submitted
473
537
 
474
538
  # A Card Dispute Merchant Pre-Arbitration Received Visa Network Event object. This
475
539
  # field will be present in the JSON response if and only if `category` is equal to
@@ -501,8 +565,24 @@ module Increase
501
565
  # merchant prearbitration timed out Visa Card Dispute Network Event, which
502
566
  # represents that the user has timed out responding to the merchant's
503
567
  # prearbitration request.
504
- sig { returns(T.nilable(T.anything)) }
505
- attr_accessor :merchant_prearbitration_timed_out
568
+ sig do
569
+ returns(
570
+ T.nilable(
571
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut
572
+ )
573
+ )
574
+ end
575
+ attr_reader :merchant_prearbitration_timed_out
576
+
577
+ sig do
578
+ params(
579
+ merchant_prearbitration_timed_out:
580
+ T.nilable(
581
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut::OrHash
582
+ )
583
+ ).void
584
+ end
585
+ attr_writer :merchant_prearbitration_timed_out
506
586
 
507
587
  # A Card Dispute Re-presented Visa Network Event object. This field will be
508
588
  # present in the JSON response if and only if `category` is equal to
@@ -531,48 +611,144 @@ module Increase
531
611
  # `representment_timed_out`. Contains the details specific to a re-presentment
532
612
  # time-out Visa Card Dispute Network Event, which represents that the user did not
533
613
  # respond to the re-presentment by the merchant within the time limit.
534
- sig { returns(T.nilable(T.anything)) }
535
- attr_accessor :representment_timed_out
614
+ sig do
615
+ returns(
616
+ T.nilable(
617
+ Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut
618
+ )
619
+ )
620
+ end
621
+ attr_reader :representment_timed_out
622
+
623
+ sig do
624
+ params(
625
+ representment_timed_out:
626
+ T.nilable(
627
+ Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut::OrHash
628
+ )
629
+ ).void
630
+ end
631
+ attr_writer :representment_timed_out
536
632
 
537
633
  # A Card Dispute User Pre-Arbitration Accepted Visa Network Event object. This
538
634
  # field will be present in the JSON response if and only if `category` is equal to
539
635
  # `user_prearbitration_accepted`. Contains the details specific to a user
540
636
  # prearbitration accepted Visa Card Dispute Network Event, which represents that
541
637
  # the merchant has accepted the user's prearbitration request in the user's favor.
542
- sig { returns(T.nilable(T.anything)) }
543
- attr_accessor :user_prearbitration_accepted
638
+ sig do
639
+ returns(
640
+ T.nilable(
641
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted
642
+ )
643
+ )
644
+ end
645
+ attr_reader :user_prearbitration_accepted
646
+
647
+ sig do
648
+ params(
649
+ user_prearbitration_accepted:
650
+ T.nilable(
651
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted::OrHash
652
+ )
653
+ ).void
654
+ end
655
+ attr_writer :user_prearbitration_accepted
544
656
 
545
657
  # A Card Dispute User Pre-Arbitration Declined Visa Network Event object. This
546
658
  # field will be present in the JSON response if and only if `category` is equal to
547
659
  # `user_prearbitration_declined`. Contains the details specific to a user
548
660
  # prearbitration declined Visa Card Dispute Network Event, which represents that
549
661
  # the merchant has declined the user's prearbitration request.
550
- sig { returns(T.nilable(T.anything)) }
551
- attr_accessor :user_prearbitration_declined
662
+ sig do
663
+ returns(
664
+ T.nilable(
665
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined
666
+ )
667
+ )
668
+ end
669
+ attr_reader :user_prearbitration_declined
670
+
671
+ sig do
672
+ params(
673
+ user_prearbitration_declined:
674
+ T.nilable(
675
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined::OrHash
676
+ )
677
+ ).void
678
+ end
679
+ attr_writer :user_prearbitration_declined
552
680
 
553
681
  # A Card Dispute User Pre-Arbitration Submitted Visa Network Event object. This
554
682
  # field will be present in the JSON response if and only if `category` is equal to
555
683
  # `user_prearbitration_submitted`. Contains the details specific to a user
556
684
  # prearbitration submitted Visa Card Dispute Network Event, which represents that
557
685
  # the user's request for prearbitration has been submitted to the network.
558
- sig { returns(T.nilable(T.anything)) }
559
- attr_accessor :user_prearbitration_submitted
686
+ sig do
687
+ returns(
688
+ T.nilable(
689
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted
690
+ )
691
+ )
692
+ end
693
+ attr_reader :user_prearbitration_submitted
694
+
695
+ sig do
696
+ params(
697
+ user_prearbitration_submitted:
698
+ T.nilable(
699
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted::OrHash
700
+ )
701
+ ).void
702
+ end
703
+ attr_writer :user_prearbitration_submitted
560
704
 
561
705
  # A Card Dispute User Pre-Arbitration Timed Out Visa Network Event object. This
562
706
  # field will be present in the JSON response if and only if `category` is equal to
563
707
  # `user_prearbitration_timed_out`. Contains the details specific to a user
564
708
  # prearbitration timed out Visa Card Dispute Network Event, which represents that
565
709
  # the merchant has timed out responding to the user's prearbitration request.
566
- sig { returns(T.nilable(T.anything)) }
567
- attr_accessor :user_prearbitration_timed_out
710
+ sig do
711
+ returns(
712
+ T.nilable(
713
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut
714
+ )
715
+ )
716
+ end
717
+ attr_reader :user_prearbitration_timed_out
718
+
719
+ sig do
720
+ params(
721
+ user_prearbitration_timed_out:
722
+ T.nilable(
723
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut::OrHash
724
+ )
725
+ ).void
726
+ end
727
+ attr_writer :user_prearbitration_timed_out
568
728
 
569
729
  # A Card Dispute User Withdrawal Submitted Visa Network Event object. This field
570
730
  # will be present in the JSON response if and only if `category` is equal to
571
731
  # `user_withdrawal_submitted`. Contains the details specific to a user withdrawal
572
732
  # submitted Visa Card Dispute Network Event, which represents that the user's
573
733
  # request to withdraw the dispute has been submitted to the network.
574
- sig { returns(T.nilable(T.anything)) }
575
- attr_accessor :user_withdrawal_submitted
734
+ sig do
735
+ returns(
736
+ T.nilable(
737
+ Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted
738
+ )
739
+ )
740
+ end
741
+ attr_reader :user_withdrawal_submitted
742
+
743
+ sig do
744
+ params(
745
+ user_withdrawal_submitted:
746
+ T.nilable(
747
+ Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted::OrHash
748
+ )
749
+ ).void
750
+ end
751
+ attr_writer :user_withdrawal_submitted
576
752
 
577
753
  sig do
578
754
  params(
@@ -582,27 +758,60 @@ module Increase
582
758
  ],
583
759
  category:
584
760
  Increase::CardDispute::Visa::NetworkEvent::Category::OrSymbol,
585
- chargeback_accepted: T.nilable(T.anything),
586
- chargeback_submitted: T.nilable(T.anything),
587
- chargeback_timed_out: T.nilable(T.anything),
761
+ chargeback_accepted:
762
+ T.nilable(
763
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted::OrHash
764
+ ),
765
+ chargeback_submitted:
766
+ T.nilable(
767
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted::OrHash
768
+ ),
769
+ chargeback_timed_out:
770
+ T.nilable(
771
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut::OrHash
772
+ ),
588
773
  created_at: Time,
589
774
  dispute_financial_transaction_id: T.nilable(String),
590
- merchant_prearbitration_decline_submitted: T.nilable(T.anything),
775
+ merchant_prearbitration_decline_submitted:
776
+ T.nilable(
777
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted::OrHash
778
+ ),
591
779
  merchant_prearbitration_received:
592
780
  T.nilable(
593
781
  Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::OrHash
594
782
  ),
595
- merchant_prearbitration_timed_out: T.nilable(T.anything),
783
+ merchant_prearbitration_timed_out:
784
+ T.nilable(
785
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut::OrHash
786
+ ),
596
787
  represented:
597
788
  T.nilable(
598
789
  Increase::CardDispute::Visa::NetworkEvent::Represented::OrHash
599
790
  ),
600
- representment_timed_out: T.nilable(T.anything),
601
- user_prearbitration_accepted: T.nilable(T.anything),
602
- user_prearbitration_declined: T.nilable(T.anything),
603
- user_prearbitration_submitted: T.nilable(T.anything),
604
- user_prearbitration_timed_out: T.nilable(T.anything),
605
- user_withdrawal_submitted: T.nilable(T.anything)
791
+ representment_timed_out:
792
+ T.nilable(
793
+ Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut::OrHash
794
+ ),
795
+ user_prearbitration_accepted:
796
+ T.nilable(
797
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted::OrHash
798
+ ),
799
+ user_prearbitration_declined:
800
+ T.nilable(
801
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined::OrHash
802
+ ),
803
+ user_prearbitration_submitted:
804
+ T.nilable(
805
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted::OrHash
806
+ ),
807
+ user_prearbitration_timed_out:
808
+ T.nilable(
809
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut::OrHash
810
+ ),
811
+ user_withdrawal_submitted:
812
+ T.nilable(
813
+ Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted::OrHash
814
+ )
606
815
  ).returns(T.attached_class)
607
816
  end
608
817
  def self.new(
@@ -709,28 +918,60 @@ module Increase
709
918
  ],
710
919
  category:
711
920
  Increase::CardDispute::Visa::NetworkEvent::Category::TaggedSymbol,
712
- chargeback_accepted: T.nilable(T.anything),
713
- chargeback_submitted: T.nilable(T.anything),
714
- chargeback_timed_out: T.nilable(T.anything),
921
+ chargeback_accepted:
922
+ T.nilable(
923
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted
924
+ ),
925
+ chargeback_submitted:
926
+ T.nilable(
927
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted
928
+ ),
929
+ chargeback_timed_out:
930
+ T.nilable(
931
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut
932
+ ),
715
933
  created_at: Time,
716
934
  dispute_financial_transaction_id: T.nilable(String),
717
935
  merchant_prearbitration_decline_submitted:
718
- T.nilable(T.anything),
936
+ T.nilable(
937
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted
938
+ ),
719
939
  merchant_prearbitration_received:
720
940
  T.nilable(
721
941
  Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived
722
942
  ),
723
- merchant_prearbitration_timed_out: T.nilable(T.anything),
943
+ merchant_prearbitration_timed_out:
944
+ T.nilable(
945
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut
946
+ ),
724
947
  represented:
725
948
  T.nilable(
726
949
  Increase::CardDispute::Visa::NetworkEvent::Represented
727
950
  ),
728
- representment_timed_out: T.nilable(T.anything),
729
- user_prearbitration_accepted: T.nilable(T.anything),
730
- user_prearbitration_declined: T.nilable(T.anything),
731
- user_prearbitration_submitted: T.nilable(T.anything),
732
- user_prearbitration_timed_out: T.nilable(T.anything),
733
- user_withdrawal_submitted: T.nilable(T.anything)
951
+ representment_timed_out:
952
+ T.nilable(
953
+ Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut
954
+ ),
955
+ user_prearbitration_accepted:
956
+ T.nilable(
957
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted
958
+ ),
959
+ user_prearbitration_declined:
960
+ T.nilable(
961
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined
962
+ ),
963
+ user_prearbitration_submitted:
964
+ T.nilable(
965
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted
966
+ ),
967
+ user_prearbitration_timed_out:
968
+ T.nilable(
969
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut
970
+ ),
971
+ user_withdrawal_submitted:
972
+ T.nilable(
973
+ Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted
974
+ )
734
975
  }
735
976
  )
736
977
  end
@@ -879,6 +1120,99 @@ module Increase
879
1120
  end
880
1121
  end
881
1122
 
1123
+ class ChargebackAccepted < Increase::Internal::Type::BaseModel
1124
+ OrHash =
1125
+ T.type_alias do
1126
+ T.any(
1127
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted,
1128
+ Increase::Internal::AnyHash
1129
+ )
1130
+ end
1131
+
1132
+ # A Card Dispute Chargeback Accepted Visa Network Event object. This field will be
1133
+ # present in the JSON response if and only if `category` is equal to
1134
+ # `chargeback_accepted`. Contains the details specific to a chargeback accepted
1135
+ # Visa Card Dispute Network Event, which represents that a chargeback has been
1136
+ # accepted by the merchant.
1137
+ sig { returns(T.attached_class) }
1138
+ def self.new
1139
+ end
1140
+
1141
+ sig { override.returns({}) }
1142
+ def to_hash
1143
+ end
1144
+ end
1145
+
1146
+ class ChargebackSubmitted < Increase::Internal::Type::BaseModel
1147
+ OrHash =
1148
+ T.type_alias do
1149
+ T.any(
1150
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted,
1151
+ Increase::Internal::AnyHash
1152
+ )
1153
+ end
1154
+
1155
+ # A Card Dispute Chargeback Submitted Visa Network Event object. This field will
1156
+ # be present in the JSON response if and only if `category` is equal to
1157
+ # `chargeback_submitted`. Contains the details specific to a chargeback submitted
1158
+ # Visa Card Dispute Network Event, which represents that a chargeback has been
1159
+ # submitted to the network.
1160
+ sig { returns(T.attached_class) }
1161
+ def self.new
1162
+ end
1163
+
1164
+ sig { override.returns({}) }
1165
+ def to_hash
1166
+ end
1167
+ end
1168
+
1169
+ class ChargebackTimedOut < Increase::Internal::Type::BaseModel
1170
+ OrHash =
1171
+ T.type_alias do
1172
+ T.any(
1173
+ Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut,
1174
+ Increase::Internal::AnyHash
1175
+ )
1176
+ end
1177
+
1178
+ # A Card Dispute Chargeback Timed Out Visa Network Event object. This field will
1179
+ # be present in the JSON response if and only if `category` is equal to
1180
+ # `chargeback_timed_out`. Contains the details specific to a chargeback timed out
1181
+ # Visa Card Dispute Network Event, which represents that the chargeback has timed
1182
+ # out in the user's favor.
1183
+ sig { returns(T.attached_class) }
1184
+ def self.new
1185
+ end
1186
+
1187
+ sig { override.returns({}) }
1188
+ def to_hash
1189
+ end
1190
+ end
1191
+
1192
+ class MerchantPrearbitrationDeclineSubmitted < Increase::Internal::Type::BaseModel
1193
+ OrHash =
1194
+ T.type_alias do
1195
+ T.any(
1196
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted,
1197
+ Increase::Internal::AnyHash
1198
+ )
1199
+ end
1200
+
1201
+ # A Card Dispute Merchant Pre-Arbitration Decline Submitted Visa Network Event
1202
+ # object. This field will be present in the JSON response if and only if
1203
+ # `category` is equal to `merchant_prearbitration_decline_submitted`. Contains the
1204
+ # details specific to a merchant prearbitration decline submitted Visa Card
1205
+ # Dispute Network Event, which represents that the user has declined the
1206
+ # merchant's request for a prearbitration request decision in their favor.
1207
+ sig { returns(T.attached_class) }
1208
+ def self.new
1209
+ end
1210
+
1211
+ sig { override.returns({}) }
1212
+ def to_hash
1213
+ end
1214
+ end
1215
+
882
1216
  class MerchantPrearbitrationReceived < Increase::Internal::Type::BaseModel
883
1217
  OrHash =
884
1218
  T.type_alias do
@@ -1765,6 +2099,30 @@ module Increase
1765
2099
  end
1766
2100
  end
1767
2101
 
2102
+ class MerchantPrearbitrationTimedOut < Increase::Internal::Type::BaseModel
2103
+ OrHash =
2104
+ T.type_alias do
2105
+ T.any(
2106
+ Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut,
2107
+ Increase::Internal::AnyHash
2108
+ )
2109
+ end
2110
+
2111
+ # A Card Dispute Merchant Pre-Arbitration Timed Out Visa Network Event object.
2112
+ # This field will be present in the JSON response if and only if `category` is
2113
+ # equal to `merchant_prearbitration_timed_out`. Contains the details specific to a
2114
+ # merchant prearbitration timed out Visa Card Dispute Network Event, which
2115
+ # represents that the user has timed out responding to the merchant's
2116
+ # prearbitration request.
2117
+ sig { returns(T.attached_class) }
2118
+ def self.new
2119
+ end
2120
+
2121
+ sig { override.returns({}) }
2122
+ def to_hash
2123
+ end
2124
+ end
2125
+
1768
2126
  class Represented < Increase::Internal::Type::BaseModel
1769
2127
  OrHash =
1770
2128
  T.type_alias do
@@ -1838,8 +2196,24 @@ module Increase
1838
2196
 
1839
2197
  # Non-fiat currency or non-fungible token as described details. Present if and
1840
2198
  # only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`.
1841
- sig { returns(T.nilable(T.anything)) }
1842
- attr_accessor :non_fiat_currency_or_non_fungible_token_as_described
2199
+ sig do
2200
+ returns(
2201
+ T.nilable(
2202
+ Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed
2203
+ )
2204
+ )
2205
+ end
2206
+ attr_reader :non_fiat_currency_or_non_fungible_token_as_described
2207
+
2208
+ sig do
2209
+ params(
2210
+ non_fiat_currency_or_non_fungible_token_as_described:
2211
+ T.nilable(
2212
+ Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed::OrHash
2213
+ )
2214
+ ).void
2215
+ end
2216
+ attr_writer :non_fiat_currency_or_non_fungible_token_as_described
1843
2217
 
1844
2218
  # Non-fiat currency or non-fungible token received details. Present if and only if
1845
2219
  # `reason` is `non_fiat_currency_or_non_fungible_token_received`.
@@ -1932,7 +2306,9 @@ module Increase
1932
2306
  Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::OrHash
1933
2307
  ),
1934
2308
  non_fiat_currency_or_non_fungible_token_as_described:
1935
- T.nilable(T.anything),
2309
+ T.nilable(
2310
+ Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed::OrHash
2311
+ ),
1936
2312
  non_fiat_currency_or_non_fungible_token_received:
1937
2313
  T.nilable(
1938
2314
  Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived::OrHash
@@ -1991,7 +2367,9 @@ module Increase
1991
2367
  Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute
1992
2368
  ),
1993
2369
  non_fiat_currency_or_non_fungible_token_as_described:
1994
- T.nilable(T.anything),
2370
+ T.nilable(
2371
+ Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed
2372
+ ),
1995
2373
  non_fiat_currency_or_non_fungible_token_received:
1996
2374
  T.nilable(
1997
2375
  Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived
@@ -2420,6 +2798,26 @@ module Increase
2420
2798
  end
2421
2799
  end
2422
2800
 
2801
+ class NonFiatCurrencyOrNonFungibleTokenAsDescribed < Increase::Internal::Type::BaseModel
2802
+ OrHash =
2803
+ T.type_alias do
2804
+ T.any(
2805
+ Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed,
2806
+ Increase::Internal::AnyHash
2807
+ )
2808
+ end
2809
+
2810
+ # Non-fiat currency or non-fungible token as described details. Present if and
2811
+ # only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`.
2812
+ sig { returns(T.attached_class) }
2813
+ def self.new
2814
+ end
2815
+
2816
+ sig { override.returns({}) }
2817
+ def to_hash
2818
+ end
2819
+ end
2820
+
2423
2821
  class NonFiatCurrencyOrNonFungibleTokenReceived < Increase::Internal::Type::BaseModel
2424
2822
  OrHash =
2425
2823
  T.type_alias do
@@ -2606,6 +3004,144 @@ module Increase
2606
3004
  end
2607
3005
  end
2608
3006
  end
3007
+
3008
+ class RepresentmentTimedOut < Increase::Internal::Type::BaseModel
3009
+ OrHash =
3010
+ T.type_alias do
3011
+ T.any(
3012
+ Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut,
3013
+ Increase::Internal::AnyHash
3014
+ )
3015
+ end
3016
+
3017
+ # A Card Dispute Re-presentment Timed Out Visa Network Event object. This field
3018
+ # will be present in the JSON response if and only if `category` is equal to
3019
+ # `representment_timed_out`. Contains the details specific to a re-presentment
3020
+ # time-out Visa Card Dispute Network Event, which represents that the user did not
3021
+ # respond to the re-presentment by the merchant within the time limit.
3022
+ sig { returns(T.attached_class) }
3023
+ def self.new
3024
+ end
3025
+
3026
+ sig { override.returns({}) }
3027
+ def to_hash
3028
+ end
3029
+ end
3030
+
3031
+ class UserPrearbitrationAccepted < Increase::Internal::Type::BaseModel
3032
+ OrHash =
3033
+ T.type_alias do
3034
+ T.any(
3035
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted,
3036
+ Increase::Internal::AnyHash
3037
+ )
3038
+ end
3039
+
3040
+ # A Card Dispute User Pre-Arbitration Accepted Visa Network Event object. This
3041
+ # field will be present in the JSON response if and only if `category` is equal to
3042
+ # `user_prearbitration_accepted`. Contains the details specific to a user
3043
+ # prearbitration accepted Visa Card Dispute Network Event, which represents that
3044
+ # the merchant has accepted the user's prearbitration request in the user's favor.
3045
+ sig { returns(T.attached_class) }
3046
+ def self.new
3047
+ end
3048
+
3049
+ sig { override.returns({}) }
3050
+ def to_hash
3051
+ end
3052
+ end
3053
+
3054
+ class UserPrearbitrationDeclined < Increase::Internal::Type::BaseModel
3055
+ OrHash =
3056
+ T.type_alias do
3057
+ T.any(
3058
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined,
3059
+ Increase::Internal::AnyHash
3060
+ )
3061
+ end
3062
+
3063
+ # A Card Dispute User Pre-Arbitration Declined Visa Network Event object. This
3064
+ # field will be present in the JSON response if and only if `category` is equal to
3065
+ # `user_prearbitration_declined`. Contains the details specific to a user
3066
+ # prearbitration declined Visa Card Dispute Network Event, which represents that
3067
+ # the merchant has declined the user's prearbitration request.
3068
+ sig { returns(T.attached_class) }
3069
+ def self.new
3070
+ end
3071
+
3072
+ sig { override.returns({}) }
3073
+ def to_hash
3074
+ end
3075
+ end
3076
+
3077
+ class UserPrearbitrationSubmitted < Increase::Internal::Type::BaseModel
3078
+ OrHash =
3079
+ T.type_alias do
3080
+ T.any(
3081
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted,
3082
+ Increase::Internal::AnyHash
3083
+ )
3084
+ end
3085
+
3086
+ # A Card Dispute User Pre-Arbitration Submitted Visa Network Event object. This
3087
+ # field will be present in the JSON response if and only if `category` is equal to
3088
+ # `user_prearbitration_submitted`. Contains the details specific to a user
3089
+ # prearbitration submitted Visa Card Dispute Network Event, which represents that
3090
+ # the user's request for prearbitration has been submitted to the network.
3091
+ sig { returns(T.attached_class) }
3092
+ def self.new
3093
+ end
3094
+
3095
+ sig { override.returns({}) }
3096
+ def to_hash
3097
+ end
3098
+ end
3099
+
3100
+ class UserPrearbitrationTimedOut < Increase::Internal::Type::BaseModel
3101
+ OrHash =
3102
+ T.type_alias do
3103
+ T.any(
3104
+ Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut,
3105
+ Increase::Internal::AnyHash
3106
+ )
3107
+ end
3108
+
3109
+ # A Card Dispute User Pre-Arbitration Timed Out Visa Network Event object. This
3110
+ # field will be present in the JSON response if and only if `category` is equal to
3111
+ # `user_prearbitration_timed_out`. Contains the details specific to a user
3112
+ # prearbitration timed out Visa Card Dispute Network Event, which represents that
3113
+ # the merchant has timed out responding to the user's prearbitration request.
3114
+ sig { returns(T.attached_class) }
3115
+ def self.new
3116
+ end
3117
+
3118
+ sig { override.returns({}) }
3119
+ def to_hash
3120
+ end
3121
+ end
3122
+
3123
+ class UserWithdrawalSubmitted < Increase::Internal::Type::BaseModel
3124
+ OrHash =
3125
+ T.type_alias do
3126
+ T.any(
3127
+ Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted,
3128
+ Increase::Internal::AnyHash
3129
+ )
3130
+ end
3131
+
3132
+ # A Card Dispute User Withdrawal Submitted Visa Network Event object. This field
3133
+ # will be present in the JSON response if and only if `category` is equal to
3134
+ # `user_withdrawal_submitted`. Contains the details specific to a user withdrawal
3135
+ # submitted Visa Card Dispute Network Event, which represents that the user's
3136
+ # request to withdraw the dispute has been submitted to the network.
3137
+ sig { returns(T.attached_class) }
3138
+ def self.new
3139
+ end
3140
+
3141
+ sig { override.returns({}) }
3142
+ def to_hash
3143
+ end
3144
+ end
2609
3145
  end
2610
3146
 
2611
3147
  # The category of the currently required user submission if the user wishes to
@@ -3199,8 +3735,24 @@ module Increase
3199
3735
 
3200
3736
  # Non-receipt of cash. Present if and only if `category` is
3201
3737
  # `consumer_non_receipt_of_cash`.
3202
- sig { returns(T.nilable(T.anything)) }
3203
- attr_accessor :consumer_non_receipt_of_cash
3738
+ sig do
3739
+ returns(
3740
+ T.nilable(
3741
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash
3742
+ )
3743
+ )
3744
+ end
3745
+ attr_reader :consumer_non_receipt_of_cash
3746
+
3747
+ sig do
3748
+ params(
3749
+ consumer_non_receipt_of_cash:
3750
+ T.nilable(
3751
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash::OrHash
3752
+ )
3753
+ ).void
3754
+ end
3755
+ attr_writer :consumer_non_receipt_of_cash
3204
3756
 
3205
3757
  # Original Credit Transaction (OCT) not accepted. Present if and only if
3206
3758
  # `category` is `consumer_original_credit_transaction_not_accepted`.
@@ -3416,7 +3968,10 @@ module Increase
3416
3968
  T.nilable(
3417
3969
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::OrHash
3418
3970
  ),
3419
- consumer_non_receipt_of_cash: T.nilable(T.anything),
3971
+ consumer_non_receipt_of_cash:
3972
+ T.nilable(
3973
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash::OrHash
3974
+ ),
3420
3975
  consumer_original_credit_transaction_not_accepted:
3421
3976
  T.nilable(
3422
3977
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::OrHash
@@ -3556,7 +4111,10 @@ module Increase
3556
4111
  T.nilable(
3557
4112
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived
3558
4113
  ),
3559
- consumer_non_receipt_of_cash: T.nilable(T.anything),
4114
+ consumer_non_receipt_of_cash:
4115
+ T.nilable(
4116
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash
4117
+ ),
3560
4118
  consumer_original_credit_transaction_not_accepted:
3561
4119
  T.nilable(
3562
4120
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted
@@ -3877,8 +4435,24 @@ module Increase
3877
4435
  attr_accessor :merchant_resolution_attempted
3878
4436
 
3879
4437
  # Not returned. Present if and only if `return_outcome` is `not_returned`.
3880
- sig { returns(T.nilable(T.anything)) }
3881
- attr_accessor :not_returned
4438
+ sig do
4439
+ returns(
4440
+ T.nilable(
4441
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned
4442
+ )
4443
+ )
4444
+ end
4445
+ attr_reader :not_returned
4446
+
4447
+ sig do
4448
+ params(
4449
+ not_returned:
4450
+ T.nilable(
4451
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned::OrHash
4452
+ )
4453
+ ).void
4454
+ end
4455
+ attr_writer :not_returned
3882
4456
 
3883
4457
  # Purchase explanation.
3884
4458
  sig { returns(String) }
@@ -3946,7 +4520,10 @@ module Increase
3946
4520
  ),
3947
4521
  merchant_resolution_attempted:
3948
4522
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::MerchantResolutionAttempted::OrSymbol,
3949
- not_returned: T.nilable(T.anything),
4523
+ not_returned:
4524
+ T.nilable(
4525
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned::OrHash
4526
+ ),
3950
4527
  purchase_explanation: String,
3951
4528
  received_or_expected_at: Date,
3952
4529
  return_attempted:
@@ -3990,7 +4567,10 @@ module Increase
3990
4567
  ),
3991
4568
  merchant_resolution_attempted:
3992
4569
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::MerchantResolutionAttempted::TaggedSymbol,
3993
- not_returned: T.nilable(T.anything),
4570
+ not_returned:
4571
+ T.nilable(
4572
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned
4573
+ ),
3994
4574
  purchase_explanation: String,
3995
4575
  received_or_expected_at: Date,
3996
4576
  return_attempted:
@@ -4195,6 +4775,25 @@ module Increase
4195
4775
  end
4196
4776
  end
4197
4777
 
4778
+ class NotReturned < Increase::Internal::Type::BaseModel
4779
+ OrHash =
4780
+ T.type_alias do
4781
+ T.any(
4782
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned,
4783
+ Increase::Internal::AnyHash
4784
+ )
4785
+ end
4786
+
4787
+ # Not returned. Present if and only if `return_outcome` is `not_returned`.
4788
+ sig { returns(T.attached_class) }
4789
+ def self.new
4790
+ end
4791
+
4792
+ sig { override.returns({}) }
4793
+ def to_hash
4794
+ end
4795
+ end
4796
+
4198
4797
  class ReturnAttempted < Increase::Internal::Type::BaseModel
4199
4798
  OrHash =
4200
4799
  T.type_alias do
@@ -4761,8 +5360,24 @@ module Increase
4761
5360
 
4762
5361
  # Other service type explanation. Present if and only if `service_type` is
4763
5362
  # `other`.
4764
- sig { returns(T.nilable(T.anything)) }
4765
- attr_accessor :other
5363
+ sig do
5364
+ returns(
5365
+ T.nilable(
5366
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other
5367
+ )
5368
+ )
5369
+ end
5370
+ attr_reader :other
5371
+
5372
+ sig do
5373
+ params(
5374
+ other:
5375
+ T.nilable(
5376
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other::OrHash
5377
+ )
5378
+ ).void
5379
+ end
5380
+ attr_writer :other
4766
5381
 
4767
5382
  # Purchase explanation.
4768
5383
  sig { returns(String) }
@@ -4777,8 +5392,24 @@ module Increase
4777
5392
  attr_accessor :service_type
4778
5393
 
4779
5394
  # Timeshare explanation. Present if and only if `service_type` is `timeshare`.
4780
- sig { returns(T.nilable(T.anything)) }
4781
- attr_accessor :timeshare
5395
+ sig do
5396
+ returns(
5397
+ T.nilable(
5398
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare
5399
+ )
5400
+ )
5401
+ end
5402
+ attr_reader :timeshare
5403
+
5404
+ sig do
5405
+ params(
5406
+ timeshare:
5407
+ T.nilable(
5408
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare::OrHash
5409
+ )
5410
+ ).void
5411
+ end
5412
+ attr_writer :timeshare
4782
5413
 
4783
5414
  # Canceled services. Present if and only if `category` is
4784
5415
  # `consumer_canceled_services`.
@@ -4793,11 +5424,17 @@ module Increase
4793
5424
  ),
4794
5425
  merchant_resolution_attempted:
4795
5426
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::MerchantResolutionAttempted::OrSymbol,
4796
- other: T.nilable(T.anything),
5427
+ other:
5428
+ T.nilable(
5429
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other::OrHash
5430
+ ),
4797
5431
  purchase_explanation: String,
4798
5432
  service_type:
4799
5433
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::ServiceType::OrSymbol,
4800
- timeshare: T.nilable(T.anything)
5434
+ timeshare:
5435
+ T.nilable(
5436
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare::OrHash
5437
+ )
4801
5438
  ).returns(T.attached_class)
4802
5439
  end
4803
5440
  def self.new(
@@ -4834,11 +5471,17 @@ module Increase
4834
5471
  ),
4835
5472
  merchant_resolution_attempted:
4836
5473
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::MerchantResolutionAttempted::TaggedSymbol,
4837
- other: T.nilable(T.anything),
5474
+ other:
5475
+ T.nilable(
5476
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other
5477
+ ),
4838
5478
  purchase_explanation: String,
4839
5479
  service_type:
4840
5480
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::ServiceType::TaggedSymbol,
4841
- timeshare: T.nilable(T.anything)
5481
+ timeshare:
5482
+ T.nilable(
5483
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare
5484
+ )
4842
5485
  }
4843
5486
  )
4844
5487
  end
@@ -5067,6 +5710,26 @@ module Increase
5067
5710
  end
5068
5711
  end
5069
5712
 
5713
+ class Other < Increase::Internal::Type::BaseModel
5714
+ OrHash =
5715
+ T.type_alias do
5716
+ T.any(
5717
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other,
5718
+ Increase::Internal::AnyHash
5719
+ )
5720
+ end
5721
+
5722
+ # Other service type explanation. Present if and only if `service_type` is
5723
+ # `other`.
5724
+ sig { returns(T.attached_class) }
5725
+ def self.new
5726
+ end
5727
+
5728
+ sig { override.returns({}) }
5729
+ def to_hash
5730
+ end
5731
+ end
5732
+
5070
5733
  # Service type.
5071
5734
  module ServiceType
5072
5735
  extend Increase::Internal::Type::Enum
@@ -5111,6 +5774,25 @@ module Increase
5111
5774
  def self.values
5112
5775
  end
5113
5776
  end
5777
+
5778
+ class Timeshare < Increase::Internal::Type::BaseModel
5779
+ OrHash =
5780
+ T.type_alias do
5781
+ T.any(
5782
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare,
5783
+ Increase::Internal::AnyHash
5784
+ )
5785
+ end
5786
+
5787
+ # Timeshare explanation. Present if and only if `service_type` is `timeshare`.
5788
+ sig { returns(T.attached_class) }
5789
+ def self.new
5790
+ end
5791
+
5792
+ sig { override.returns({}) }
5793
+ def to_hash
5794
+ end
5795
+ end
5114
5796
  end
5115
5797
 
5116
5798
  class ConsumerCounterfeitMerchandise < Increase::Internal::Type::BaseModel
@@ -5237,8 +5919,24 @@ module Increase
5237
5919
  attr_accessor :merchant_resolution_attempted
5238
5920
 
5239
5921
  # Not returned. Present if and only if `return_outcome` is `not_returned`.
5240
- sig { returns(T.nilable(T.anything)) }
5241
- attr_accessor :not_returned
5922
+ sig do
5923
+ returns(
5924
+ T.nilable(
5925
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned
5926
+ )
5927
+ )
5928
+ end
5929
+ attr_reader :not_returned
5930
+
5931
+ sig do
5932
+ params(
5933
+ not_returned:
5934
+ T.nilable(
5935
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash
5936
+ )
5937
+ ).void
5938
+ end
5939
+ attr_writer :not_returned
5242
5940
 
5243
5941
  # Order and issue explanation.
5244
5942
  sig { returns(String) }
@@ -5302,7 +6000,10 @@ module Increase
5302
6000
  params(
5303
6001
  merchant_resolution_attempted:
5304
6002
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::MerchantResolutionAttempted::OrSymbol,
5305
- not_returned: T.nilable(T.anything),
6003
+ not_returned:
6004
+ T.nilable(
6005
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash
6006
+ ),
5306
6007
  order_and_issue_explanation: String,
5307
6008
  received_at: Date,
5308
6009
  return_attempted:
@@ -5340,7 +6041,10 @@ module Increase
5340
6041
  {
5341
6042
  merchant_resolution_attempted:
5342
6043
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::MerchantResolutionAttempted::TaggedSymbol,
5343
- not_returned: T.nilable(T.anything),
6044
+ not_returned:
6045
+ T.nilable(
6046
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned
6047
+ ),
5344
6048
  order_and_issue_explanation: String,
5345
6049
  received_at: Date,
5346
6050
  return_attempted:
@@ -5397,6 +6101,25 @@ module Increase
5397
6101
  end
5398
6102
  end
5399
6103
 
6104
+ class NotReturned < Increase::Internal::Type::BaseModel
6105
+ OrHash =
6106
+ T.type_alias do
6107
+ T.any(
6108
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned,
6109
+ Increase::Internal::AnyHash
6110
+ )
6111
+ end
6112
+
6113
+ # Not returned. Present if and only if `return_outcome` is `not_returned`.
6114
+ sig { returns(T.attached_class) }
6115
+ def self.new
6116
+ end
6117
+
6118
+ sig { override.returns({}) }
6119
+ def to_hash
6120
+ end
6121
+ end
6122
+
5400
6123
  class ReturnAttempted < Increase::Internal::Type::BaseModel
5401
6124
  OrHash =
5402
6125
  T.type_alias do
@@ -5730,8 +6453,24 @@ module Increase
5730
6453
  attr_accessor :misrepresentation_explanation
5731
6454
 
5732
6455
  # Not returned. Present if and only if `return_outcome` is `not_returned`.
5733
- sig { returns(T.nilable(T.anything)) }
5734
- attr_accessor :not_returned
6456
+ sig do
6457
+ returns(
6458
+ T.nilable(
6459
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned
6460
+ )
6461
+ )
6462
+ end
6463
+ attr_reader :not_returned
6464
+
6465
+ sig do
6466
+ params(
6467
+ not_returned:
6468
+ T.nilable(
6469
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash
6470
+ )
6471
+ ).void
6472
+ end
6473
+ attr_writer :not_returned
5735
6474
 
5736
6475
  # Purchase explanation.
5737
6476
  sig { returns(String) }
@@ -5796,7 +6535,10 @@ module Increase
5796
6535
  merchant_resolution_attempted:
5797
6536
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::MerchantResolutionAttempted::OrSymbol,
5798
6537
  misrepresentation_explanation: String,
5799
- not_returned: T.nilable(T.anything),
6538
+ not_returned:
6539
+ T.nilable(
6540
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash
6541
+ ),
5800
6542
  purchase_explanation: String,
5801
6543
  received_at: Date,
5802
6544
  return_attempted:
@@ -5837,7 +6579,10 @@ module Increase
5837
6579
  merchant_resolution_attempted:
5838
6580
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::MerchantResolutionAttempted::TaggedSymbol,
5839
6581
  misrepresentation_explanation: String,
5840
- not_returned: T.nilable(T.anything),
6582
+ not_returned:
6583
+ T.nilable(
6584
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned
6585
+ ),
5841
6586
  purchase_explanation: String,
5842
6587
  received_at: Date,
5843
6588
  return_attempted:
@@ -5894,6 +6639,25 @@ module Increase
5894
6639
  end
5895
6640
  end
5896
6641
 
6642
+ class NotReturned < Increase::Internal::Type::BaseModel
6643
+ OrHash =
6644
+ T.type_alias do
6645
+ T.any(
6646
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned,
6647
+ Increase::Internal::AnyHash
6648
+ )
6649
+ end
6650
+
6651
+ # Not returned. Present if and only if `return_outcome` is `not_returned`.
6652
+ sig { returns(T.attached_class) }
6653
+ def self.new
6654
+ end
6655
+
6656
+ sig { override.returns({}) }
6657
+ def to_hash
6658
+ end
6659
+ end
6660
+
5897
6661
  class ReturnAttempted < Increase::Internal::Type::BaseModel
5898
6662
  OrHash =
5899
6663
  T.type_alias do
@@ -6793,8 +7557,24 @@ module Increase
6793
7557
 
6794
7558
  # No cancellation. Present if and only if `cancellation_outcome` is
6795
7559
  # `no_cancellation`.
6796
- sig { returns(T.nilable(T.anything)) }
6797
- attr_accessor :no_cancellation
7560
+ sig do
7561
+ returns(
7562
+ T.nilable(
7563
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation
7564
+ )
7565
+ )
7566
+ end
7567
+ attr_reader :no_cancellation
7568
+
7569
+ sig do
7570
+ params(
7571
+ no_cancellation:
7572
+ T.nilable(
7573
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation::OrHash
7574
+ )
7575
+ ).void
7576
+ end
7577
+ attr_writer :no_cancellation
6798
7578
 
6799
7579
  # Purchase information and explanation.
6800
7580
  sig { returns(String) }
@@ -6827,7 +7607,10 @@ module Increase
6827
7607
  ),
6828
7608
  merchant_resolution_attempted:
6829
7609
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantResolutionAttempted::OrSymbol,
6830
- no_cancellation: T.nilable(T.anything),
7610
+ no_cancellation:
7611
+ T.nilable(
7612
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation::OrHash
7613
+ ),
6831
7614
  purchase_info_and_explanation: String
6832
7615
  ).returns(T.attached_class)
6833
7616
  end
@@ -6885,7 +7668,10 @@ module Increase
6885
7668
  ),
6886
7669
  merchant_resolution_attempted:
6887
7670
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantResolutionAttempted::TaggedSymbol,
6888
- no_cancellation: T.nilable(T.anything),
7671
+ no_cancellation:
7672
+ T.nilable(
7673
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation
7674
+ ),
6889
7675
  purchase_info_and_explanation: String
6890
7676
  }
6891
7677
  )
@@ -6993,8 +7779,24 @@ module Increase
6993
7779
  attr_accessor :explanation
6994
7780
 
6995
7781
  # Not returned. Present if and only if `return_outcome` is `not_returned`.
6996
- sig { returns(T.nilable(T.anything)) }
6997
- attr_accessor :not_returned
7782
+ sig do
7783
+ returns(
7784
+ T.nilable(
7785
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned
7786
+ )
7787
+ )
7788
+ end
7789
+ attr_reader :not_returned
7790
+
7791
+ sig do
7792
+ params(
7793
+ not_returned:
7794
+ T.nilable(
7795
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash
7796
+ )
7797
+ ).void
7798
+ end
7799
+ attr_writer :not_returned
6998
7800
 
6999
7801
  # Return attempted. Present if and only if `return_outcome` is `return_attempted`.
7000
7802
  sig do
@@ -7048,7 +7850,10 @@ module Increase
7048
7850
  sig do
7049
7851
  params(
7050
7852
  explanation: String,
7051
- not_returned: T.nilable(T.anything),
7853
+ not_returned:
7854
+ T.nilable(
7855
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash
7856
+ ),
7052
7857
  return_attempted:
7053
7858
  T.nilable(
7054
7859
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted::OrHash
@@ -7079,7 +7884,10 @@ module Increase
7079
7884
  override.returns(
7080
7885
  {
7081
7886
  explanation: String,
7082
- not_returned: T.nilable(T.anything),
7887
+ not_returned:
7888
+ T.nilable(
7889
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned
7890
+ ),
7083
7891
  return_attempted:
7084
7892
  T.nilable(
7085
7893
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted
@@ -7096,6 +7904,25 @@ module Increase
7096
7904
  def to_hash
7097
7905
  end
7098
7906
 
7907
+ class NotReturned < Increase::Internal::Type::BaseModel
7908
+ OrHash =
7909
+ T.type_alias do
7910
+ T.any(
7911
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned,
7912
+ Increase::Internal::AnyHash
7913
+ )
7914
+ end
7915
+
7916
+ # Not returned. Present if and only if `return_outcome` is `not_returned`.
7917
+ sig { returns(T.attached_class) }
7918
+ def self.new
7919
+ end
7920
+
7921
+ sig { override.returns({}) }
7922
+ def to_hash
7923
+ end
7924
+ end
7925
+
7099
7926
  class ReturnAttempted < Increase::Internal::Type::BaseModel
7100
7927
  OrHash =
7101
7928
  T.type_alias do
@@ -7340,6 +8167,46 @@ module Increase
7340
8167
  def self.values
7341
8168
  end
7342
8169
  end
8170
+
8171
+ class NoCancellation < Increase::Internal::Type::BaseModel
8172
+ OrHash =
8173
+ T.type_alias do
8174
+ T.any(
8175
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation,
8176
+ Increase::Internal::AnyHash
8177
+ )
8178
+ end
8179
+
8180
+ # No cancellation. Present if and only if `cancellation_outcome` is
8181
+ # `no_cancellation`.
8182
+ sig { returns(T.attached_class) }
8183
+ def self.new
8184
+ end
8185
+
8186
+ sig { override.returns({}) }
8187
+ def to_hash
8188
+ end
8189
+ end
8190
+ end
8191
+
8192
+ class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel
8193
+ OrHash =
8194
+ T.type_alias do
8195
+ T.any(
8196
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash,
8197
+ Increase::Internal::AnyHash
8198
+ )
8199
+ end
8200
+
8201
+ # Non-receipt of cash. Present if and only if `category` is
8202
+ # `consumer_non_receipt_of_cash`.
8203
+ sig { returns(T.attached_class) }
8204
+ def self.new
8205
+ end
8206
+
8207
+ sig { override.returns({}) }
8208
+ def to_hash
8209
+ end
7343
8210
  end
7344
8211
 
7345
8212
  class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel
@@ -7453,8 +8320,24 @@ module Increase
7453
8320
  attr_accessor :merchant_resolution_attempted
7454
8321
 
7455
8322
  # Not returned. Present if and only if `return_outcome` is `not_returned`.
7456
- sig { returns(T.nilable(T.anything)) }
7457
- attr_accessor :not_returned
8323
+ sig do
8324
+ returns(
8325
+ T.nilable(
8326
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned
8327
+ )
8328
+ )
8329
+ end
8330
+ attr_reader :not_returned
8331
+
8332
+ sig do
8333
+ params(
8334
+ not_returned:
8335
+ T.nilable(
8336
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned::OrHash
8337
+ )
8338
+ ).void
8339
+ end
8340
+ attr_writer :not_returned
7458
8341
 
7459
8342
  # Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations.
7460
8343
  sig do
@@ -7539,7 +8422,10 @@ module Increase
7539
8422
  expected_at: Date,
7540
8423
  merchant_resolution_attempted:
7541
8424
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::MerchantResolutionAttempted::OrSymbol,
7542
- not_returned: T.nilable(T.anything),
8425
+ not_returned:
8426
+ T.nilable(
8427
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned::OrHash
8428
+ ),
7543
8429
  ongoing_negotiations:
7544
8430
  T.nilable(
7545
8431
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations::OrHash
@@ -7586,7 +8472,10 @@ module Increase
7586
8472
  expected_at: Date,
7587
8473
  merchant_resolution_attempted:
7588
8474
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::MerchantResolutionAttempted::TaggedSymbol,
7589
- not_returned: T.nilable(T.anything),
8475
+ not_returned:
8476
+ T.nilable(
8477
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned
8478
+ ),
7590
8479
  ongoing_negotiations:
7591
8480
  T.nilable(
7592
8481
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations
@@ -7647,6 +8536,25 @@ module Increase
7647
8536
  end
7648
8537
  end
7649
8538
 
8539
+ class NotReturned < Increase::Internal::Type::BaseModel
8540
+ OrHash =
8541
+ T.type_alias do
8542
+ T.any(
8543
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned,
8544
+ Increase::Internal::AnyHash
8545
+ )
8546
+ end
8547
+
8548
+ # Not returned. Present if and only if `return_outcome` is `not_returned`.
8549
+ sig { returns(T.attached_class) }
8550
+ def self.new
8551
+ end
8552
+
8553
+ sig { override.returns({}) }
8554
+ def to_hash
8555
+ end
8556
+ end
8557
+
7650
8558
  class OngoingNegotiations < Increase::Internal::Type::BaseModel
7651
8559
  OrHash =
7652
8560
  T.type_alias do
@@ -8936,8 +9844,24 @@ module Increase
8936
9844
 
8937
9845
  # No cancellation. Present if and only if `cancellation_outcome` is
8938
9846
  # `no_cancellation`.
8939
- sig { returns(T.nilable(T.anything)) }
8940
- attr_accessor :no_cancellation
9847
+ sig do
9848
+ returns(
9849
+ T.nilable(
9850
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation
9851
+ )
9852
+ )
9853
+ end
9854
+ attr_reader :no_cancellation
9855
+
9856
+ sig do
9857
+ params(
9858
+ no_cancellation:
9859
+ T.nilable(
9860
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation::OrHash
9861
+ )
9862
+ ).void
9863
+ end
9864
+ attr_writer :no_cancellation
8941
9865
 
8942
9866
  # Purchase information and explanation.
8943
9867
  sig { returns(String) }
@@ -8960,7 +9884,10 @@ module Increase
8960
9884
  ),
8961
9885
  merchant_resolution_attempted:
8962
9886
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantResolutionAttempted::OrSymbol,
8963
- no_cancellation: T.nilable(T.anything),
9887
+ no_cancellation:
9888
+ T.nilable(
9889
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation::OrHash
9890
+ ),
8964
9891
  purchase_info_and_explanation: String
8965
9892
  ).returns(T.attached_class)
8966
9893
  end
@@ -9001,7 +9928,10 @@ module Increase
9001
9928
  ),
9002
9929
  merchant_resolution_attempted:
9003
9930
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantResolutionAttempted::TaggedSymbol,
9004
- no_cancellation: T.nilable(T.anything),
9931
+ no_cancellation:
9932
+ T.nilable(
9933
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation
9934
+ ),
9005
9935
  purchase_info_and_explanation: String
9006
9936
  }
9007
9937
  )
@@ -9159,6 +10089,26 @@ module Increase
9159
10089
  def self.values
9160
10090
  end
9161
10091
  end
10092
+
10093
+ class NoCancellation < Increase::Internal::Type::BaseModel
10094
+ OrHash =
10095
+ T.type_alias do
10096
+ T.any(
10097
+ Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation,
10098
+ Increase::Internal::AnyHash
10099
+ )
10100
+ end
10101
+
10102
+ # No cancellation. Present if and only if `cancellation_outcome` is
10103
+ # `no_cancellation`.
10104
+ sig { returns(T.attached_class) }
10105
+ def self.new
10106
+ end
10107
+
10108
+ sig { override.returns({}) }
10109
+ def to_hash
10110
+ end
10111
+ end
9162
10112
  end
9163
10113
 
9164
10114
  class Fraud < Increase::Internal::Type::BaseModel