lithic 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55

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 (157) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/transport/base_client.rb +7 -1
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +6 -2
  6. data/lib/lithic/models/account_activity_list_response.rb +1 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
  8. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  9. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  10. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  11. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  12. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  14. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  17. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  18. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  19. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  20. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  21. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  22. data/lib/lithic/models/book_transfer_response.rb +5 -5
  23. data/lib/lithic/models/dispute.rb +510 -242
  24. data/lib/lithic/models/dispute_create_response.rb +326 -0
  25. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  26. data/lib/lithic/models/dispute_list_response.rb +326 -0
  27. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  28. data/lib/lithic/models/dispute_update_response.rb +326 -0
  29. data/lib/lithic/models/event.rb +213 -69
  30. data/lib/lithic/models/event_list_params.rb +112 -6
  31. data/lib/lithic/models/event_subscription.rb +112 -6
  32. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  33. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  34. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  35. data/lib/lithic/models/financial_account.rb +1 -65
  36. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  37. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  38. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  39. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
  40. data/lib/lithic/models/financial_transaction.rb +1 -0
  41. data/lib/lithic/models/payment.rb +29 -18
  42. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  43. data/lib/lithic/models/tokenization.rb +189 -23
  44. data/lib/lithic/models/transaction.rb +12 -116
  45. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  46. data/lib/lithic/models/transfer.rb +1 -0
  47. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  48. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  49. data/lib/lithic/resources/disputes.rb +10 -10
  50. data/lib/lithic/resources/payments.rb +5 -1
  51. data/lib/lithic/version.rb +1 -1
  52. data/lib/lithic.rb +8 -3
  53. data/manifest.yaml +1 -0
  54. data/rbi/lithic/internal/transport/base_client.rbi +5 -0
  55. data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
  56. data/rbi/lithic/internal/type/base_model.rbi +8 -4
  57. data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
  58. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
  59. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  60. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  61. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  62. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  63. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  64. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  65. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  66. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  67. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  68. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  69. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  70. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  71. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  72. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  73. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  74. data/rbi/lithic/models/dispute.rbi +942 -395
  75. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  76. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  77. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  78. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  79. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  80. data/rbi/lithic/models/event.rbi +348 -111
  81. data/rbi/lithic/models/event_list_params.rbi +155 -25
  82. data/rbi/lithic/models/event_subscription.rbi +155 -25
  83. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  84. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  85. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  86. data/rbi/lithic/models/financial_account.rbi +3 -132
  87. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  88. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  89. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  90. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
  91. data/rbi/lithic/models/financial_transaction.rbi +5 -0
  92. data/rbi/lithic/models/payment.rbi +52 -28
  93. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  94. data/rbi/lithic/models/tokenization.rbi +429 -34
  95. data/rbi/lithic/models/transaction.rbi +22 -246
  96. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  97. data/rbi/lithic/models/transfer.rbi +5 -0
  98. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  99. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  100. data/rbi/lithic/resources/disputes.rbi +7 -5
  101. data/rbi/lithic/resources/payments.rbi +6 -0
  102. data/sig/lithic/internal/transport/base_client.rbs +2 -0
  103. data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
  104. data/sig/lithic/models/account_activity_list_response.rbs +2 -0
  105. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
  106. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  107. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  108. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  109. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  110. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  111. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  112. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  113. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  114. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  115. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  116. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  117. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  118. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  119. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  120. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  121. data/sig/lithic/models/dispute.rbs +417 -157
  122. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  123. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  124. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  125. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  126. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  127. data/sig/lithic/models/event.rbs +25 -13
  128. data/sig/lithic/models/event_list_params.rbs +25 -13
  129. data/sig/lithic/models/event_subscription.rbs +25 -13
  130. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  131. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  132. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  133. data/sig/lithic/models/financial_account.rbs +3 -45
  134. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  135. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  136. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  137. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
  138. data/sig/lithic/models/financial_transaction.rbs +2 -0
  139. data/sig/lithic/models/payment.rbs +16 -12
  140. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  141. data/sig/lithic/models/tokenization.rbs +160 -13
  142. data/sig/lithic/models/transaction.rbs +13 -94
  143. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  144. data/sig/lithic/models/transfer.rbs +2 -0
  145. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  146. data/sig/lithic/resources/disputes.rbs +5 -5
  147. data/sig/lithic/resources/payments.rbs +2 -0
  148. metadata +23 -11
  149. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  150. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  151. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  152. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  153. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  154. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  155. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  156. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  157. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -0,0 +1,326 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ # @see Lithic::Resources::Disputes#update
6
+ class DisputeUpdateResponse < Lithic::Internal::Type::BaseModel
7
+ # @!attribute token
8
+ # Globally unique identifier.
9
+ #
10
+ # @return [String]
11
+ required :token, String
12
+
13
+ # @!attribute amount
14
+ # Amount under dispute. May be different from the original transaction amount.
15
+ #
16
+ # @return [Integer]
17
+ required :amount, Integer
18
+
19
+ # @!attribute arbitration_date
20
+ # Date dispute entered arbitration.
21
+ #
22
+ # @return [Time, nil]
23
+ required :arbitration_date, Time, nil?: true
24
+
25
+ # @!attribute created
26
+ # Timestamp of when first Dispute was reported.
27
+ #
28
+ # @return [Time]
29
+ required :created, Time
30
+
31
+ # @!attribute customer_filed_date
32
+ # Date that the dispute was filed by the customer making the dispute.
33
+ #
34
+ # @return [Time, nil]
35
+ required :customer_filed_date, Time, nil?: true
36
+
37
+ # @!attribute customer_note
38
+ # End customer description of the reason for the dispute.
39
+ #
40
+ # @return [String, nil]
41
+ required :customer_note, String, nil?: true
42
+
43
+ # @!attribute network_claim_ids
44
+ # Unique identifiers for the dispute from the network.
45
+ #
46
+ # @return [Array<String>, nil]
47
+ required :network_claim_ids, Lithic::Internal::Type::ArrayOf[String], nil?: true
48
+
49
+ # @!attribute network_filed_date
50
+ # Date that the dispute was submitted to the network.
51
+ #
52
+ # @return [Time, nil]
53
+ required :network_filed_date, Time, nil?: true
54
+
55
+ # @!attribute network_reason_code
56
+ # Network reason code used to file the dispute.
57
+ #
58
+ # @return [String, nil]
59
+ required :network_reason_code, String, nil?: true
60
+
61
+ # @!attribute prearbitration_date
62
+ # Date dispute entered pre-arbitration.
63
+ #
64
+ # @return [Time, nil]
65
+ required :prearbitration_date, Time, nil?: true
66
+
67
+ # @!attribute primary_claim_id
68
+ # Unique identifier for the dispute from the network. If there are multiple, this
69
+ # will be the first claim id set by the network
70
+ #
71
+ # @return [String, nil]
72
+ required :primary_claim_id, String, nil?: true
73
+
74
+ # @!attribute reason
75
+ # Dispute reason:
76
+ #
77
+ # - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
78
+ # - `CANCELLED`: Transaction was cancelled by the customer.
79
+ # - `DUPLICATED`: The transaction was a duplicate.
80
+ # - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
81
+ # - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
82
+ # - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
83
+ # merchant activity.
84
+ # - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
85
+ # described.
86
+ # - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
87
+ # - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
88
+ # - `MISSING_AUTH`: The transaction was missing authorization.
89
+ # - `OTHER`: Other reason.
90
+ # - `PROCESSING_ERROR`: Processing error.
91
+ # - `REFUND_NOT_PROCESSED`: The refund was not processed.
92
+ # - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
93
+ # cancelled.
94
+ #
95
+ # @return [Symbol, Lithic::Models::DisputeUpdateResponse::Reason]
96
+ required :reason, enum: -> { Lithic::Models::DisputeUpdateResponse::Reason }
97
+
98
+ # @!attribute representment_date
99
+ # Date the representment was received.
100
+ #
101
+ # @return [Time, nil]
102
+ required :representment_date, Time, nil?: true
103
+
104
+ # @!attribute resolution_date
105
+ # Date that the dispute was resolved.
106
+ #
107
+ # @return [Time, nil]
108
+ required :resolution_date, Time, nil?: true
109
+
110
+ # @!attribute resolution_note
111
+ # Note by Dispute team on the case resolution.
112
+ #
113
+ # @return [String, nil]
114
+ required :resolution_note, String, nil?: true
115
+
116
+ # @!attribute resolution_reason
117
+ # Reason for the dispute resolution:
118
+ #
119
+ # - `CASE_LOST`: This case was lost at final arbitration.
120
+ # - `NETWORK_REJECTED`: Network rejected.
121
+ # - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
122
+ # - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
123
+ # - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
124
+ # - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
125
+ # - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
126
+ # - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
127
+ # - `PAST_FILING_DATE`: Past filing date.
128
+ # - `PREARBITRATION_REJECTED`: Prearbitration rejected.
129
+ # - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
130
+ # - `REFUNDED`: Refunded.
131
+ # - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
132
+ # - `WITHDRAWN`: Withdrawn.
133
+ # - `WON_ARBITRATION`: Won arbitration.
134
+ # - `WON_FIRST_CHARGEBACK`: Won first chargeback.
135
+ # - `WON_PREARBITRATION`: Won prearbitration.
136
+ #
137
+ # @return [Symbol, Lithic::Models::DisputeUpdateResponse::ResolutionReason, nil]
138
+ required :resolution_reason,
139
+ enum: -> { Lithic::Models::DisputeUpdateResponse::ResolutionReason },
140
+ nil?: true
141
+
142
+ # @!attribute status
143
+ # Status types:
144
+ #
145
+ # - `NEW` - New dispute case is opened.
146
+ # - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
147
+ # information.
148
+ # - `SUBMITTED` - Dispute is submitted to the card network.
149
+ # - `REPRESENTMENT` - Case has entered second presentment.
150
+ # - `PREARBITRATION` - Case has entered prearbitration.
151
+ # - `ARBITRATION` - Case has entered arbitration.
152
+ # - `CASE_WON` - Case was won and credit will be issued.
153
+ # - `CASE_CLOSED` - Case was lost or withdrawn.
154
+ #
155
+ # @return [Symbol, Lithic::Models::DisputeUpdateResponse::Status]
156
+ required :status, enum: -> { Lithic::Models::DisputeUpdateResponse::Status }
157
+
158
+ # @!attribute transaction_token
159
+ # The transaction that is being disputed. A transaction can only be disputed once
160
+ # but may have multiple dispute cases.
161
+ #
162
+ # @return [String]
163
+ required :transaction_token, String
164
+
165
+ # @!method initialize(token:, amount:, arbitration_date:, created:, customer_filed_date:, customer_note:, network_claim_ids:, network_filed_date:, network_reason_code:, prearbitration_date:, primary_claim_id:, reason:, representment_date:, resolution_date:, resolution_note:, resolution_reason:, status:, transaction_token:)
166
+ # Some parameter documentations has been truncated, see
167
+ # {Lithic::Models::DisputeUpdateResponse} for more details.
168
+ #
169
+ # Dispute.
170
+ #
171
+ # @param token [String] Globally unique identifier.
172
+ #
173
+ # @param amount [Integer] Amount under dispute. May be different from the original transaction amount.
174
+ #
175
+ # @param arbitration_date [Time, nil] Date dispute entered arbitration.
176
+ #
177
+ # @param created [Time] Timestamp of when first Dispute was reported.
178
+ #
179
+ # @param customer_filed_date [Time, nil] Date that the dispute was filed by the customer making the dispute.
180
+ #
181
+ # @param customer_note [String, nil] End customer description of the reason for the dispute.
182
+ #
183
+ # @param network_claim_ids [Array<String>, nil] Unique identifiers for the dispute from the network.
184
+ #
185
+ # @param network_filed_date [Time, nil] Date that the dispute was submitted to the network.
186
+ #
187
+ # @param network_reason_code [String, nil] Network reason code used to file the dispute.
188
+ #
189
+ # @param prearbitration_date [Time, nil] Date dispute entered pre-arbitration.
190
+ #
191
+ # @param primary_claim_id [String, nil] Unique identifier for the dispute from the network. If there are multiple, this
192
+ #
193
+ # @param reason [Symbol, Lithic::Models::DisputeUpdateResponse::Reason] Dispute reason:
194
+ #
195
+ # @param representment_date [Time, nil] Date the representment was received.
196
+ #
197
+ # @param resolution_date [Time, nil] Date that the dispute was resolved.
198
+ #
199
+ # @param resolution_note [String, nil] Note by Dispute team on the case resolution.
200
+ #
201
+ # @param resolution_reason [Symbol, Lithic::Models::DisputeUpdateResponse::ResolutionReason, nil] Reason for the dispute resolution:
202
+ #
203
+ # @param status [Symbol, Lithic::Models::DisputeUpdateResponse::Status] Status types:
204
+ #
205
+ # @param transaction_token [String] The transaction that is being disputed. A transaction can only be disputed once
206
+
207
+ # Dispute reason:
208
+ #
209
+ # - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
210
+ # - `CANCELLED`: Transaction was cancelled by the customer.
211
+ # - `DUPLICATED`: The transaction was a duplicate.
212
+ # - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
213
+ # - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
214
+ # - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
215
+ # merchant activity.
216
+ # - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
217
+ # described.
218
+ # - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
219
+ # - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
220
+ # - `MISSING_AUTH`: The transaction was missing authorization.
221
+ # - `OTHER`: Other reason.
222
+ # - `PROCESSING_ERROR`: Processing error.
223
+ # - `REFUND_NOT_PROCESSED`: The refund was not processed.
224
+ # - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
225
+ # cancelled.
226
+ #
227
+ # @see Lithic::Models::DisputeUpdateResponse#reason
228
+ module Reason
229
+ extend Lithic::Internal::Type::Enum
230
+
231
+ ATM_CASH_MISDISPENSE = :ATM_CASH_MISDISPENSE
232
+ CANCELLED = :CANCELLED
233
+ DUPLICATED = :DUPLICATED
234
+ FRAUD_CARD_NOT_PRESENT = :FRAUD_CARD_NOT_PRESENT
235
+ FRAUD_CARD_PRESENT = :FRAUD_CARD_PRESENT
236
+ FRAUD_OTHER = :FRAUD_OTHER
237
+ GOODS_SERVICES_NOT_AS_DESCRIBED = :GOODS_SERVICES_NOT_AS_DESCRIBED
238
+ GOODS_SERVICES_NOT_RECEIVED = :GOODS_SERVICES_NOT_RECEIVED
239
+ INCORRECT_AMOUNT = :INCORRECT_AMOUNT
240
+ MISSING_AUTH = :MISSING_AUTH
241
+ OTHER = :OTHER
242
+ PROCESSING_ERROR = :PROCESSING_ERROR
243
+ RECURRING_TRANSACTION_NOT_CANCELLED = :RECURRING_TRANSACTION_NOT_CANCELLED
244
+ REFUND_NOT_PROCESSED = :REFUND_NOT_PROCESSED
245
+
246
+ # @!method self.values
247
+ # @return [Array<Symbol>]
248
+ end
249
+
250
+ # Reason for the dispute resolution:
251
+ #
252
+ # - `CASE_LOST`: This case was lost at final arbitration.
253
+ # - `NETWORK_REJECTED`: Network rejected.
254
+ # - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
255
+ # - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
256
+ # - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
257
+ # - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
258
+ # - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
259
+ # - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
260
+ # - `PAST_FILING_DATE`: Past filing date.
261
+ # - `PREARBITRATION_REJECTED`: Prearbitration rejected.
262
+ # - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
263
+ # - `REFUNDED`: Refunded.
264
+ # - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
265
+ # - `WITHDRAWN`: Withdrawn.
266
+ # - `WON_ARBITRATION`: Won arbitration.
267
+ # - `WON_FIRST_CHARGEBACK`: Won first chargeback.
268
+ # - `WON_PREARBITRATION`: Won prearbitration.
269
+ #
270
+ # @see Lithic::Models::DisputeUpdateResponse#resolution_reason
271
+ module ResolutionReason
272
+ extend Lithic::Internal::Type::Enum
273
+
274
+ CASE_LOST = :CASE_LOST
275
+ NETWORK_REJECTED = :NETWORK_REJECTED
276
+ NO_DISPUTE_RIGHTS_3DS = :NO_DISPUTE_RIGHTS_3DS
277
+ NO_DISPUTE_RIGHTS_BELOW_THRESHOLD = :NO_DISPUTE_RIGHTS_BELOW_THRESHOLD
278
+ NO_DISPUTE_RIGHTS_CONTACTLESS = :NO_DISPUTE_RIGHTS_CONTACTLESS
279
+ NO_DISPUTE_RIGHTS_HYBRID = :NO_DISPUTE_RIGHTS_HYBRID
280
+ NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS = :NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS
281
+ NO_DISPUTE_RIGHTS_OTHER = :NO_DISPUTE_RIGHTS_OTHER
282
+ PAST_FILING_DATE = :PAST_FILING_DATE
283
+ PREARBITRATION_REJECTED = :PREARBITRATION_REJECTED
284
+ PROCESSOR_REJECTED_OTHER = :PROCESSOR_REJECTED_OTHER
285
+ REFUNDED = :REFUNDED
286
+ REFUNDED_AFTER_CHARGEBACK = :REFUNDED_AFTER_CHARGEBACK
287
+ WITHDRAWN = :WITHDRAWN
288
+ WON_ARBITRATION = :WON_ARBITRATION
289
+ WON_FIRST_CHARGEBACK = :WON_FIRST_CHARGEBACK
290
+ WON_PREARBITRATION = :WON_PREARBITRATION
291
+
292
+ # @!method self.values
293
+ # @return [Array<Symbol>]
294
+ end
295
+
296
+ # Status types:
297
+ #
298
+ # - `NEW` - New dispute case is opened.
299
+ # - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
300
+ # information.
301
+ # - `SUBMITTED` - Dispute is submitted to the card network.
302
+ # - `REPRESENTMENT` - Case has entered second presentment.
303
+ # - `PREARBITRATION` - Case has entered prearbitration.
304
+ # - `ARBITRATION` - Case has entered arbitration.
305
+ # - `CASE_WON` - Case was won and credit will be issued.
306
+ # - `CASE_CLOSED` - Case was lost or withdrawn.
307
+ #
308
+ # @see Lithic::Models::DisputeUpdateResponse#status
309
+ module Status
310
+ extend Lithic::Internal::Type::Enum
311
+
312
+ ARBITRATION = :ARBITRATION
313
+ CASE_CLOSED = :CASE_CLOSED
314
+ CASE_WON = :CASE_WON
315
+ NEW = :NEW
316
+ PENDING_CUSTOMER = :PENDING_CUSTOMER
317
+ PREARBITRATION = :PREARBITRATION
318
+ REPRESENTMENT = :REPRESENTMENT
319
+ SUBMITTED = :SUBMITTED
320
+
321
+ # @!method self.values
322
+ # @return [Array<Symbol>]
323
+ end
324
+ end
325
+ end
326
+ end