increase 1.98.0 → 1.99.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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +4 -0
  5. data/lib/increase/models/card_dispute.rb +5021 -0
  6. data/lib/increase/models/card_dispute_create_params.rb +3265 -0
  7. data/lib/increase/models/card_dispute_list_params.rb +147 -0
  8. data/lib/increase/models/card_dispute_retrieve_params.rb +14 -0
  9. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +3469 -0
  10. data/lib/increase/models/card_dispute_withdraw_params.rb +14 -0
  11. data/lib/increase/models/simulations/card_dispute_action_params.rb +214 -0
  12. data/lib/increase/models.rb +12 -0
  13. data/lib/increase/resources/card_disputes.rb +154 -0
  14. data/lib/increase/resources/simulations/card_disputes.rb +48 -0
  15. data/lib/increase/resources/simulations.rb +4 -0
  16. data/lib/increase/version.rb +1 -1
  17. data/lib/increase.rb +9 -0
  18. data/rbi/increase/client.rbi +3 -0
  19. data/rbi/increase/models/card_dispute.rbi +10100 -0
  20. data/rbi/increase/models/card_dispute_create_params.rbi +6745 -0
  21. data/rbi/increase/models/card_dispute_list_params.rbi +296 -0
  22. data/rbi/increase/models/card_dispute_retrieve_params.rbi +30 -0
  23. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +7253 -0
  24. data/rbi/increase/models/card_dispute_withdraw_params.rbi +30 -0
  25. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +419 -0
  26. data/rbi/increase/models.rbi +13 -0
  27. data/rbi/increase/resources/card_disputes.rbi +136 -0
  28. data/rbi/increase/resources/simulations/card_disputes.rbi +40 -0
  29. data/rbi/increase/resources/simulations.rbi +3 -0
  30. data/sig/increase/client.rbs +2 -0
  31. data/sig/increase/models/card_dispute.rbs +3913 -0
  32. data/sig/increase/models/card_dispute_create_params.rbs +2889 -0
  33. data/sig/increase/models/card_dispute_list_params.rbs +150 -0
  34. data/sig/increase/models/card_dispute_retrieve_params.rbs +15 -0
  35. data/sig/increase/models/card_dispute_submit_user_submission_params.rbs +3089 -0
  36. data/sig/increase/models/card_dispute_withdraw_params.rbs +15 -0
  37. data/sig/increase/models/simulations/card_dispute_action_params.rbs +195 -0
  38. data/sig/increase/models.rbs +12 -0
  39. data/sig/increase/resources/card_disputes.rbs +44 -0
  40. data/sig/increase/resources/simulations/card_disputes.rbs +16 -0
  41. data/sig/increase/resources/simulations.rbs +2 -0
  42. metadata +28 -1
@@ -0,0 +1,3913 @@
1
+ module Increase
2
+ module Models
3
+ type card_dispute =
4
+ {
5
+ id: String,
6
+ amount: Integer,
7
+ card_id: String,
8
+ created_at: Time,
9
+ disputed_transaction_id: String,
10
+ idempotency_key: String?,
11
+ loss: Increase::CardDispute::Loss?,
12
+ network: Increase::Models::CardDispute::network,
13
+ status: Increase::Models::CardDispute::status,
14
+ type: Increase::Models::CardDispute::type_,
15
+ user_submission_required_by: Time?,
16
+ visa: Increase::CardDispute::Visa?,
17
+ win: Increase::CardDispute::Win?
18
+ }
19
+
20
+ class CardDispute < Increase::Internal::Type::BaseModel
21
+ attr_accessor id: String
22
+
23
+ attr_accessor amount: Integer
24
+
25
+ attr_accessor card_id: String
26
+
27
+ attr_accessor created_at: Time
28
+
29
+ attr_accessor disputed_transaction_id: String
30
+
31
+ attr_accessor idempotency_key: String?
32
+
33
+ attr_accessor loss: Increase::CardDispute::Loss?
34
+
35
+ attr_accessor network: Increase::Models::CardDispute::network
36
+
37
+ attr_accessor status: Increase::Models::CardDispute::status
38
+
39
+ attr_accessor type: Increase::Models::CardDispute::type_
40
+
41
+ attr_accessor user_submission_required_by: Time?
42
+
43
+ attr_accessor visa: Increase::CardDispute::Visa?
44
+
45
+ attr_accessor win: Increase::CardDispute::Win?
46
+
47
+ def initialize: (
48
+ id: String,
49
+ amount: Integer,
50
+ card_id: String,
51
+ created_at: Time,
52
+ disputed_transaction_id: String,
53
+ idempotency_key: String?,
54
+ loss: Increase::CardDispute::Loss?,
55
+ network: Increase::Models::CardDispute::network,
56
+ status: Increase::Models::CardDispute::status,
57
+ type: Increase::Models::CardDispute::type_,
58
+ user_submission_required_by: Time?,
59
+ visa: Increase::CardDispute::Visa?,
60
+ win: Increase::CardDispute::Win?
61
+ ) -> void
62
+
63
+ def to_hash: -> {
64
+ id: String,
65
+ amount: Integer,
66
+ card_id: String,
67
+ created_at: Time,
68
+ disputed_transaction_id: String,
69
+ idempotency_key: String?,
70
+ loss: Increase::CardDispute::Loss?,
71
+ network: Increase::Models::CardDispute::network,
72
+ status: Increase::Models::CardDispute::status,
73
+ type: Increase::Models::CardDispute::type_,
74
+ user_submission_required_by: Time?,
75
+ visa: Increase::CardDispute::Visa?,
76
+ win: Increase::CardDispute::Win?
77
+ }
78
+
79
+ type loss =
80
+ { lost_at: Time, reason: Increase::Models::CardDispute::Loss::reason }
81
+
82
+ class Loss < Increase::Internal::Type::BaseModel
83
+ attr_accessor lost_at: Time
84
+
85
+ attr_accessor reason: Increase::Models::CardDispute::Loss::reason
86
+
87
+ def initialize: (
88
+ lost_at: Time,
89
+ reason: Increase::Models::CardDispute::Loss::reason
90
+ ) -> void
91
+
92
+ def to_hash: -> {
93
+ lost_at: Time,
94
+ reason: Increase::Models::CardDispute::Loss::reason
95
+ }
96
+
97
+ type reason = :user_withdrawn | :loss
98
+
99
+ module Reason
100
+ extend Increase::Internal::Type::Enum
101
+
102
+ # The user withdrew the Card Dispute.
103
+ USER_WITHDRAWN: :user_withdrawn
104
+
105
+ # The Card Dispute was lost according to network rules.
106
+ LOSS: :loss
107
+
108
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Loss::reason]
109
+ end
110
+ end
111
+
112
+ type network = :visa
113
+
114
+ module Network
115
+ extend Increase::Internal::Type::Enum
116
+
117
+ # Visa: details will be under the `visa` object.
118
+ VISA: :visa
119
+
120
+ def self?.values: -> ::Array[Increase::Models::CardDispute::network]
121
+ end
122
+
123
+ type status =
124
+ :user_submission_required
125
+ | :pending_user_submission_reviewing
126
+ | :pending_user_submission_submitting
127
+ | :pending_user_withdrawal_submitting
128
+ | :pending_response
129
+ | :lost
130
+ | :won
131
+
132
+ module Status
133
+ extend Increase::Internal::Type::Enum
134
+
135
+ # A User Submission is required to continue with the Card Dispute.
136
+ USER_SUBMISSION_REQUIRED: :user_submission_required
137
+
138
+ # The most recent User Submission is being reviewed.
139
+ PENDING_USER_SUBMISSION_REVIEWING: :pending_user_submission_reviewing
140
+
141
+ # The most recent User Submission is being submitted to the network.
142
+ PENDING_USER_SUBMISSION_SUBMITTING: :pending_user_submission_submitting
143
+
144
+ # The user's withdrawal of the Card Dispute is being submitted to the network.
145
+ PENDING_USER_WITHDRAWAL_SUBMITTING: :pending_user_withdrawal_submitting
146
+
147
+ # The Card Dispute is pending a response from the network.
148
+ PENDING_RESPONSE: :pending_response
149
+
150
+ # The Card Dispute has been lost and funds previously credited from the acceptance have been debited.
151
+ LOST: :lost
152
+
153
+ # The Card Dispute has been won and no further action can be taken.
154
+ WON: :won
155
+
156
+ def self?.values: -> ::Array[Increase::Models::CardDispute::status]
157
+ end
158
+
159
+ type type_ = :card_dispute
160
+
161
+ module Type
162
+ extend Increase::Internal::Type::Enum
163
+
164
+ CARD_DISPUTE: :card_dispute
165
+
166
+ def self?.values: -> ::Array[Increase::Models::CardDispute::type_]
167
+ end
168
+
169
+ type visa =
170
+ {
171
+ network_events: ::Array[Increase::CardDispute::Visa::NetworkEvent],
172
+ required_user_submission_category: Increase::Models::CardDispute::Visa::required_user_submission_category?,
173
+ user_submissions: ::Array[Increase::CardDispute::Visa::UserSubmission]
174
+ }
175
+
176
+ class Visa < Increase::Internal::Type::BaseModel
177
+ attr_accessor network_events: ::Array[Increase::CardDispute::Visa::NetworkEvent]
178
+
179
+ attr_accessor required_user_submission_category: Increase::Models::CardDispute::Visa::required_user_submission_category?
180
+
181
+ attr_accessor user_submissions: ::Array[Increase::CardDispute::Visa::UserSubmission]
182
+
183
+ def initialize: (
184
+ network_events: ::Array[Increase::CardDispute::Visa::NetworkEvent],
185
+ required_user_submission_category: Increase::Models::CardDispute::Visa::required_user_submission_category?,
186
+ user_submissions: ::Array[Increase::CardDispute::Visa::UserSubmission]
187
+ ) -> void
188
+
189
+ def to_hash: -> {
190
+ network_events: ::Array[Increase::CardDispute::Visa::NetworkEvent],
191
+ required_user_submission_category: Increase::Models::CardDispute::Visa::required_user_submission_category?,
192
+ user_submissions: ::Array[Increase::CardDispute::Visa::UserSubmission]
193
+ }
194
+
195
+ type network_event =
196
+ {
197
+ attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
198
+ category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
199
+ chargeback_accepted: top?,
200
+ chargeback_submitted: top?,
201
+ chargeback_timed_out: top?,
202
+ created_at: Time,
203
+ dispute_financial_transaction_id: String?,
204
+ merchant_prearbitration_decline_submitted: top?,
205
+ merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?,
206
+ merchant_prearbitration_timed_out: top?,
207
+ represented: Increase::CardDispute::Visa::NetworkEvent::Represented?,
208
+ representment_timed_out: top?,
209
+ user_prearbitration_accepted: top?,
210
+ user_prearbitration_declined: top?,
211
+ user_prearbitration_submitted: top?,
212
+ user_prearbitration_timed_out: top?,
213
+ user_withdrawal_submitted: top?
214
+ }
215
+
216
+ class NetworkEvent < Increase::Internal::Type::BaseModel
217
+ attr_accessor attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile]
218
+
219
+ attr_accessor category: Increase::Models::CardDispute::Visa::NetworkEvent::category
220
+
221
+ attr_accessor chargeback_accepted: top?
222
+
223
+ attr_accessor chargeback_submitted: top?
224
+
225
+ attr_accessor chargeback_timed_out: top?
226
+
227
+ attr_accessor created_at: Time
228
+
229
+ attr_accessor dispute_financial_transaction_id: String?
230
+
231
+ attr_accessor merchant_prearbitration_decline_submitted: top?
232
+
233
+ attr_accessor merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?
234
+
235
+ attr_accessor merchant_prearbitration_timed_out: top?
236
+
237
+ attr_accessor represented: Increase::CardDispute::Visa::NetworkEvent::Represented?
238
+
239
+ attr_accessor representment_timed_out: top?
240
+
241
+ attr_accessor user_prearbitration_accepted: top?
242
+
243
+ attr_accessor user_prearbitration_declined: top?
244
+
245
+ attr_accessor user_prearbitration_submitted: top?
246
+
247
+ attr_accessor user_prearbitration_timed_out: top?
248
+
249
+ attr_accessor user_withdrawal_submitted: top?
250
+
251
+ def initialize: (
252
+ attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
253
+ category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
254
+ chargeback_accepted: top?,
255
+ chargeback_submitted: top?,
256
+ chargeback_timed_out: top?,
257
+ created_at: Time,
258
+ dispute_financial_transaction_id: String?,
259
+ merchant_prearbitration_decline_submitted: top?,
260
+ merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?,
261
+ merchant_prearbitration_timed_out: top?,
262
+ represented: Increase::CardDispute::Visa::NetworkEvent::Represented?,
263
+ representment_timed_out: top?,
264
+ user_prearbitration_accepted: top?,
265
+ user_prearbitration_declined: top?,
266
+ user_prearbitration_submitted: top?,
267
+ user_prearbitration_timed_out: top?,
268
+ user_withdrawal_submitted: top?
269
+ ) -> void
270
+
271
+ def to_hash: -> {
272
+ attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
273
+ category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
274
+ chargeback_accepted: top?,
275
+ chargeback_submitted: top?,
276
+ chargeback_timed_out: top?,
277
+ created_at: Time,
278
+ dispute_financial_transaction_id: String?,
279
+ merchant_prearbitration_decline_submitted: top?,
280
+ merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?,
281
+ merchant_prearbitration_timed_out: top?,
282
+ represented: Increase::CardDispute::Visa::NetworkEvent::Represented?,
283
+ representment_timed_out: top?,
284
+ user_prearbitration_accepted: top?,
285
+ user_prearbitration_declined: top?,
286
+ user_prearbitration_submitted: top?,
287
+ user_prearbitration_timed_out: top?,
288
+ user_withdrawal_submitted: top?
289
+ }
290
+
291
+ type attachment_file = { file_id: String }
292
+
293
+ class AttachmentFile < Increase::Internal::Type::BaseModel
294
+ attr_accessor file_id: String
295
+
296
+ def initialize: (file_id: String) -> void
297
+
298
+ def to_hash: -> { file_id: String }
299
+ end
300
+
301
+ type category =
302
+ :chargeback_accepted
303
+ | :chargeback_submitted
304
+ | :chargeback_timed_out
305
+ | :merchant_prearbitration_decline_submitted
306
+ | :merchant_prearbitration_received
307
+ | :merchant_prearbitration_timed_out
308
+ | :represented
309
+ | :representment_timed_out
310
+ | :user_prearbitration_accepted
311
+ | :user_prearbitration_declined
312
+ | :user_prearbitration_submitted
313
+ | :user_prearbitration_timed_out
314
+ | :user_withdrawal_submitted
315
+
316
+ module Category
317
+ extend Increase::Internal::Type::Enum
318
+
319
+ # Card Dispute Chargeback Accepted Visa Network Event: details will be under the `chargeback_accepted` object.
320
+ CHARGEBACK_ACCEPTED: :chargeback_accepted
321
+
322
+ # Card Dispute Chargeback Submitted Visa Network Event: details will be under the `chargeback_submitted` object.
323
+ CHARGEBACK_SUBMITTED: :chargeback_submitted
324
+
325
+ # Card Dispute Chargeback Timed Out Visa Network Event: details will be under the `chargeback_timed_out` object.
326
+ CHARGEBACK_TIMED_OUT: :chargeback_timed_out
327
+
328
+ # Card Dispute Merchant Pre-Arbitration Decline Submitted Visa Network Event: details will be under the `merchant_prearbitration_decline_submitted` object.
329
+ MERCHANT_PREARBITRATION_DECLINE_SUBMITTED: :merchant_prearbitration_decline_submitted
330
+
331
+ # Card Dispute Merchant Pre-Arbitration Received Visa Network Event: details will be under the `merchant_prearbitration_received` object.
332
+ MERCHANT_PREARBITRATION_RECEIVED: :merchant_prearbitration_received
333
+
334
+ # Card Dispute Merchant Pre-Arbitration Timed Out Visa Network Event: details will be under the `merchant_prearbitration_timed_out` object.
335
+ MERCHANT_PREARBITRATION_TIMED_OUT: :merchant_prearbitration_timed_out
336
+
337
+ # Card Dispute Re-presented Visa Network Event: details will be under the `represented` object.
338
+ REPRESENTED: :represented
339
+
340
+ # Card Dispute Re-presentment Timed Out Visa Network Event: details will be under the `representment_timed_out` object.
341
+ REPRESENTMENT_TIMED_OUT: :representment_timed_out
342
+
343
+ # Card Dispute User Pre-Arbitration Accepted Visa Network Event: details will be under the `user_prearbitration_accepted` object.
344
+ USER_PREARBITRATION_ACCEPTED: :user_prearbitration_accepted
345
+
346
+ # Card Dispute User Pre-Arbitration Declined Visa Network Event: details will be under the `user_prearbitration_declined` object.
347
+ USER_PREARBITRATION_DECLINED: :user_prearbitration_declined
348
+
349
+ # Card Dispute User Pre-Arbitration Submitted Visa Network Event: details will be under the `user_prearbitration_submitted` object.
350
+ USER_PREARBITRATION_SUBMITTED: :user_prearbitration_submitted
351
+
352
+ # Card Dispute User Pre-Arbitration Timed Out Visa Network Event: details will be under the `user_prearbitration_timed_out` object.
353
+ USER_PREARBITRATION_TIMED_OUT: :user_prearbitration_timed_out
354
+
355
+ # Card Dispute User Withdrawal Submitted Visa Network Event: details will be under the `user_withdrawal_submitted` object.
356
+ USER_WITHDRAWAL_SUBMITTED: :user_withdrawal_submitted
357
+
358
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::NetworkEvent::category]
359
+ end
360
+
361
+ type merchant_prearbitration_received =
362
+ {
363
+ cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CardholderNoLongerDisputes?,
364
+ compelling_evidence: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence?,
365
+ credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CreditOrReversalProcessed?,
366
+ delayed_charge_transaction: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::DelayedChargeTransaction?,
367
+ evidence_of_imprint: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::EvidenceOfImprint?,
368
+ invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute?,
369
+ non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::NonFiatCurrencyOrNonFungibleTokenReceived?,
370
+ prior_undisputed_non_fraud_transactions: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::PriorUndisputedNonFraudTransactions?,
371
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::reason
372
+ }
373
+
374
+ class MerchantPrearbitrationReceived < Increase::Internal::Type::BaseModel
375
+ attr_accessor cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CardholderNoLongerDisputes?
376
+
377
+ attr_accessor compelling_evidence: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence?
378
+
379
+ attr_accessor credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CreditOrReversalProcessed?
380
+
381
+ attr_accessor delayed_charge_transaction: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::DelayedChargeTransaction?
382
+
383
+ attr_accessor evidence_of_imprint: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::EvidenceOfImprint?
384
+
385
+ attr_accessor invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute?
386
+
387
+ attr_accessor non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::NonFiatCurrencyOrNonFungibleTokenReceived?
388
+
389
+ attr_accessor prior_undisputed_non_fraud_transactions: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::PriorUndisputedNonFraudTransactions?
390
+
391
+ attr_accessor reason: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::reason
392
+
393
+ def initialize: (
394
+ cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CardholderNoLongerDisputes?,
395
+ compelling_evidence: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence?,
396
+ credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CreditOrReversalProcessed?,
397
+ delayed_charge_transaction: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::DelayedChargeTransaction?,
398
+ evidence_of_imprint: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::EvidenceOfImprint?,
399
+ invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute?,
400
+ non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::NonFiatCurrencyOrNonFungibleTokenReceived?,
401
+ prior_undisputed_non_fraud_transactions: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::PriorUndisputedNonFraudTransactions?,
402
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::reason
403
+ ) -> void
404
+
405
+ def to_hash: -> {
406
+ cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CardholderNoLongerDisputes?,
407
+ compelling_evidence: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence?,
408
+ credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CreditOrReversalProcessed?,
409
+ delayed_charge_transaction: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::DelayedChargeTransaction?,
410
+ evidence_of_imprint: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::EvidenceOfImprint?,
411
+ invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute?,
412
+ non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::NonFiatCurrencyOrNonFungibleTokenReceived?,
413
+ prior_undisputed_non_fraud_transactions: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::PriorUndisputedNonFraudTransactions?,
414
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::reason
415
+ }
416
+
417
+ type cardholder_no_longer_disputes = { explanation: String? }
418
+
419
+ class CardholderNoLongerDisputes < Increase::Internal::Type::BaseModel
420
+ attr_accessor explanation: String?
421
+
422
+ def initialize: (explanation: String?) -> void
423
+
424
+ def to_hash: -> { explanation: String? }
425
+ end
426
+
427
+ type compelling_evidence =
428
+ {
429
+ category: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence::category,
430
+ explanation: String?
431
+ }
432
+
433
+ class CompellingEvidence < Increase::Internal::Type::BaseModel
434
+ attr_accessor category: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence::category
435
+
436
+ attr_accessor explanation: String?
437
+
438
+ def initialize: (
439
+ category: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence::category,
440
+ explanation: String?
441
+ ) -> void
442
+
443
+ def to_hash: -> {
444
+ category: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence::category,
445
+ explanation: String?
446
+ }
447
+
448
+ type category =
449
+ :authorized_signer
450
+ | :delivery
451
+ | :delivery_at_place_of_employment
452
+ | :digital_goods_download
453
+ | :dynamic_currency_conversion_actively_chosen
454
+ | :flight_manifest_and_purchase_itinerary
455
+ | :household_member_signer
456
+ | :legitimate_spend_across_payment_types_for_same_merchandise
457
+ | :merchandise_use
458
+ | :passenger_transport_ticket_use
459
+ | :recurring_transaction_with_binding_contract_or_previous_undisputed_transaction
460
+ | :signed_delivery_or_pickup_form
461
+ | :signed_mail_order_phone_order_form
462
+ | :travel_and_expense_loyalty_transaction
463
+ | :travel_and_expense_subsequent_purchase
464
+
465
+ module Category
466
+ extend Increase::Internal::Type::Enum
467
+
468
+ # Authorized signer known by the cardholder.
469
+ AUTHORIZED_SIGNER: :authorized_signer
470
+
471
+ # Proof of delivery.
472
+ DELIVERY: :delivery
473
+
474
+ # Proof of delivery to cardholder at place of employment.
475
+ DELIVERY_AT_PLACE_OF_EMPLOYMENT: :delivery_at_place_of_employment
476
+
477
+ # Proof of digital goods download.
478
+ DIGITAL_GOODS_DOWNLOAD: :digital_goods_download
479
+
480
+ # Dynamic Currency Conversion actively chosen by cardholder.
481
+ DYNAMIC_CURRENCY_CONVERSION_ACTIVELY_CHOSEN: :dynamic_currency_conversion_actively_chosen
482
+
483
+ # Flight manifest with corresponding purchase itinerary record.
484
+ FLIGHT_MANIFEST_AND_PURCHASE_ITINERARY: :flight_manifest_and_purchase_itinerary
485
+
486
+ # Signer is member of cardholder's household.
487
+ HOUSEHOLD_MEMBER_SIGNER: :household_member_signer
488
+
489
+ # Legitimate spend across multiple payment types for same merchandise.
490
+ LEGITIMATE_SPEND_ACROSS_PAYMENT_TYPES_FOR_SAME_MERCHANDISE: :legitimate_spend_across_payment_types_for_same_merchandise
491
+
492
+ # Documentation to prove the cardholder is in possession of and/or using the merchandise.
493
+ MERCHANDISE_USE: :merchandise_use
494
+
495
+ # Passenger transport: proof ticket was received, scanned at gate or other transaction related to original (for example, frequent flyer miles.)
496
+ PASSENGER_TRANSPORT_TICKET_USE: :passenger_transport_ticket_use
497
+
498
+ # Recurring transaction with binding contract or previous undisputed recurring transactions and proof the cardholder is using the merchandise or service.
499
+ RECURRING_TRANSACTION_WITH_BINDING_CONTRACT_OR_PREVIOUS_UNDISPUTED_TRANSACTION: :recurring_transaction_with_binding_contract_or_previous_undisputed_transaction
500
+
501
+ # Signed delivery form, or copy of/details of identification from cardholder as proof goods were picked up at merchant location.
502
+ SIGNED_DELIVERY_OR_PICKUP_FORM: :signed_delivery_or_pickup_form
503
+
504
+ # Signed Mail Order/Phone Order form.
505
+ SIGNED_MAIL_ORDER_PHONE_ORDER_FORM: :signed_mail_order_phone_order_form
506
+
507
+ # Travel & Expense: loyalty transactions related to purchase.
508
+ TRAVEL_AND_EXPENSE_LOYALTY_TRANSACTION: :travel_and_expense_loyalty_transaction
509
+
510
+ # Travel & Expense: subsequent purchases made throughout service period.
511
+ TRAVEL_AND_EXPENSE_SUBSEQUENT_PURCHASE: :travel_and_expense_subsequent_purchase
512
+
513
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CompellingEvidence::category]
514
+ end
515
+ end
516
+
517
+ type credit_or_reversal_processed =
518
+ {
519
+ amount: Integer,
520
+ currency: String,
521
+ explanation: String?,
522
+ processed_at: Date
523
+ }
524
+
525
+ class CreditOrReversalProcessed < Increase::Internal::Type::BaseModel
526
+ attr_accessor amount: Integer
527
+
528
+ attr_accessor currency: String
529
+
530
+ attr_accessor explanation: String?
531
+
532
+ attr_accessor processed_at: Date
533
+
534
+ def initialize: (
535
+ amount: Integer,
536
+ currency: String,
537
+ explanation: String?,
538
+ processed_at: Date
539
+ ) -> void
540
+
541
+ def to_hash: -> {
542
+ amount: Integer,
543
+ currency: String,
544
+ explanation: String?,
545
+ processed_at: Date
546
+ }
547
+ end
548
+
549
+ type delayed_charge_transaction = { explanation: String? }
550
+
551
+ class DelayedChargeTransaction < Increase::Internal::Type::BaseModel
552
+ attr_accessor explanation: String?
553
+
554
+ def initialize: (explanation: String?) -> void
555
+
556
+ def to_hash: -> { explanation: String? }
557
+ end
558
+
559
+ type evidence_of_imprint = { explanation: String? }
560
+
561
+ class EvidenceOfImprint < Increase::Internal::Type::BaseModel
562
+ attr_accessor explanation: String?
563
+
564
+ def initialize: (explanation: String?) -> void
565
+
566
+ def to_hash: -> { explanation: String? }
567
+ end
568
+
569
+ type invalid_dispute =
570
+ {
571
+ explanation: String?,
572
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute::reason
573
+ }
574
+
575
+ class InvalidDispute < Increase::Internal::Type::BaseModel
576
+ attr_accessor explanation: String?
577
+
578
+ attr_accessor reason: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute::reason
579
+
580
+ def initialize: (
581
+ explanation: String?,
582
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute::reason
583
+ ) -> void
584
+
585
+ def to_hash: -> {
586
+ explanation: String?,
587
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute::reason
588
+ }
589
+
590
+ type reason = :other | :special_authorization_procedures_followed
591
+
592
+ module Reason
593
+ extend Increase::Internal::Type::Enum
594
+
595
+ # Other.
596
+ OTHER: :other
597
+
598
+ # Special authorization procedures followed.
599
+ SPECIAL_AUTHORIZATION_PROCEDURES_FOLLOWED: :special_authorization_procedures_followed
600
+
601
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::InvalidDispute::reason]
602
+ end
603
+ end
604
+
605
+ type non_fiat_currency_or_non_fungible_token_received =
606
+ {
607
+ blockchain_transaction_hash: String,
608
+ destination_wallet_address: String,
609
+ prior_approved_transactions: String?
610
+ }
611
+
612
+ class NonFiatCurrencyOrNonFungibleTokenReceived < Increase::Internal::Type::BaseModel
613
+ attr_accessor blockchain_transaction_hash: String
614
+
615
+ attr_accessor destination_wallet_address: String
616
+
617
+ attr_accessor prior_approved_transactions: String?
618
+
619
+ def initialize: (
620
+ blockchain_transaction_hash: String,
621
+ destination_wallet_address: String,
622
+ prior_approved_transactions: String?
623
+ ) -> void
624
+
625
+ def to_hash: -> {
626
+ blockchain_transaction_hash: String,
627
+ destination_wallet_address: String,
628
+ prior_approved_transactions: String?
629
+ }
630
+ end
631
+
632
+ type prior_undisputed_non_fraud_transactions =
633
+ { explanation: String? }
634
+
635
+ class PriorUndisputedNonFraudTransactions < Increase::Internal::Type::BaseModel
636
+ attr_accessor explanation: String?
637
+
638
+ def initialize: (explanation: String?) -> void
639
+
640
+ def to_hash: -> { explanation: String? }
641
+ end
642
+
643
+ type reason =
644
+ :cardholder_no_longer_disputes
645
+ | :compelling_evidence
646
+ | :credit_or_reversal_processed
647
+ | :delayed_charge_transaction
648
+ | :evidence_of_imprint
649
+ | :invalid_dispute
650
+ | :non_fiat_currency_or_non_fungible_token_received
651
+ | :prior_undisputed_non_fraud_transactions
652
+
653
+ module Reason
654
+ extend Increase::Internal::Type::Enum
655
+
656
+ # Cardholder no longer disputes the transaction.
657
+ CARDHOLDER_NO_LONGER_DISPUTES: :cardholder_no_longer_disputes
658
+
659
+ # Compelling evidence.
660
+ COMPELLING_EVIDENCE: :compelling_evidence
661
+
662
+ # Credit or reversal was processed.
663
+ CREDIT_OR_REVERSAL_PROCESSED: :credit_or_reversal_processed
664
+
665
+ # Delayed charge transaction.
666
+ DELAYED_CHARGE_TRANSACTION: :delayed_charge_transaction
667
+
668
+ # Evidence of imprint.
669
+ EVIDENCE_OF_IMPRINT: :evidence_of_imprint
670
+
671
+ # Invalid dispute.
672
+ INVALID_DISPUTE: :invalid_dispute
673
+
674
+ # Non-fiat currency or non-fungible token was received by the cardholder.
675
+ NON_FIAT_CURRENCY_OR_NON_FUNGIBLE_TOKEN_RECEIVED: :non_fiat_currency_or_non_fungible_token_received
676
+
677
+ # Prior undisputed non-fraud transactions.
678
+ PRIOR_UNDISPUTED_NON_FRAUD_TRANSACTIONS: :prior_undisputed_non_fraud_transactions
679
+
680
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::reason]
681
+ end
682
+ end
683
+
684
+ type represented =
685
+ {
686
+ cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes?,
687
+ credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed?,
688
+ invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute?,
689
+ non_fiat_currency_or_non_fungible_token_as_described: top?,
690
+ non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived?,
691
+ proof_of_cash_disbursement: Increase::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement?,
692
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::reason,
693
+ reversal_issued: Increase::CardDispute::Visa::NetworkEvent::Represented::ReversalIssued?
694
+ }
695
+
696
+ class Represented < Increase::Internal::Type::BaseModel
697
+ attr_accessor cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes?
698
+
699
+ attr_accessor credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed?
700
+
701
+ attr_accessor invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute?
702
+
703
+ attr_accessor non_fiat_currency_or_non_fungible_token_as_described: top?
704
+
705
+ attr_accessor non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived?
706
+
707
+ attr_accessor proof_of_cash_disbursement: Increase::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement?
708
+
709
+ attr_accessor reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::reason
710
+
711
+ attr_accessor reversal_issued: Increase::CardDispute::Visa::NetworkEvent::Represented::ReversalIssued?
712
+
713
+ def initialize: (
714
+ cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes?,
715
+ credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed?,
716
+ invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute?,
717
+ non_fiat_currency_or_non_fungible_token_as_described: top?,
718
+ non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived?,
719
+ proof_of_cash_disbursement: Increase::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement?,
720
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::reason,
721
+ reversal_issued: Increase::CardDispute::Visa::NetworkEvent::Represented::ReversalIssued?
722
+ ) -> void
723
+
724
+ def to_hash: -> {
725
+ cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes?,
726
+ credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed?,
727
+ invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute?,
728
+ non_fiat_currency_or_non_fungible_token_as_described: top?,
729
+ non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived?,
730
+ proof_of_cash_disbursement: Increase::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement?,
731
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::reason,
732
+ reversal_issued: Increase::CardDispute::Visa::NetworkEvent::Represented::ReversalIssued?
733
+ }
734
+
735
+ type cardholder_no_longer_disputes = { explanation: String? }
736
+
737
+ class CardholderNoLongerDisputes < Increase::Internal::Type::BaseModel
738
+ attr_accessor explanation: String?
739
+
740
+ def initialize: (explanation: String?) -> void
741
+
742
+ def to_hash: -> { explanation: String? }
743
+ end
744
+
745
+ type credit_or_reversal_processed =
746
+ {
747
+ amount: Integer,
748
+ currency: String,
749
+ explanation: String?,
750
+ processed_at: Date
751
+ }
752
+
753
+ class CreditOrReversalProcessed < Increase::Internal::Type::BaseModel
754
+ attr_accessor amount: Integer
755
+
756
+ attr_accessor currency: String
757
+
758
+ attr_accessor explanation: String?
759
+
760
+ attr_accessor processed_at: Date
761
+
762
+ def initialize: (
763
+ amount: Integer,
764
+ currency: String,
765
+ explanation: String?,
766
+ processed_at: Date
767
+ ) -> void
768
+
769
+ def to_hash: -> {
770
+ amount: Integer,
771
+ currency: String,
772
+ explanation: String?,
773
+ processed_at: Date
774
+ }
775
+ end
776
+
777
+ type invalid_dispute =
778
+ {
779
+ explanation: String?,
780
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::reason
781
+ }
782
+
783
+ class InvalidDispute < Increase::Internal::Type::BaseModel
784
+ attr_accessor explanation: String?
785
+
786
+ attr_accessor reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::reason
787
+
788
+ def initialize: (
789
+ explanation: String?,
790
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::reason
791
+ ) -> void
792
+
793
+ def to_hash: -> {
794
+ explanation: String?,
795
+ reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::reason
796
+ }
797
+
798
+ type reason =
799
+ :automatic_teller_machine_transaction_proof_provided
800
+ | :balance_of_partial_prepayment_not_paid
801
+ | :cardholder_canceled_before_expected_merchandise_receipt_date
802
+ | :cardholder_canceled_before_expected_services_receipt_date
803
+ | :cardholder_canceled_different_date
804
+ | :cardholder_did_not_cancel_according_to_policy
805
+ | :cardholder_received_merchandise
806
+ | :country_code_correct
807
+ | :credit_processed_correctly
808
+ | :currency_correct
809
+ | :dispute_is_for_quality
810
+ | :dispute_is_for_visa_cash_back_transaction_portion
811
+ | :disputed_amount_is_value_added_tax
812
+ | :disputed_amount_is_value_added_tax_no_credit_receipt_provided
813
+ | :limited_return_or_cancellation_policy_properly_disclosed
814
+ | :merchandise_held_at_cardholder_customs_agency
815
+ | :merchandise_matches_description
816
+ | :merchandise_not_counterfeit
817
+ | :merchandise_not_damaged
818
+ | :merchandise_not_defective
819
+ | :merchandise_provided_prior_to_cancellation_date
820
+ | :merchandise_quality_matches_description
821
+ | :merchandise_return_not_attempted
822
+ | :merchant_not_notified_of_closed_account
823
+ | :name_on_flight_manifest_matches_purchase
824
+ | :no_credit_receipt_provided
825
+ | :other
826
+ | :processing_error_incorrect
827
+ | :returned_mechandise_held_at_customs_agency_outside_merchant_country
828
+ | :services_match_description
829
+ | :services_provided_prior_to_cancellation_date
830
+ | :services_used_after_cancellation_date
831
+ | :terms_of_service_not_misrepresented
832
+ | :transaction_code_correct
833
+
834
+ module Reason
835
+ extend Increase::Internal::Type::Enum
836
+
837
+ # Automatic Teller Machine (ATM) transaction proof provided.
838
+ AUTOMATIC_TELLER_MACHINE_TRANSACTION_PROOF_PROVIDED: :automatic_teller_machine_transaction_proof_provided
839
+
840
+ # Balance of partial prepayment not paid.
841
+ BALANCE_OF_PARTIAL_PREPAYMENT_NOT_PAID: :balance_of_partial_prepayment_not_paid
842
+
843
+ # Cardholder canceled before expected receipt date of the merchandise.
844
+ CARDHOLDER_CANCELED_BEFORE_EXPECTED_MERCHANDISE_RECEIPT_DATE: :cardholder_canceled_before_expected_merchandise_receipt_date
845
+
846
+ # Cardholder canceled before expected receipt date of the services.
847
+ CARDHOLDER_CANCELED_BEFORE_EXPECTED_SERVICES_RECEIPT_DATE: :cardholder_canceled_before_expected_services_receipt_date
848
+
849
+ # Cardholder canceled on a different date than claimed.
850
+ CARDHOLDER_CANCELED_DIFFERENT_DATE: :cardholder_canceled_different_date
851
+
852
+ # Cardholder received did not cancel according to policy.
853
+ CARDHOLDER_DID_NOT_CANCEL_ACCORDING_TO_POLICY: :cardholder_did_not_cancel_according_to_policy
854
+
855
+ # Cardholder received the merchandise.
856
+ CARDHOLDER_RECEIVED_MERCHANDISE: :cardholder_received_merchandise
857
+
858
+ # Country code is correct.
859
+ COUNTRY_CODE_CORRECT: :country_code_correct
860
+
861
+ # Credit was processed correctly.
862
+ CREDIT_PROCESSED_CORRECTLY: :credit_processed_correctly
863
+
864
+ # Currency is correct.
865
+ CURRENCY_CORRECT: :currency_correct
866
+
867
+ # Dispute is for quality.
868
+ DISPUTE_IS_FOR_QUALITY: :dispute_is_for_quality
869
+
870
+ # Dispute is for Visa Cash Back transaction portion.
871
+ DISPUTE_IS_FOR_VISA_CASH_BACK_TRANSACTION_PORTION: :dispute_is_for_visa_cash_back_transaction_portion
872
+
873
+ # Disputed amount is Value Added Tax (VAT).
874
+ DISPUTED_AMOUNT_IS_VALUE_ADDED_TAX: :disputed_amount_is_value_added_tax
875
+
876
+ # Disputed amount is Value Added Tax (VAT) but no credit receipt was provided by the cardholder.
877
+ DISPUTED_AMOUNT_IS_VALUE_ADDED_TAX_NO_CREDIT_RECEIPT_PROVIDED: :disputed_amount_is_value_added_tax_no_credit_receipt_provided
878
+
879
+ # Limited return or cancellation policy was properly disclosed.
880
+ LIMITED_RETURN_OR_CANCELLATION_POLICY_PROPERLY_DISCLOSED: :limited_return_or_cancellation_policy_properly_disclosed
881
+
882
+ # Merchandise held at cardholder customs agency.
883
+ MERCHANDISE_HELD_AT_CARDHOLDER_CUSTOMS_AGENCY: :merchandise_held_at_cardholder_customs_agency
884
+
885
+ # Merchandise matches the merchant's description.
886
+ MERCHANDISE_MATCHES_DESCRIPTION: :merchandise_matches_description
887
+
888
+ # Merchandise is not counterfeit.
889
+ MERCHANDISE_NOT_COUNTERFEIT: :merchandise_not_counterfeit
890
+
891
+ # Merchandise is not damaged.
892
+ MERCHANDISE_NOT_DAMAGED: :merchandise_not_damaged
893
+
894
+ # Merchandise is not defective.
895
+ MERCHANDISE_NOT_DEFECTIVE: :merchandise_not_defective
896
+
897
+ # Merchandise was provided prior to the cancellation date.
898
+ MERCHANDISE_PROVIDED_PRIOR_TO_CANCELLATION_DATE: :merchandise_provided_prior_to_cancellation_date
899
+
900
+ # Merchandise quality matches the merchant's description.
901
+ MERCHANDISE_QUALITY_MATCHES_DESCRIPTION: :merchandise_quality_matches_description
902
+
903
+ # Merchandise was not attempted returned to the merchant.
904
+ MERCHANDISE_RETURN_NOT_ATTEMPTED: :merchandise_return_not_attempted
905
+
906
+ # Merchant was not notified of the closed account.
907
+ MERCHANT_NOT_NOTIFIED_OF_CLOSED_ACCOUNT: :merchant_not_notified_of_closed_account
908
+
909
+ # Name on manifest of departed flight matches name on purchased itinerary.
910
+ NAME_ON_FLIGHT_MANIFEST_MATCHES_PURCHASE: :name_on_flight_manifest_matches_purchase
911
+
912
+ # No credit receipt was provided by the cardholder.
913
+ NO_CREDIT_RECEIPT_PROVIDED: :no_credit_receipt_provided
914
+
915
+ # Other.
916
+ OTHER: :other
917
+
918
+ # The claimed processing error did not occur.
919
+ PROCESSING_ERROR_INCORRECT: :processing_error_incorrect
920
+
921
+ # Returned merchandise held at customs agency outside the merchant's country.
922
+ RETURNED_MECHANDISE_HELD_AT_CUSTOMS_AGENCY_OUTSIDE_MERCHANT_COUNTRY: :returned_mechandise_held_at_customs_agency_outside_merchant_country
923
+
924
+ # Services match the merchant's description.
925
+ SERVICES_MATCH_DESCRIPTION: :services_match_description
926
+
927
+ # Services were provided prior to the cancellation date.
928
+ SERVICES_PROVIDED_PRIOR_TO_CANCELLATION_DATE: :services_provided_prior_to_cancellation_date
929
+
930
+ # Services were used after the cancellation date and prior to the dispute submission date.
931
+ SERVICES_USED_AFTER_CANCELLATION_DATE: :services_used_after_cancellation_date
932
+
933
+ # Terms of service were not misrepresented.
934
+ TERMS_OF_SERVICE_NOT_MISREPRESENTED: :terms_of_service_not_misrepresented
935
+
936
+ # Transaction code is correct.
937
+ TRANSACTION_CODE_CORRECT: :transaction_code_correct
938
+
939
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::reason]
940
+ end
941
+ end
942
+
943
+ type non_fiat_currency_or_non_fungible_token_received =
944
+ {
945
+ blockchain_transaction_hash: String,
946
+ destination_wallet_address: String,
947
+ prior_approved_transactions: String?
948
+ }
949
+
950
+ class NonFiatCurrencyOrNonFungibleTokenReceived < Increase::Internal::Type::BaseModel
951
+ attr_accessor blockchain_transaction_hash: String
952
+
953
+ attr_accessor destination_wallet_address: String
954
+
955
+ attr_accessor prior_approved_transactions: String?
956
+
957
+ def initialize: (
958
+ blockchain_transaction_hash: String,
959
+ destination_wallet_address: String,
960
+ prior_approved_transactions: String?
961
+ ) -> void
962
+
963
+ def to_hash: -> {
964
+ blockchain_transaction_hash: String,
965
+ destination_wallet_address: String,
966
+ prior_approved_transactions: String?
967
+ }
968
+ end
969
+
970
+ type proof_of_cash_disbursement = { explanation: String? }
971
+
972
+ class ProofOfCashDisbursement < Increase::Internal::Type::BaseModel
973
+ attr_accessor explanation: String?
974
+
975
+ def initialize: (explanation: String?) -> void
976
+
977
+ def to_hash: -> { explanation: String? }
978
+ end
979
+
980
+ type reason =
981
+ :cardholder_no_longer_disputes
982
+ | :credit_or_reversal_processed
983
+ | :invalid_dispute
984
+ | :non_fiat_currency_or_non_fungible_token_as_described
985
+ | :non_fiat_currency_or_non_fungible_token_received
986
+ | :proof_of_cash_disbursement
987
+ | :reversal_issued
988
+
989
+ module Reason
990
+ extend Increase::Internal::Type::Enum
991
+
992
+ # Cardholder no longer disputes the transaction.
993
+ CARDHOLDER_NO_LONGER_DISPUTES: :cardholder_no_longer_disputes
994
+
995
+ # Credit or reversal was processed.
996
+ CREDIT_OR_REVERSAL_PROCESSED: :credit_or_reversal_processed
997
+
998
+ # Invalid dispute.
999
+ INVALID_DISPUTE: :invalid_dispute
1000
+
1001
+ # Non-fiat currency or non-fungible token is as described by the merchant.
1002
+ NON_FIAT_CURRENCY_OR_NON_FUNGIBLE_TOKEN_AS_DESCRIBED: :non_fiat_currency_or_non_fungible_token_as_described
1003
+
1004
+ # Non-fiat currency or non-fungible token was received by the cardholder.
1005
+ NON_FIAT_CURRENCY_OR_NON_FUNGIBLE_TOKEN_RECEIVED: :non_fiat_currency_or_non_fungible_token_received
1006
+
1007
+ # Proof of cash disbursement provided.
1008
+ PROOF_OF_CASH_DISBURSEMENT: :proof_of_cash_disbursement
1009
+
1010
+ # Reversal issued by merchant.
1011
+ REVERSAL_ISSUED: :reversal_issued
1012
+
1013
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::NetworkEvent::Represented::reason]
1014
+ end
1015
+
1016
+ type reversal_issued = { explanation: String? }
1017
+
1018
+ class ReversalIssued < Increase::Internal::Type::BaseModel
1019
+ attr_accessor explanation: String?
1020
+
1021
+ def initialize: (explanation: String?) -> void
1022
+
1023
+ def to_hash: -> { explanation: String? }
1024
+ end
1025
+ end
1026
+ end
1027
+
1028
+ type required_user_submission_category =
1029
+ :chargeback | :merchant_prearbitration_decline | :user_prearbitration
1030
+
1031
+ module RequiredUserSubmissionCategory
1032
+ extend Increase::Internal::Type::Enum
1033
+
1034
+ # A Chargeback User Submission is required.
1035
+ CHARGEBACK: :chargeback
1036
+
1037
+ # A Merchant Pre Arbitration Decline User Submission is required.
1038
+ MERCHANT_PREARBITRATION_DECLINE: :merchant_prearbitration_decline
1039
+
1040
+ # A User Initiated Pre Arbitration User Submission is required.
1041
+ USER_PREARBITRATION: :user_prearbitration
1042
+
1043
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::required_user_submission_category]
1044
+ end
1045
+
1046
+ type user_submission =
1047
+ {
1048
+ accepted_at: Time?,
1049
+ amount: Integer?,
1050
+ attachment_files: ::Array[Increase::CardDispute::Visa::UserSubmission::AttachmentFile],
1051
+ category: Increase::Models::CardDispute::Visa::UserSubmission::category,
1052
+ chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1053
+ created_at: Time,
1054
+ further_information_requested_at: Time?,
1055
+ further_information_requested_reason: String?,
1056
+ merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1057
+ status: Increase::Models::CardDispute::Visa::UserSubmission::status,
1058
+ updated_at: Time,
1059
+ user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1060
+ }
1061
+
1062
+ class UserSubmission < Increase::Internal::Type::BaseModel
1063
+ attr_accessor accepted_at: Time?
1064
+
1065
+ attr_accessor amount: Integer?
1066
+
1067
+ attr_accessor attachment_files: ::Array[Increase::CardDispute::Visa::UserSubmission::AttachmentFile]
1068
+
1069
+ attr_accessor category: Increase::Models::CardDispute::Visa::UserSubmission::category
1070
+
1071
+ attr_accessor chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?
1072
+
1073
+ attr_accessor created_at: Time
1074
+
1075
+ attr_accessor further_information_requested_at: Time?
1076
+
1077
+ attr_accessor further_information_requested_reason: String?
1078
+
1079
+ attr_accessor merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?
1080
+
1081
+ attr_accessor status: Increase::Models::CardDispute::Visa::UserSubmission::status
1082
+
1083
+ attr_accessor updated_at: Time
1084
+
1085
+ attr_accessor user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1086
+
1087
+ def initialize: (
1088
+ accepted_at: Time?,
1089
+ amount: Integer?,
1090
+ attachment_files: ::Array[Increase::CardDispute::Visa::UserSubmission::AttachmentFile],
1091
+ category: Increase::Models::CardDispute::Visa::UserSubmission::category,
1092
+ chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1093
+ created_at: Time,
1094
+ further_information_requested_at: Time?,
1095
+ further_information_requested_reason: String?,
1096
+ merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1097
+ status: Increase::Models::CardDispute::Visa::UserSubmission::status,
1098
+ updated_at: Time,
1099
+ user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1100
+ ) -> void
1101
+
1102
+ def to_hash: -> {
1103
+ accepted_at: Time?,
1104
+ amount: Integer?,
1105
+ attachment_files: ::Array[Increase::CardDispute::Visa::UserSubmission::AttachmentFile],
1106
+ category: Increase::Models::CardDispute::Visa::UserSubmission::category,
1107
+ chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1108
+ created_at: Time,
1109
+ further_information_requested_at: Time?,
1110
+ further_information_requested_reason: String?,
1111
+ merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1112
+ status: Increase::Models::CardDispute::Visa::UserSubmission::status,
1113
+ updated_at: Time,
1114
+ user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1115
+ }
1116
+
1117
+ type attachment_file = { file_id: String }
1118
+
1119
+ class AttachmentFile < Increase::Internal::Type::BaseModel
1120
+ attr_accessor file_id: String
1121
+
1122
+ def initialize: (file_id: String) -> void
1123
+
1124
+ def to_hash: -> { file_id: String }
1125
+ end
1126
+
1127
+ type category =
1128
+ :chargeback
1129
+ | :merchant_prearbitration_decline
1130
+ | :user_prearbitration
1131
+
1132
+ module Category
1133
+ extend Increase::Internal::Type::Enum
1134
+
1135
+ # Visa Card Dispute Chargeback User Submission Chargeback Details: details will be under the `chargeback` object.
1136
+ CHARGEBACK: :chargeback
1137
+
1138
+ # Visa Card Dispute Merchant Pre-Arbitration Decline User Submission: details will be under the `merchant_prearbitration_decline` object.
1139
+ MERCHANT_PREARBITRATION_DECLINE: :merchant_prearbitration_decline
1140
+
1141
+ # Visa Card Dispute User-Initiated Pre-Arbitration User Submission: details will be under the `user_prearbitration` object.
1142
+ USER_PREARBITRATION: :user_prearbitration
1143
+
1144
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::category]
1145
+ end
1146
+
1147
+ type chargeback =
1148
+ {
1149
+ authorization: Increase::CardDispute::Visa::UserSubmission::Chargeback::Authorization?,
1150
+ category: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::category,
1151
+ consumer_canceled_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise?,
1152
+ consumer_canceled_recurring_transaction: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction?,
1153
+ consumer_canceled_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices?,
1154
+ consumer_counterfeit_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCounterfeitMerchandise?,
1155
+ consumer_credit_not_processed: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCreditNotProcessed?,
1156
+ consumer_damaged_or_defective_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise?,
1157
+ consumer_merchandise_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation?,
1158
+ consumer_merchandise_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed?,
1159
+ consumer_merchandise_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived?,
1160
+ consumer_non_receipt_of_cash: top?,
1161
+ consumer_original_credit_transaction_not_accepted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted?,
1162
+ consumer_quality_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise?,
1163
+ consumer_quality_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices?,
1164
+ consumer_services_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation?,
1165
+ consumer_services_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed?,
1166
+ consumer_services_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived?,
1167
+ fraud: Increase::CardDispute::Visa::UserSubmission::Chargeback::Fraud?,
1168
+ processing_error: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError?
1169
+ }
1170
+
1171
+ class Chargeback < Increase::Internal::Type::BaseModel
1172
+ attr_accessor authorization: Increase::CardDispute::Visa::UserSubmission::Chargeback::Authorization?
1173
+
1174
+ attr_accessor category: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::category
1175
+
1176
+ attr_accessor consumer_canceled_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise?
1177
+
1178
+ attr_accessor consumer_canceled_recurring_transaction: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction?
1179
+
1180
+ attr_accessor consumer_canceled_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices?
1181
+
1182
+ attr_accessor consumer_counterfeit_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCounterfeitMerchandise?
1183
+
1184
+ attr_accessor consumer_credit_not_processed: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCreditNotProcessed?
1185
+
1186
+ attr_accessor consumer_damaged_or_defective_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise?
1187
+
1188
+ attr_accessor consumer_merchandise_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation?
1189
+
1190
+ attr_accessor consumer_merchandise_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed?
1191
+
1192
+ attr_accessor consumer_merchandise_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived?
1193
+
1194
+ attr_accessor consumer_non_receipt_of_cash: top?
1195
+
1196
+ attr_accessor consumer_original_credit_transaction_not_accepted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted?
1197
+
1198
+ attr_accessor consumer_quality_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise?
1199
+
1200
+ attr_accessor consumer_quality_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices?
1201
+
1202
+ attr_accessor consumer_services_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation?
1203
+
1204
+ attr_accessor consumer_services_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed?
1205
+
1206
+ attr_accessor consumer_services_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived?
1207
+
1208
+ attr_accessor fraud: Increase::CardDispute::Visa::UserSubmission::Chargeback::Fraud?
1209
+
1210
+ attr_accessor processing_error: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError?
1211
+
1212
+ def initialize: (
1213
+ authorization: Increase::CardDispute::Visa::UserSubmission::Chargeback::Authorization?,
1214
+ category: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::category,
1215
+ consumer_canceled_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise?,
1216
+ consumer_canceled_recurring_transaction: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction?,
1217
+ consumer_canceled_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices?,
1218
+ consumer_counterfeit_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCounterfeitMerchandise?,
1219
+ consumer_credit_not_processed: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCreditNotProcessed?,
1220
+ consumer_damaged_or_defective_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise?,
1221
+ consumer_merchandise_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation?,
1222
+ consumer_merchandise_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed?,
1223
+ consumer_merchandise_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived?,
1224
+ consumer_non_receipt_of_cash: top?,
1225
+ consumer_original_credit_transaction_not_accepted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted?,
1226
+ consumer_quality_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise?,
1227
+ consumer_quality_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices?,
1228
+ consumer_services_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation?,
1229
+ consumer_services_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed?,
1230
+ consumer_services_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived?,
1231
+ fraud: Increase::CardDispute::Visa::UserSubmission::Chargeback::Fraud?,
1232
+ processing_error: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError?
1233
+ ) -> void
1234
+
1235
+ def to_hash: -> {
1236
+ authorization: Increase::CardDispute::Visa::UserSubmission::Chargeback::Authorization?,
1237
+ category: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::category,
1238
+ consumer_canceled_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise?,
1239
+ consumer_canceled_recurring_transaction: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction?,
1240
+ consumer_canceled_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices?,
1241
+ consumer_counterfeit_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCounterfeitMerchandise?,
1242
+ consumer_credit_not_processed: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCreditNotProcessed?,
1243
+ consumer_damaged_or_defective_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise?,
1244
+ consumer_merchandise_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation?,
1245
+ consumer_merchandise_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed?,
1246
+ consumer_merchandise_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived?,
1247
+ consumer_non_receipt_of_cash: top?,
1248
+ consumer_original_credit_transaction_not_accepted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted?,
1249
+ consumer_quality_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise?,
1250
+ consumer_quality_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices?,
1251
+ consumer_services_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation?,
1252
+ consumer_services_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed?,
1253
+ consumer_services_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived?,
1254
+ fraud: Increase::CardDispute::Visa::UserSubmission::Chargeback::Fraud?,
1255
+ processing_error: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError?
1256
+ }
1257
+
1258
+ type authorization =
1259
+ {
1260
+ account_status: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Authorization::account_status
1261
+ }
1262
+
1263
+ class Authorization < Increase::Internal::Type::BaseModel
1264
+ attr_accessor account_status: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Authorization::account_status
1265
+
1266
+ def initialize: (
1267
+ account_status: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Authorization::account_status
1268
+ ) -> void
1269
+
1270
+ def to_hash: -> {
1271
+ account_status: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Authorization::account_status
1272
+ }
1273
+
1274
+ type account_status = :account_closed | :credit_problem | :fraud
1275
+
1276
+ module AccountStatus
1277
+ extend Increase::Internal::Type::Enum
1278
+
1279
+ # Account closed.
1280
+ ACCOUNT_CLOSED: :account_closed
1281
+
1282
+ # Credit problem.
1283
+ CREDIT_PROBLEM: :credit_problem
1284
+
1285
+ # Fraud.
1286
+ FRAUD: :fraud
1287
+
1288
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Authorization::account_status]
1289
+ end
1290
+ end
1291
+
1292
+ type category =
1293
+ :authorization
1294
+ | :consumer_canceled_merchandise
1295
+ | :consumer_canceled_recurring_transaction
1296
+ | :consumer_canceled_services
1297
+ | :consumer_counterfeit_merchandise
1298
+ | :consumer_credit_not_processed
1299
+ | :consumer_damaged_or_defective_merchandise
1300
+ | :consumer_merchandise_misrepresentation
1301
+ | :consumer_merchandise_not_as_described
1302
+ | :consumer_merchandise_not_received
1303
+ | :consumer_non_receipt_of_cash
1304
+ | :consumer_original_credit_transaction_not_accepted
1305
+ | :consumer_quality_merchandise
1306
+ | :consumer_quality_services
1307
+ | :consumer_services_misrepresentation
1308
+ | :consumer_services_not_as_described
1309
+ | :consumer_services_not_received
1310
+ | :fraud
1311
+ | :processing_error
1312
+
1313
+ module Category
1314
+ extend Increase::Internal::Type::Enum
1315
+
1316
+ # Authorization.
1317
+ AUTHORIZATION: :authorization
1318
+
1319
+ # Consumer: canceled merchandise.
1320
+ CONSUMER_CANCELED_MERCHANDISE: :consumer_canceled_merchandise
1321
+
1322
+ # Consumer: canceled recurring transaction.
1323
+ CONSUMER_CANCELED_RECURRING_TRANSACTION: :consumer_canceled_recurring_transaction
1324
+
1325
+ # Consumer: canceled services.
1326
+ CONSUMER_CANCELED_SERVICES: :consumer_canceled_services
1327
+
1328
+ # Consumer: counterfeit merchandise.
1329
+ CONSUMER_COUNTERFEIT_MERCHANDISE: :consumer_counterfeit_merchandise
1330
+
1331
+ # Consumer: credit not processed.
1332
+ CONSUMER_CREDIT_NOT_PROCESSED: :consumer_credit_not_processed
1333
+
1334
+ # Consumer: damaged or defective merchandise.
1335
+ CONSUMER_DAMAGED_OR_DEFECTIVE_MERCHANDISE: :consumer_damaged_or_defective_merchandise
1336
+
1337
+ # Consumer: merchandise misrepresentation.
1338
+ CONSUMER_MERCHANDISE_MISREPRESENTATION: :consumer_merchandise_misrepresentation
1339
+
1340
+ # Consumer: merchandise not as described.
1341
+ CONSUMER_MERCHANDISE_NOT_AS_DESCRIBED: :consumer_merchandise_not_as_described
1342
+
1343
+ # Consumer: merchandise not received.
1344
+ CONSUMER_MERCHANDISE_NOT_RECEIVED: :consumer_merchandise_not_received
1345
+
1346
+ # Consumer: non-receipt of cash.
1347
+ CONSUMER_NON_RECEIPT_OF_CASH: :consumer_non_receipt_of_cash
1348
+
1349
+ # Consumer: Original Credit Transaction (OCT) not accepted.
1350
+ CONSUMER_ORIGINAL_CREDIT_TRANSACTION_NOT_ACCEPTED: :consumer_original_credit_transaction_not_accepted
1351
+
1352
+ # Consumer: merchandise quality issue.
1353
+ CONSUMER_QUALITY_MERCHANDISE: :consumer_quality_merchandise
1354
+
1355
+ # Consumer: services quality issue.
1356
+ CONSUMER_QUALITY_SERVICES: :consumer_quality_services
1357
+
1358
+ # Consumer: services misrepresentation.
1359
+ CONSUMER_SERVICES_MISREPRESENTATION: :consumer_services_misrepresentation
1360
+
1361
+ # Consumer: services not as described.
1362
+ CONSUMER_SERVICES_NOT_AS_DESCRIBED: :consumer_services_not_as_described
1363
+
1364
+ # Consumer: services not received.
1365
+ CONSUMER_SERVICES_NOT_RECEIVED: :consumer_services_not_received
1366
+
1367
+ # Fraud.
1368
+ FRAUD: :fraud
1369
+
1370
+ # Processing error.
1371
+ PROCESSING_ERROR: :processing_error
1372
+
1373
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::category]
1374
+ end
1375
+
1376
+ type consumer_canceled_merchandise =
1377
+ {
1378
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation?,
1379
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted,
1380
+ not_returned: top?,
1381
+ purchase_explanation: String,
1382
+ received_or_expected_at: Date,
1383
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted?,
1384
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::return_outcome,
1385
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned?
1386
+ }
1387
+
1388
+ class ConsumerCanceledMerchandise < Increase::Internal::Type::BaseModel
1389
+ attr_accessor cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation?
1390
+
1391
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted
1392
+
1393
+ attr_accessor not_returned: top?
1394
+
1395
+ attr_accessor purchase_explanation: String
1396
+
1397
+ attr_accessor received_or_expected_at: Date
1398
+
1399
+ attr_accessor return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted?
1400
+
1401
+ attr_accessor return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::return_outcome
1402
+
1403
+ attr_accessor returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned?
1404
+
1405
+ def initialize: (
1406
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation?,
1407
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted,
1408
+ not_returned: top?,
1409
+ purchase_explanation: String,
1410
+ received_or_expected_at: Date,
1411
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted?,
1412
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::return_outcome,
1413
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned?
1414
+ ) -> void
1415
+
1416
+ def to_hash: -> {
1417
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation?,
1418
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted,
1419
+ not_returned: top?,
1420
+ purchase_explanation: String,
1421
+ received_or_expected_at: Date,
1422
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted?,
1423
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::return_outcome,
1424
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned?
1425
+ }
1426
+
1427
+ type cardholder_cancellation =
1428
+ {
1429
+ canceled_at: Date,
1430
+ canceled_prior_to_ship_date: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date,
1431
+ cancellation_policy_provided: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided,
1432
+ reason: String
1433
+ }
1434
+
1435
+ class CardholderCancellation < Increase::Internal::Type::BaseModel
1436
+ attr_accessor canceled_at: Date
1437
+
1438
+ attr_accessor canceled_prior_to_ship_date: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date
1439
+
1440
+ attr_accessor cancellation_policy_provided: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided
1441
+
1442
+ attr_accessor reason: String
1443
+
1444
+ def initialize: (
1445
+ canceled_at: Date,
1446
+ canceled_prior_to_ship_date: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date,
1447
+ cancellation_policy_provided: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided,
1448
+ reason: String
1449
+ ) -> void
1450
+
1451
+ def to_hash: -> {
1452
+ canceled_at: Date,
1453
+ canceled_prior_to_ship_date: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date,
1454
+ cancellation_policy_provided: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided,
1455
+ reason: String
1456
+ }
1457
+
1458
+ type canceled_prior_to_ship_date =
1459
+ :canceled_prior_to_ship_date
1460
+ | :not_canceled_prior_to_ship_date
1461
+
1462
+ module CanceledPriorToShipDate
1463
+ extend Increase::Internal::Type::Enum
1464
+
1465
+ # Canceled prior to ship date.
1466
+ CANCELED_PRIOR_TO_SHIP_DATE: :canceled_prior_to_ship_date
1467
+
1468
+ # Not canceled prior to ship date.
1469
+ NOT_CANCELED_PRIOR_TO_SHIP_DATE: :not_canceled_prior_to_ship_date
1470
+
1471
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date]
1472
+ end
1473
+
1474
+ type cancellation_policy_provided = :not_provided | :provided
1475
+
1476
+ module CancellationPolicyProvided
1477
+ extend Increase::Internal::Type::Enum
1478
+
1479
+ # Not provided.
1480
+ NOT_PROVIDED: :not_provided
1481
+
1482
+ # Provided.
1483
+ PROVIDED: :provided
1484
+
1485
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided]
1486
+ end
1487
+ end
1488
+
1489
+ type merchant_resolution_attempted =
1490
+ :attempted | :prohibited_by_local_law
1491
+
1492
+ module MerchantResolutionAttempted
1493
+ extend Increase::Internal::Type::Enum
1494
+
1495
+ # Attempted.
1496
+ ATTEMPTED: :attempted
1497
+
1498
+ # Prohibited by local law.
1499
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
1500
+
1501
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted]
1502
+ end
1503
+
1504
+ type return_attempted =
1505
+ {
1506
+ attempt_explanation: String,
1507
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason,
1508
+ attempted_at: Date,
1509
+ merchandise_disposition: String
1510
+ }
1511
+
1512
+ class ReturnAttempted < Increase::Internal::Type::BaseModel
1513
+ attr_accessor attempt_explanation: String
1514
+
1515
+ attr_accessor attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason
1516
+
1517
+ attr_accessor attempted_at: Date
1518
+
1519
+ attr_accessor merchandise_disposition: String
1520
+
1521
+ def initialize: (
1522
+ attempt_explanation: String,
1523
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason,
1524
+ attempted_at: Date,
1525
+ merchandise_disposition: String
1526
+ ) -> void
1527
+
1528
+ def to_hash: -> {
1529
+ attempt_explanation: String,
1530
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason,
1531
+ attempted_at: Date,
1532
+ merchandise_disposition: String
1533
+ }
1534
+
1535
+ type attempt_reason =
1536
+ :merchant_not_responding
1537
+ | :no_return_authorization_provided
1538
+ | :no_return_instructions
1539
+ | :requested_not_to_return
1540
+ | :return_not_accepted
1541
+
1542
+ module AttemptReason
1543
+ extend Increase::Internal::Type::Enum
1544
+
1545
+ # Merchant not responding.
1546
+ MERCHANT_NOT_RESPONDING: :merchant_not_responding
1547
+
1548
+ # No return authorization provided.
1549
+ NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
1550
+
1551
+ # No return instructions.
1552
+ NO_RETURN_INSTRUCTIONS: :no_return_instructions
1553
+
1554
+ # Requested not to return.
1555
+ REQUESTED_NOT_TO_RETURN: :requested_not_to_return
1556
+
1557
+ # Return not accepted.
1558
+ RETURN_NOT_ACCEPTED: :return_not_accepted
1559
+
1560
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason]
1561
+ end
1562
+ end
1563
+
1564
+ type return_outcome =
1565
+ :not_returned | :returned | :return_attempted
1566
+
1567
+ module ReturnOutcome
1568
+ extend Increase::Internal::Type::Enum
1569
+
1570
+ # Not returned.
1571
+ NOT_RETURNED: :not_returned
1572
+
1573
+ # Returned.
1574
+ RETURNED: :returned
1575
+
1576
+ # Return attempted.
1577
+ RETURN_ATTEMPTED: :return_attempted
1578
+
1579
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::return_outcome]
1580
+ end
1581
+
1582
+ type returned =
1583
+ {
1584
+ merchant_received_return_at: Date?,
1585
+ other_explanation: String?,
1586
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned::return_method,
1587
+ returned_at: Date,
1588
+ tracking_number: String?
1589
+ }
1590
+
1591
+ class Returned < Increase::Internal::Type::BaseModel
1592
+ attr_accessor merchant_received_return_at: Date?
1593
+
1594
+ attr_accessor other_explanation: String?
1595
+
1596
+ attr_accessor return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned::return_method
1597
+
1598
+ attr_accessor returned_at: Date
1599
+
1600
+ attr_accessor tracking_number: String?
1601
+
1602
+ def initialize: (
1603
+ merchant_received_return_at: Date?,
1604
+ other_explanation: String?,
1605
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned::return_method,
1606
+ returned_at: Date,
1607
+ tracking_number: String?
1608
+ ) -> void
1609
+
1610
+ def to_hash: -> {
1611
+ merchant_received_return_at: Date?,
1612
+ other_explanation: String?,
1613
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned::return_method,
1614
+ returned_at: Date,
1615
+ tracking_number: String?
1616
+ }
1617
+
1618
+ type return_method =
1619
+ :dhl
1620
+ | :face_to_face
1621
+ | :fedex
1622
+ | :other
1623
+ | :postal_service
1624
+ | :ups
1625
+
1626
+ module ReturnMethod
1627
+ extend Increase::Internal::Type::Enum
1628
+
1629
+ # DHL.
1630
+ DHL: :dhl
1631
+
1632
+ # Face-to-face.
1633
+ FACE_TO_FACE: :face_to_face
1634
+
1635
+ # FedEx.
1636
+ FEDEX: :fedex
1637
+
1638
+ # Other.
1639
+ OTHER: :other
1640
+
1641
+ # Postal service.
1642
+ POSTAL_SERVICE: :postal_service
1643
+
1644
+ # UPS.
1645
+ UPS: :ups
1646
+
1647
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::Returned::return_method]
1648
+ end
1649
+ end
1650
+ end
1651
+
1652
+ type consumer_canceled_recurring_transaction =
1653
+ {
1654
+ cancellation_target: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::cancellation_target,
1655
+ merchant_contact_methods: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::MerchantContactMethods,
1656
+ other_form_of_payment_explanation: String?,
1657
+ transaction_or_account_canceled_at: Date
1658
+ }
1659
+
1660
+ class ConsumerCanceledRecurringTransaction < Increase::Internal::Type::BaseModel
1661
+ attr_accessor cancellation_target: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::cancellation_target
1662
+
1663
+ attr_accessor merchant_contact_methods: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::MerchantContactMethods
1664
+
1665
+ attr_accessor other_form_of_payment_explanation: String?
1666
+
1667
+ attr_accessor transaction_or_account_canceled_at: Date
1668
+
1669
+ def initialize: (
1670
+ cancellation_target: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::cancellation_target,
1671
+ merchant_contact_methods: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::MerchantContactMethods,
1672
+ other_form_of_payment_explanation: String?,
1673
+ transaction_or_account_canceled_at: Date
1674
+ ) -> void
1675
+
1676
+ def to_hash: -> {
1677
+ cancellation_target: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::cancellation_target,
1678
+ merchant_contact_methods: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::MerchantContactMethods,
1679
+ other_form_of_payment_explanation: String?,
1680
+ transaction_or_account_canceled_at: Date
1681
+ }
1682
+
1683
+ type cancellation_target = :account | :transaction
1684
+
1685
+ module CancellationTarget
1686
+ extend Increase::Internal::Type::Enum
1687
+
1688
+ # Account.
1689
+ ACCOUNT: :account
1690
+
1691
+ # Transaction.
1692
+ TRANSACTION: :transaction
1693
+
1694
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledRecurringTransaction::cancellation_target]
1695
+ end
1696
+
1697
+ type merchant_contact_methods =
1698
+ {
1699
+ application_name: String?,
1700
+ call_center_phone_number: String?,
1701
+ email_address: String?,
1702
+ in_person_address: String?,
1703
+ mailing_address: String?,
1704
+ text_phone_number: String?
1705
+ }
1706
+
1707
+ class MerchantContactMethods < Increase::Internal::Type::BaseModel
1708
+ attr_accessor application_name: String?
1709
+
1710
+ attr_accessor call_center_phone_number: String?
1711
+
1712
+ attr_accessor email_address: String?
1713
+
1714
+ attr_accessor in_person_address: String?
1715
+
1716
+ attr_accessor mailing_address: String?
1717
+
1718
+ attr_accessor text_phone_number: String?
1719
+
1720
+ def initialize: (
1721
+ application_name: String?,
1722
+ call_center_phone_number: String?,
1723
+ email_address: String?,
1724
+ in_person_address: String?,
1725
+ mailing_address: String?,
1726
+ text_phone_number: String?
1727
+ ) -> void
1728
+
1729
+ def to_hash: -> {
1730
+ application_name: String?,
1731
+ call_center_phone_number: String?,
1732
+ email_address: String?,
1733
+ in_person_address: String?,
1734
+ mailing_address: String?,
1735
+ text_phone_number: String?
1736
+ }
1737
+ end
1738
+ end
1739
+
1740
+ type consumer_canceled_services =
1741
+ {
1742
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation,
1743
+ contracted_at: Date,
1744
+ guaranteed_reservation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation?,
1745
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted,
1746
+ other: top?,
1747
+ purchase_explanation: String,
1748
+ service_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type,
1749
+ timeshare: top?
1750
+ }
1751
+
1752
+ class ConsumerCanceledServices < Increase::Internal::Type::BaseModel
1753
+ attr_accessor cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation
1754
+
1755
+ attr_accessor contracted_at: Date
1756
+
1757
+ attr_accessor guaranteed_reservation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation?
1758
+
1759
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted
1760
+
1761
+ attr_accessor other: top?
1762
+
1763
+ attr_accessor purchase_explanation: String
1764
+
1765
+ attr_accessor service_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type
1766
+
1767
+ attr_accessor timeshare: top?
1768
+
1769
+ def initialize: (
1770
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation,
1771
+ contracted_at: Date,
1772
+ guaranteed_reservation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation?,
1773
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted,
1774
+ other: top?,
1775
+ purchase_explanation: String,
1776
+ service_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type,
1777
+ timeshare: top?
1778
+ ) -> void
1779
+
1780
+ def to_hash: -> {
1781
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation,
1782
+ contracted_at: Date,
1783
+ guaranteed_reservation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation?,
1784
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted,
1785
+ other: top?,
1786
+ purchase_explanation: String,
1787
+ service_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type,
1788
+ timeshare: top?
1789
+ }
1790
+
1791
+ type cardholder_cancellation =
1792
+ {
1793
+ canceled_at: Date,
1794
+ cancellation_policy_provided: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided,
1795
+ reason: String
1796
+ }
1797
+
1798
+ class CardholderCancellation < Increase::Internal::Type::BaseModel
1799
+ attr_accessor canceled_at: Date
1800
+
1801
+ attr_accessor cancellation_policy_provided: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided
1802
+
1803
+ attr_accessor reason: String
1804
+
1805
+ def initialize: (
1806
+ canceled_at: Date,
1807
+ cancellation_policy_provided: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided,
1808
+ reason: String
1809
+ ) -> void
1810
+
1811
+ def to_hash: -> {
1812
+ canceled_at: Date,
1813
+ cancellation_policy_provided: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided,
1814
+ reason: String
1815
+ }
1816
+
1817
+ type cancellation_policy_provided = :not_provided | :provided
1818
+
1819
+ module CancellationPolicyProvided
1820
+ extend Increase::Internal::Type::Enum
1821
+
1822
+ # Not provided.
1823
+ NOT_PROVIDED: :not_provided
1824
+
1825
+ # Provided.
1826
+ PROVIDED: :provided
1827
+
1828
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided]
1829
+ end
1830
+ end
1831
+
1832
+ type guaranteed_reservation =
1833
+ {
1834
+ explanation: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation::explanation
1835
+ }
1836
+
1837
+ class GuaranteedReservation < Increase::Internal::Type::BaseModel
1838
+ attr_accessor explanation: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation::explanation
1839
+
1840
+ def initialize: (
1841
+ explanation: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation::explanation
1842
+ ) -> void
1843
+
1844
+ def to_hash: -> {
1845
+ explanation: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation::explanation
1846
+ }
1847
+
1848
+ type explanation =
1849
+ :cardholder_canceled_prior_to_service
1850
+ | :cardholder_cancellation_attempt_within_24_hours_of_confirmation
1851
+ | :merchant_billed_no_show
1852
+
1853
+ module Explanation
1854
+ extend Increase::Internal::Type::Enum
1855
+
1856
+ # Cardholder canceled prior to service.
1857
+ CARDHOLDER_CANCELED_PRIOR_TO_SERVICE: :cardholder_canceled_prior_to_service
1858
+
1859
+ # Cardholder cancellation attempt within 24 hours of confirmation.
1860
+ CARDHOLDER_CANCELLATION_ATTEMPT_WITHIN_24_HOURS_OF_CONFIRMATION: :cardholder_cancellation_attempt_within_24_hours_of_confirmation
1861
+
1862
+ # Merchant billed for no-show.
1863
+ MERCHANT_BILLED_NO_SHOW: :merchant_billed_no_show
1864
+
1865
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation::explanation]
1866
+ end
1867
+ end
1868
+
1869
+ type merchant_resolution_attempted =
1870
+ :attempted | :prohibited_by_local_law
1871
+
1872
+ module MerchantResolutionAttempted
1873
+ extend Increase::Internal::Type::Enum
1874
+
1875
+ # Attempted.
1876
+ ATTEMPTED: :attempted
1877
+
1878
+ # Prohibited by local law.
1879
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
1880
+
1881
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted]
1882
+ end
1883
+
1884
+ type service_type = :guaranteed_reservation | :other | :timeshare
1885
+
1886
+ module ServiceType
1887
+ extend Increase::Internal::Type::Enum
1888
+
1889
+ # Guaranteed reservation.
1890
+ GUARANTEED_RESERVATION: :guaranteed_reservation
1891
+
1892
+ # Other.
1893
+ OTHER: :other
1894
+
1895
+ # Timeshare.
1896
+ TIMESHARE: :timeshare
1897
+
1898
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type]
1899
+ end
1900
+ end
1901
+
1902
+ type consumer_counterfeit_merchandise =
1903
+ {
1904
+ counterfeit_explanation: String,
1905
+ disposition_explanation: String,
1906
+ order_explanation: String,
1907
+ received_at: Date
1908
+ }
1909
+
1910
+ class ConsumerCounterfeitMerchandise < Increase::Internal::Type::BaseModel
1911
+ attr_accessor counterfeit_explanation: String
1912
+
1913
+ attr_accessor disposition_explanation: String
1914
+
1915
+ attr_accessor order_explanation: String
1916
+
1917
+ attr_accessor received_at: Date
1918
+
1919
+ def initialize: (
1920
+ counterfeit_explanation: String,
1921
+ disposition_explanation: String,
1922
+ order_explanation: String,
1923
+ received_at: Date
1924
+ ) -> void
1925
+
1926
+ def to_hash: -> {
1927
+ counterfeit_explanation: String,
1928
+ disposition_explanation: String,
1929
+ order_explanation: String,
1930
+ received_at: Date
1931
+ }
1932
+ end
1933
+
1934
+ type consumer_credit_not_processed =
1935
+ { canceled_or_returned_at: Date?, credit_expected_at: Date? }
1936
+
1937
+ class ConsumerCreditNotProcessed < Increase::Internal::Type::BaseModel
1938
+ attr_accessor canceled_or_returned_at: Date?
1939
+
1940
+ attr_accessor credit_expected_at: Date?
1941
+
1942
+ def initialize: (
1943
+ canceled_or_returned_at: Date?,
1944
+ credit_expected_at: Date?
1945
+ ) -> void
1946
+
1947
+ def to_hash: -> {
1948
+ canceled_or_returned_at: Date?,
1949
+ credit_expected_at: Date?
1950
+ }
1951
+ end
1952
+
1953
+ type consumer_damaged_or_defective_merchandise =
1954
+ {
1955
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted,
1956
+ not_returned: top?,
1957
+ order_and_issue_explanation: String,
1958
+ received_at: Date,
1959
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted?,
1960
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome,
1961
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned?
1962
+ }
1963
+
1964
+ class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseModel
1965
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted
1966
+
1967
+ attr_accessor not_returned: top?
1968
+
1969
+ attr_accessor order_and_issue_explanation: String
1970
+
1971
+ attr_accessor received_at: Date
1972
+
1973
+ attr_accessor return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted?
1974
+
1975
+ attr_accessor return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome
1976
+
1977
+ attr_accessor returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned?
1978
+
1979
+ def initialize: (
1980
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted,
1981
+ not_returned: top?,
1982
+ order_and_issue_explanation: String,
1983
+ received_at: Date,
1984
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted?,
1985
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome,
1986
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned?
1987
+ ) -> void
1988
+
1989
+ def to_hash: -> {
1990
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted,
1991
+ not_returned: top?,
1992
+ order_and_issue_explanation: String,
1993
+ received_at: Date,
1994
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted?,
1995
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome,
1996
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned?
1997
+ }
1998
+
1999
+ type merchant_resolution_attempted =
2000
+ :attempted | :prohibited_by_local_law
2001
+
2002
+ module MerchantResolutionAttempted
2003
+ extend Increase::Internal::Type::Enum
2004
+
2005
+ # Attempted.
2006
+ ATTEMPTED: :attempted
2007
+
2008
+ # Prohibited by local law.
2009
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
2010
+
2011
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted]
2012
+ end
2013
+
2014
+ type return_attempted =
2015
+ {
2016
+ attempt_explanation: String,
2017
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason,
2018
+ attempted_at: Date,
2019
+ merchandise_disposition: String
2020
+ }
2021
+
2022
+ class ReturnAttempted < Increase::Internal::Type::BaseModel
2023
+ attr_accessor attempt_explanation: String
2024
+
2025
+ attr_accessor attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason
2026
+
2027
+ attr_accessor attempted_at: Date
2028
+
2029
+ attr_accessor merchandise_disposition: String
2030
+
2031
+ def initialize: (
2032
+ attempt_explanation: String,
2033
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason,
2034
+ attempted_at: Date,
2035
+ merchandise_disposition: String
2036
+ ) -> void
2037
+
2038
+ def to_hash: -> {
2039
+ attempt_explanation: String,
2040
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason,
2041
+ attempted_at: Date,
2042
+ merchandise_disposition: String
2043
+ }
2044
+
2045
+ type attempt_reason =
2046
+ :merchant_not_responding
2047
+ | :no_return_authorization_provided
2048
+ | :no_return_instructions
2049
+ | :requested_not_to_return
2050
+ | :return_not_accepted
2051
+
2052
+ module AttemptReason
2053
+ extend Increase::Internal::Type::Enum
2054
+
2055
+ # Merchant not responding.
2056
+ MERCHANT_NOT_RESPONDING: :merchant_not_responding
2057
+
2058
+ # No return authorization provided.
2059
+ NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
2060
+
2061
+ # No return instructions.
2062
+ NO_RETURN_INSTRUCTIONS: :no_return_instructions
2063
+
2064
+ # Requested not to return.
2065
+ REQUESTED_NOT_TO_RETURN: :requested_not_to_return
2066
+
2067
+ # Return not accepted.
2068
+ RETURN_NOT_ACCEPTED: :return_not_accepted
2069
+
2070
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason]
2071
+ end
2072
+ end
2073
+
2074
+ type return_outcome =
2075
+ :not_returned | :returned | :return_attempted
2076
+
2077
+ module ReturnOutcome
2078
+ extend Increase::Internal::Type::Enum
2079
+
2080
+ # Not returned.
2081
+ NOT_RETURNED: :not_returned
2082
+
2083
+ # Returned.
2084
+ RETURNED: :returned
2085
+
2086
+ # Return attempted.
2087
+ RETURN_ATTEMPTED: :return_attempted
2088
+
2089
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome]
2090
+ end
2091
+
2092
+ type returned =
2093
+ {
2094
+ merchant_received_return_at: Date?,
2095
+ other_explanation: String?,
2096
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method,
2097
+ returned_at: Date,
2098
+ tracking_number: String?
2099
+ }
2100
+
2101
+ class Returned < Increase::Internal::Type::BaseModel
2102
+ attr_accessor merchant_received_return_at: Date?
2103
+
2104
+ attr_accessor other_explanation: String?
2105
+
2106
+ attr_accessor return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method
2107
+
2108
+ attr_accessor returned_at: Date
2109
+
2110
+ attr_accessor tracking_number: String?
2111
+
2112
+ def initialize: (
2113
+ merchant_received_return_at: Date?,
2114
+ other_explanation: String?,
2115
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method,
2116
+ returned_at: Date,
2117
+ tracking_number: String?
2118
+ ) -> void
2119
+
2120
+ def to_hash: -> {
2121
+ merchant_received_return_at: Date?,
2122
+ other_explanation: String?,
2123
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method,
2124
+ returned_at: Date,
2125
+ tracking_number: String?
2126
+ }
2127
+
2128
+ type return_method =
2129
+ :dhl
2130
+ | :face_to_face
2131
+ | :fedex
2132
+ | :other
2133
+ | :postal_service
2134
+ | :ups
2135
+
2136
+ module ReturnMethod
2137
+ extend Increase::Internal::Type::Enum
2138
+
2139
+ # DHL.
2140
+ DHL: :dhl
2141
+
2142
+ # Face-to-face.
2143
+ FACE_TO_FACE: :face_to_face
2144
+
2145
+ # FedEx.
2146
+ FEDEX: :fedex
2147
+
2148
+ # Other.
2149
+ OTHER: :other
2150
+
2151
+ # Postal service.
2152
+ POSTAL_SERVICE: :postal_service
2153
+
2154
+ # UPS.
2155
+ UPS: :ups
2156
+
2157
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method]
2158
+ end
2159
+ end
2160
+ end
2161
+
2162
+ type consumer_merchandise_misrepresentation =
2163
+ {
2164
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted,
2165
+ misrepresentation_explanation: String,
2166
+ not_returned: top?,
2167
+ purchase_explanation: String,
2168
+ received_at: Date,
2169
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted?,
2170
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome,
2171
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned?
2172
+ }
2173
+
2174
+ class ConsumerMerchandiseMisrepresentation < Increase::Internal::Type::BaseModel
2175
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted
2176
+
2177
+ attr_accessor misrepresentation_explanation: String
2178
+
2179
+ attr_accessor not_returned: top?
2180
+
2181
+ attr_accessor purchase_explanation: String
2182
+
2183
+ attr_accessor received_at: Date
2184
+
2185
+ attr_accessor return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted?
2186
+
2187
+ attr_accessor return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome
2188
+
2189
+ attr_accessor returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned?
2190
+
2191
+ def initialize: (
2192
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted,
2193
+ misrepresentation_explanation: String,
2194
+ not_returned: top?,
2195
+ purchase_explanation: String,
2196
+ received_at: Date,
2197
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted?,
2198
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome,
2199
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned?
2200
+ ) -> void
2201
+
2202
+ def to_hash: -> {
2203
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted,
2204
+ misrepresentation_explanation: String,
2205
+ not_returned: top?,
2206
+ purchase_explanation: String,
2207
+ received_at: Date,
2208
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted?,
2209
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome,
2210
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned?
2211
+ }
2212
+
2213
+ type merchant_resolution_attempted =
2214
+ :attempted | :prohibited_by_local_law
2215
+
2216
+ module MerchantResolutionAttempted
2217
+ extend Increase::Internal::Type::Enum
2218
+
2219
+ # Attempted.
2220
+ ATTEMPTED: :attempted
2221
+
2222
+ # Prohibited by local law.
2223
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
2224
+
2225
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted]
2226
+ end
2227
+
2228
+ type return_attempted =
2229
+ {
2230
+ attempt_explanation: String,
2231
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason,
2232
+ attempted_at: Date,
2233
+ merchandise_disposition: String
2234
+ }
2235
+
2236
+ class ReturnAttempted < Increase::Internal::Type::BaseModel
2237
+ attr_accessor attempt_explanation: String
2238
+
2239
+ attr_accessor attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason
2240
+
2241
+ attr_accessor attempted_at: Date
2242
+
2243
+ attr_accessor merchandise_disposition: String
2244
+
2245
+ def initialize: (
2246
+ attempt_explanation: String,
2247
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason,
2248
+ attempted_at: Date,
2249
+ merchandise_disposition: String
2250
+ ) -> void
2251
+
2252
+ def to_hash: -> {
2253
+ attempt_explanation: String,
2254
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason,
2255
+ attempted_at: Date,
2256
+ merchandise_disposition: String
2257
+ }
2258
+
2259
+ type attempt_reason =
2260
+ :merchant_not_responding
2261
+ | :no_return_authorization_provided
2262
+ | :no_return_instructions
2263
+ | :requested_not_to_return
2264
+ | :return_not_accepted
2265
+
2266
+ module AttemptReason
2267
+ extend Increase::Internal::Type::Enum
2268
+
2269
+ # Merchant not responding.
2270
+ MERCHANT_NOT_RESPONDING: :merchant_not_responding
2271
+
2272
+ # No return authorization provided.
2273
+ NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
2274
+
2275
+ # No return instructions.
2276
+ NO_RETURN_INSTRUCTIONS: :no_return_instructions
2277
+
2278
+ # Requested not to return.
2279
+ REQUESTED_NOT_TO_RETURN: :requested_not_to_return
2280
+
2281
+ # Return not accepted.
2282
+ RETURN_NOT_ACCEPTED: :return_not_accepted
2283
+
2284
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason]
2285
+ end
2286
+ end
2287
+
2288
+ type return_outcome =
2289
+ :not_returned | :returned | :return_attempted
2290
+
2291
+ module ReturnOutcome
2292
+ extend Increase::Internal::Type::Enum
2293
+
2294
+ # Not returned.
2295
+ NOT_RETURNED: :not_returned
2296
+
2297
+ # Returned.
2298
+ RETURNED: :returned
2299
+
2300
+ # Return attempted.
2301
+ RETURN_ATTEMPTED: :return_attempted
2302
+
2303
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome]
2304
+ end
2305
+
2306
+ type returned =
2307
+ {
2308
+ merchant_received_return_at: Date?,
2309
+ other_explanation: String?,
2310
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned::return_method,
2311
+ returned_at: Date,
2312
+ tracking_number: String?
2313
+ }
2314
+
2315
+ class Returned < Increase::Internal::Type::BaseModel
2316
+ attr_accessor merchant_received_return_at: Date?
2317
+
2318
+ attr_accessor other_explanation: String?
2319
+
2320
+ attr_accessor return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned::return_method
2321
+
2322
+ attr_accessor returned_at: Date
2323
+
2324
+ attr_accessor tracking_number: String?
2325
+
2326
+ def initialize: (
2327
+ merchant_received_return_at: Date?,
2328
+ other_explanation: String?,
2329
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned::return_method,
2330
+ returned_at: Date,
2331
+ tracking_number: String?
2332
+ ) -> void
2333
+
2334
+ def to_hash: -> {
2335
+ merchant_received_return_at: Date?,
2336
+ other_explanation: String?,
2337
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned::return_method,
2338
+ returned_at: Date,
2339
+ tracking_number: String?
2340
+ }
2341
+
2342
+ type return_method =
2343
+ :dhl
2344
+ | :face_to_face
2345
+ | :fedex
2346
+ | :other
2347
+ | :postal_service
2348
+ | :ups
2349
+
2350
+ module ReturnMethod
2351
+ extend Increase::Internal::Type::Enum
2352
+
2353
+ # DHL.
2354
+ DHL: :dhl
2355
+
2356
+ # Face-to-face.
2357
+ FACE_TO_FACE: :face_to_face
2358
+
2359
+ # FedEx.
2360
+ FEDEX: :fedex
2361
+
2362
+ # Other.
2363
+ OTHER: :other
2364
+
2365
+ # Postal service.
2366
+ POSTAL_SERVICE: :postal_service
2367
+
2368
+ # UPS.
2369
+ UPS: :ups
2370
+
2371
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::Returned::return_method]
2372
+ end
2373
+ end
2374
+ end
2375
+
2376
+ type consumer_merchandise_not_as_described =
2377
+ {
2378
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted,
2379
+ received_at: Date,
2380
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted?,
2381
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::return_outcome,
2382
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned?
2383
+ }
2384
+
2385
+ class ConsumerMerchandiseNotAsDescribed < Increase::Internal::Type::BaseModel
2386
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted
2387
+
2388
+ attr_accessor received_at: Date
2389
+
2390
+ attr_accessor return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted?
2391
+
2392
+ attr_accessor return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::return_outcome
2393
+
2394
+ attr_accessor returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned?
2395
+
2396
+ def initialize: (
2397
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted,
2398
+ received_at: Date,
2399
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted?,
2400
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::return_outcome,
2401
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned?
2402
+ ) -> void
2403
+
2404
+ def to_hash: -> {
2405
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted,
2406
+ received_at: Date,
2407
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted?,
2408
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::return_outcome,
2409
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned?
2410
+ }
2411
+
2412
+ type merchant_resolution_attempted =
2413
+ :attempted | :prohibited_by_local_law
2414
+
2415
+ module MerchantResolutionAttempted
2416
+ extend Increase::Internal::Type::Enum
2417
+
2418
+ # Attempted.
2419
+ ATTEMPTED: :attempted
2420
+
2421
+ # Prohibited by local law.
2422
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
2423
+
2424
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted]
2425
+ end
2426
+
2427
+ type return_attempted =
2428
+ {
2429
+ attempt_explanation: String,
2430
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason,
2431
+ attempted_at: Date,
2432
+ merchandise_disposition: String
2433
+ }
2434
+
2435
+ class ReturnAttempted < Increase::Internal::Type::BaseModel
2436
+ attr_accessor attempt_explanation: String
2437
+
2438
+ attr_accessor attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason
2439
+
2440
+ attr_accessor attempted_at: Date
2441
+
2442
+ attr_accessor merchandise_disposition: String
2443
+
2444
+ def initialize: (
2445
+ attempt_explanation: String,
2446
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason,
2447
+ attempted_at: Date,
2448
+ merchandise_disposition: String
2449
+ ) -> void
2450
+
2451
+ def to_hash: -> {
2452
+ attempt_explanation: String,
2453
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason,
2454
+ attempted_at: Date,
2455
+ merchandise_disposition: String
2456
+ }
2457
+
2458
+ type attempt_reason =
2459
+ :merchant_not_responding
2460
+ | :no_return_authorization_provided
2461
+ | :no_return_instructions
2462
+ | :requested_not_to_return
2463
+ | :return_not_accepted
2464
+
2465
+ module AttemptReason
2466
+ extend Increase::Internal::Type::Enum
2467
+
2468
+ # Merchant not responding.
2469
+ MERCHANT_NOT_RESPONDING: :merchant_not_responding
2470
+
2471
+ # No return authorization provided.
2472
+ NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
2473
+
2474
+ # No return instructions.
2475
+ NO_RETURN_INSTRUCTIONS: :no_return_instructions
2476
+
2477
+ # Requested not to return.
2478
+ REQUESTED_NOT_TO_RETURN: :requested_not_to_return
2479
+
2480
+ # Return not accepted.
2481
+ RETURN_NOT_ACCEPTED: :return_not_accepted
2482
+
2483
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason]
2484
+ end
2485
+ end
2486
+
2487
+ type return_outcome = :returned | :return_attempted
2488
+
2489
+ module ReturnOutcome
2490
+ extend Increase::Internal::Type::Enum
2491
+
2492
+ # Returned.
2493
+ RETURNED: :returned
2494
+
2495
+ # Return attempted.
2496
+ RETURN_ATTEMPTED: :return_attempted
2497
+
2498
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::return_outcome]
2499
+ end
2500
+
2501
+ type returned =
2502
+ {
2503
+ merchant_received_return_at: Date?,
2504
+ other_explanation: String?,
2505
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned::return_method,
2506
+ returned_at: Date,
2507
+ tracking_number: String?
2508
+ }
2509
+
2510
+ class Returned < Increase::Internal::Type::BaseModel
2511
+ attr_accessor merchant_received_return_at: Date?
2512
+
2513
+ attr_accessor other_explanation: String?
2514
+
2515
+ attr_accessor return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned::return_method
2516
+
2517
+ attr_accessor returned_at: Date
2518
+
2519
+ attr_accessor tracking_number: String?
2520
+
2521
+ def initialize: (
2522
+ merchant_received_return_at: Date?,
2523
+ other_explanation: String?,
2524
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned::return_method,
2525
+ returned_at: Date,
2526
+ tracking_number: String?
2527
+ ) -> void
2528
+
2529
+ def to_hash: -> {
2530
+ merchant_received_return_at: Date?,
2531
+ other_explanation: String?,
2532
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned::return_method,
2533
+ returned_at: Date,
2534
+ tracking_number: String?
2535
+ }
2536
+
2537
+ type return_method =
2538
+ :dhl
2539
+ | :face_to_face
2540
+ | :fedex
2541
+ | :other
2542
+ | :postal_service
2543
+ | :ups
2544
+
2545
+ module ReturnMethod
2546
+ extend Increase::Internal::Type::Enum
2547
+
2548
+ # DHL.
2549
+ DHL: :dhl
2550
+
2551
+ # Face-to-face.
2552
+ FACE_TO_FACE: :face_to_face
2553
+
2554
+ # FedEx.
2555
+ FEDEX: :fedex
2556
+
2557
+ # Other.
2558
+ OTHER: :other
2559
+
2560
+ # Postal service.
2561
+ POSTAL_SERVICE: :postal_service
2562
+
2563
+ # UPS.
2564
+ UPS: :ups
2565
+
2566
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed::Returned::return_method]
2567
+ end
2568
+ end
2569
+ end
2570
+
2571
+ type consumer_merchandise_not_received =
2572
+ {
2573
+ cancellation_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::cancellation_outcome,
2574
+ cardholder_cancellation_prior_to_expected_receipt: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt?,
2575
+ delayed: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed?,
2576
+ delivered_to_wrong_location: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation?,
2577
+ delivery_issue: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::delivery_issue,
2578
+ last_expected_receipt_at: Date,
2579
+ merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation?,
2580
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted,
2581
+ no_cancellation: top?,
2582
+ purchase_info_and_explanation: String
2583
+ }
2584
+
2585
+ class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel
2586
+ attr_accessor cancellation_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::cancellation_outcome
2587
+
2588
+ attr_accessor cardholder_cancellation_prior_to_expected_receipt: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt?
2589
+
2590
+ attr_accessor delayed: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed?
2591
+
2592
+ attr_accessor delivered_to_wrong_location: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation?
2593
+
2594
+ attr_accessor delivery_issue: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::delivery_issue
2595
+
2596
+ attr_accessor last_expected_receipt_at: Date
2597
+
2598
+ attr_accessor merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation?
2599
+
2600
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted
2601
+
2602
+ attr_accessor no_cancellation: top?
2603
+
2604
+ attr_accessor purchase_info_and_explanation: String
2605
+
2606
+ def initialize: (
2607
+ cancellation_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::cancellation_outcome,
2608
+ cardholder_cancellation_prior_to_expected_receipt: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt?,
2609
+ delayed: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed?,
2610
+ delivered_to_wrong_location: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation?,
2611
+ delivery_issue: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::delivery_issue,
2612
+ last_expected_receipt_at: Date,
2613
+ merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation?,
2614
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted,
2615
+ no_cancellation: top?,
2616
+ purchase_info_and_explanation: String
2617
+ ) -> void
2618
+
2619
+ def to_hash: -> {
2620
+ cancellation_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::cancellation_outcome,
2621
+ cardholder_cancellation_prior_to_expected_receipt: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt?,
2622
+ delayed: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed?,
2623
+ delivered_to_wrong_location: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation?,
2624
+ delivery_issue: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::delivery_issue,
2625
+ last_expected_receipt_at: Date,
2626
+ merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation?,
2627
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted,
2628
+ no_cancellation: top?,
2629
+ purchase_info_and_explanation: String
2630
+ }
2631
+
2632
+ type cancellation_outcome =
2633
+ :cardholder_cancellation_prior_to_expected_receipt
2634
+ | :merchant_cancellation
2635
+ | :no_cancellation
2636
+
2637
+ module CancellationOutcome
2638
+ extend Increase::Internal::Type::Enum
2639
+
2640
+ # Cardholder cancellation prior to expected receipt.
2641
+ CARDHOLDER_CANCELLATION_PRIOR_TO_EXPECTED_RECEIPT: :cardholder_cancellation_prior_to_expected_receipt
2642
+
2643
+ # Merchant cancellation.
2644
+ MERCHANT_CANCELLATION: :merchant_cancellation
2645
+
2646
+ # No cancellation.
2647
+ NO_CANCELLATION: :no_cancellation
2648
+
2649
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::cancellation_outcome]
2650
+ end
2651
+
2652
+ type cardholder_cancellation_prior_to_expected_receipt =
2653
+ { canceled_at: Date, reason: String? }
2654
+
2655
+ class CardholderCancellationPriorToExpectedReceipt < Increase::Internal::Type::BaseModel
2656
+ attr_accessor canceled_at: Date
2657
+
2658
+ attr_accessor reason: String?
2659
+
2660
+ def initialize: (canceled_at: Date, reason: String?) -> void
2661
+
2662
+ def to_hash: -> { canceled_at: Date, reason: String? }
2663
+ end
2664
+
2665
+ type delayed =
2666
+ {
2667
+ explanation: String,
2668
+ not_returned: top?,
2669
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted?,
2670
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome,
2671
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned?
2672
+ }
2673
+
2674
+ class Delayed < Increase::Internal::Type::BaseModel
2675
+ attr_accessor explanation: String
2676
+
2677
+ attr_accessor not_returned: top?
2678
+
2679
+ attr_accessor return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted?
2680
+
2681
+ attr_accessor return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome
2682
+
2683
+ attr_accessor returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned?
2684
+
2685
+ def initialize: (
2686
+ explanation: String,
2687
+ not_returned: top?,
2688
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted?,
2689
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome,
2690
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned?
2691
+ ) -> void
2692
+
2693
+ def to_hash: -> {
2694
+ explanation: String,
2695
+ not_returned: top?,
2696
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted?,
2697
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome,
2698
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned?
2699
+ }
2700
+
2701
+ type return_attempted = { attempted_at: Date }
2702
+
2703
+ class ReturnAttempted < Increase::Internal::Type::BaseModel
2704
+ attr_accessor attempted_at: Date
2705
+
2706
+ def initialize: (attempted_at: Date) -> void
2707
+
2708
+ def to_hash: -> { attempted_at: Date }
2709
+ end
2710
+
2711
+ type return_outcome =
2712
+ :not_returned | :returned | :return_attempted
2713
+
2714
+ module ReturnOutcome
2715
+ extend Increase::Internal::Type::Enum
2716
+
2717
+ # Not returned.
2718
+ NOT_RETURNED: :not_returned
2719
+
2720
+ # Returned.
2721
+ RETURNED: :returned
2722
+
2723
+ # Return attempted.
2724
+ RETURN_ATTEMPTED: :return_attempted
2725
+
2726
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome]
2727
+ end
2728
+
2729
+ type returned =
2730
+ { merchant_received_return_at: Date, returned_at: Date }
2731
+
2732
+ class Returned < Increase::Internal::Type::BaseModel
2733
+ attr_accessor merchant_received_return_at: Date
2734
+
2735
+ attr_accessor returned_at: Date
2736
+
2737
+ def initialize: (
2738
+ merchant_received_return_at: Date,
2739
+ returned_at: Date
2740
+ ) -> void
2741
+
2742
+ def to_hash: -> {
2743
+ merchant_received_return_at: Date,
2744
+ returned_at: Date
2745
+ }
2746
+ end
2747
+ end
2748
+
2749
+ type delivered_to_wrong_location = { agreed_location: String }
2750
+
2751
+ class DeliveredToWrongLocation < Increase::Internal::Type::BaseModel
2752
+ attr_accessor agreed_location: String
2753
+
2754
+ def initialize: (agreed_location: String) -> void
2755
+
2756
+ def to_hash: -> { agreed_location: String }
2757
+ end
2758
+
2759
+ type delivery_issue = :delayed | :delivered_to_wrong_location
2760
+
2761
+ module DeliveryIssue
2762
+ extend Increase::Internal::Type::Enum
2763
+
2764
+ # Delayed.
2765
+ DELAYED: :delayed
2766
+
2767
+ # Delivered to wrong location.
2768
+ DELIVERED_TO_WRONG_LOCATION: :delivered_to_wrong_location
2769
+
2770
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::delivery_issue]
2771
+ end
2772
+
2773
+ type merchant_cancellation = { canceled_at: Date }
2774
+
2775
+ class MerchantCancellation < Increase::Internal::Type::BaseModel
2776
+ attr_accessor canceled_at: Date
2777
+
2778
+ def initialize: (canceled_at: Date) -> void
2779
+
2780
+ def to_hash: -> { canceled_at: Date }
2781
+ end
2782
+
2783
+ type merchant_resolution_attempted =
2784
+ :attempted | :prohibited_by_local_law
2785
+
2786
+ module MerchantResolutionAttempted
2787
+ extend Increase::Internal::Type::Enum
2788
+
2789
+ # Attempted.
2790
+ ATTEMPTED: :attempted
2791
+
2792
+ # Prohibited by local law.
2793
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
2794
+
2795
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted]
2796
+ end
2797
+ end
2798
+
2799
+ type consumer_original_credit_transaction_not_accepted =
2800
+ {
2801
+ explanation: String,
2802
+ reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::reason
2803
+ }
2804
+
2805
+ class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel
2806
+ attr_accessor explanation: String
2807
+
2808
+ attr_accessor reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::reason
2809
+
2810
+ def initialize: (
2811
+ explanation: String,
2812
+ reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::reason
2813
+ ) -> void
2814
+
2815
+ def to_hash: -> {
2816
+ explanation: String,
2817
+ reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::reason
2818
+ }
2819
+
2820
+ type reason =
2821
+ :prohibited_by_local_laws_or_regulation | :recipient_refused
2822
+
2823
+ module Reason
2824
+ extend Increase::Internal::Type::Enum
2825
+
2826
+ # Prohibited by local laws or regulation.
2827
+ PROHIBITED_BY_LOCAL_LAWS_OR_REGULATION: :prohibited_by_local_laws_or_regulation
2828
+
2829
+ # Recipient refused.
2830
+ RECIPIENT_REFUSED: :recipient_refused
2831
+
2832
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::reason]
2833
+ end
2834
+ end
2835
+
2836
+ type consumer_quality_merchandise =
2837
+ {
2838
+ expected_at: Date,
2839
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted,
2840
+ not_returned: top?,
2841
+ ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations?,
2842
+ purchase_info_and_quality_issue: String,
2843
+ received_at: Date,
2844
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted?,
2845
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::return_outcome,
2846
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned?
2847
+ }
2848
+
2849
+ class ConsumerQualityMerchandise < Increase::Internal::Type::BaseModel
2850
+ attr_accessor expected_at: Date
2851
+
2852
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted
2853
+
2854
+ attr_accessor not_returned: top?
2855
+
2856
+ attr_accessor ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations?
2857
+
2858
+ attr_accessor purchase_info_and_quality_issue: String
2859
+
2860
+ attr_accessor received_at: Date
2861
+
2862
+ attr_accessor return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted?
2863
+
2864
+ attr_accessor return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::return_outcome
2865
+
2866
+ attr_accessor returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned?
2867
+
2868
+ def initialize: (
2869
+ expected_at: Date,
2870
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted,
2871
+ not_returned: top?,
2872
+ ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations?,
2873
+ purchase_info_and_quality_issue: String,
2874
+ received_at: Date,
2875
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted?,
2876
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::return_outcome,
2877
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned?
2878
+ ) -> void
2879
+
2880
+ def to_hash: -> {
2881
+ expected_at: Date,
2882
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted,
2883
+ not_returned: top?,
2884
+ ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations?,
2885
+ purchase_info_and_quality_issue: String,
2886
+ received_at: Date,
2887
+ return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted?,
2888
+ return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::return_outcome,
2889
+ returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned?
2890
+ }
2891
+
2892
+ type merchant_resolution_attempted =
2893
+ :attempted | :prohibited_by_local_law
2894
+
2895
+ module MerchantResolutionAttempted
2896
+ extend Increase::Internal::Type::Enum
2897
+
2898
+ # Attempted.
2899
+ ATTEMPTED: :attempted
2900
+
2901
+ # Prohibited by local law.
2902
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
2903
+
2904
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted]
2905
+ end
2906
+
2907
+ type ongoing_negotiations =
2908
+ {
2909
+ explanation: String,
2910
+ issuer_first_notified_at: Date,
2911
+ started_at: Date
2912
+ }
2913
+
2914
+ class OngoingNegotiations < Increase::Internal::Type::BaseModel
2915
+ attr_accessor explanation: String
2916
+
2917
+ attr_accessor issuer_first_notified_at: Date
2918
+
2919
+ attr_accessor started_at: Date
2920
+
2921
+ def initialize: (
2922
+ explanation: String,
2923
+ issuer_first_notified_at: Date,
2924
+ started_at: Date
2925
+ ) -> void
2926
+
2927
+ def to_hash: -> {
2928
+ explanation: String,
2929
+ issuer_first_notified_at: Date,
2930
+ started_at: Date
2931
+ }
2932
+ end
2933
+
2934
+ type return_attempted =
2935
+ {
2936
+ attempt_explanation: String,
2937
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason,
2938
+ attempted_at: Date,
2939
+ merchandise_disposition: String
2940
+ }
2941
+
2942
+ class ReturnAttempted < Increase::Internal::Type::BaseModel
2943
+ attr_accessor attempt_explanation: String
2944
+
2945
+ attr_accessor attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason
2946
+
2947
+ attr_accessor attempted_at: Date
2948
+
2949
+ attr_accessor merchandise_disposition: String
2950
+
2951
+ def initialize: (
2952
+ attempt_explanation: String,
2953
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason,
2954
+ attempted_at: Date,
2955
+ merchandise_disposition: String
2956
+ ) -> void
2957
+
2958
+ def to_hash: -> {
2959
+ attempt_explanation: String,
2960
+ attempt_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason,
2961
+ attempted_at: Date,
2962
+ merchandise_disposition: String
2963
+ }
2964
+
2965
+ type attempt_reason =
2966
+ :merchant_not_responding
2967
+ | :no_return_authorization_provided
2968
+ | :no_return_instructions
2969
+ | :requested_not_to_return
2970
+ | :return_not_accepted
2971
+
2972
+ module AttemptReason
2973
+ extend Increase::Internal::Type::Enum
2974
+
2975
+ # Merchant not responding.
2976
+ MERCHANT_NOT_RESPONDING: :merchant_not_responding
2977
+
2978
+ # No return authorization provided.
2979
+ NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
2980
+
2981
+ # No return instructions.
2982
+ NO_RETURN_INSTRUCTIONS: :no_return_instructions
2983
+
2984
+ # Requested not to return.
2985
+ REQUESTED_NOT_TO_RETURN: :requested_not_to_return
2986
+
2987
+ # Return not accepted.
2988
+ RETURN_NOT_ACCEPTED: :return_not_accepted
2989
+
2990
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason]
2991
+ end
2992
+ end
2993
+
2994
+ type return_outcome =
2995
+ :not_returned | :returned | :return_attempted
2996
+
2997
+ module ReturnOutcome
2998
+ extend Increase::Internal::Type::Enum
2999
+
3000
+ # Not returned.
3001
+ NOT_RETURNED: :not_returned
3002
+
3003
+ # Returned.
3004
+ RETURNED: :returned
3005
+
3006
+ # Return attempted.
3007
+ RETURN_ATTEMPTED: :return_attempted
3008
+
3009
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::return_outcome]
3010
+ end
3011
+
3012
+ type returned =
3013
+ {
3014
+ merchant_received_return_at: Date?,
3015
+ other_explanation: String?,
3016
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned::return_method,
3017
+ returned_at: Date,
3018
+ tracking_number: String?
3019
+ }
3020
+
3021
+ class Returned < Increase::Internal::Type::BaseModel
3022
+ attr_accessor merchant_received_return_at: Date?
3023
+
3024
+ attr_accessor other_explanation: String?
3025
+
3026
+ attr_accessor return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned::return_method
3027
+
3028
+ attr_accessor returned_at: Date
3029
+
3030
+ attr_accessor tracking_number: String?
3031
+
3032
+ def initialize: (
3033
+ merchant_received_return_at: Date?,
3034
+ other_explanation: String?,
3035
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned::return_method,
3036
+ returned_at: Date,
3037
+ tracking_number: String?
3038
+ ) -> void
3039
+
3040
+ def to_hash: -> {
3041
+ merchant_received_return_at: Date?,
3042
+ other_explanation: String?,
3043
+ return_method: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned::return_method,
3044
+ returned_at: Date,
3045
+ tracking_number: String?
3046
+ }
3047
+
3048
+ type return_method =
3049
+ :dhl
3050
+ | :face_to_face
3051
+ | :fedex
3052
+ | :other
3053
+ | :postal_service
3054
+ | :ups
3055
+
3056
+ module ReturnMethod
3057
+ extend Increase::Internal::Type::Enum
3058
+
3059
+ # DHL.
3060
+ DHL: :dhl
3061
+
3062
+ # Face-to-face.
3063
+ FACE_TO_FACE: :face_to_face
3064
+
3065
+ # FedEx.
3066
+ FEDEX: :fedex
3067
+
3068
+ # Other.
3069
+ OTHER: :other
3070
+
3071
+ # Postal service.
3072
+ POSTAL_SERVICE: :postal_service
3073
+
3074
+ # UPS.
3075
+ UPS: :ups
3076
+
3077
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::Returned::return_method]
3078
+ end
3079
+ end
3080
+ end
3081
+
3082
+ type consumer_quality_services =
3083
+ {
3084
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation,
3085
+ cardholder_paid_to_have_work_redone: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::cardholder_paid_to_have_work_redone?,
3086
+ non_fiat_currency_or_non_fungible_token_related_and_not_matching_description: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description,
3087
+ ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::OngoingNegotiations?,
3088
+ purchase_info_and_quality_issue: String,
3089
+ restaurant_food_related: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::restaurant_food_related?,
3090
+ services_received_at: Date
3091
+ }
3092
+
3093
+ class ConsumerQualityServices < Increase::Internal::Type::BaseModel
3094
+ attr_accessor cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation
3095
+
3096
+ attr_accessor cardholder_paid_to_have_work_redone: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::cardholder_paid_to_have_work_redone?
3097
+
3098
+ attr_accessor non_fiat_currency_or_non_fungible_token_related_and_not_matching_description: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description
3099
+
3100
+ attr_accessor ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::OngoingNegotiations?
3101
+
3102
+ attr_accessor purchase_info_and_quality_issue: String
3103
+
3104
+ attr_accessor restaurant_food_related: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::restaurant_food_related?
3105
+
3106
+ attr_accessor services_received_at: Date
3107
+
3108
+ def initialize: (
3109
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation,
3110
+ cardholder_paid_to_have_work_redone: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::cardholder_paid_to_have_work_redone?,
3111
+ non_fiat_currency_or_non_fungible_token_related_and_not_matching_description: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description,
3112
+ ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::OngoingNegotiations?,
3113
+ purchase_info_and_quality_issue: String,
3114
+ restaurant_food_related: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::restaurant_food_related?,
3115
+ services_received_at: Date
3116
+ ) -> void
3117
+
3118
+ def to_hash: -> {
3119
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation,
3120
+ cardholder_paid_to_have_work_redone: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::cardholder_paid_to_have_work_redone?,
3121
+ non_fiat_currency_or_non_fungible_token_related_and_not_matching_description: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description,
3122
+ ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::OngoingNegotiations?,
3123
+ purchase_info_and_quality_issue: String,
3124
+ restaurant_food_related: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::restaurant_food_related?,
3125
+ services_received_at: Date
3126
+ }
3127
+
3128
+ type cardholder_cancellation =
3129
+ {
3130
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant,
3131
+ canceled_at: Date,
3132
+ reason: String
3133
+ }
3134
+
3135
+ class CardholderCancellation < Increase::Internal::Type::BaseModel
3136
+ attr_accessor accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant
3137
+
3138
+ attr_accessor canceled_at: Date
3139
+
3140
+ attr_accessor reason: String
3141
+
3142
+ def initialize: (
3143
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant,
3144
+ canceled_at: Date,
3145
+ reason: String
3146
+ ) -> void
3147
+
3148
+ def to_hash: -> {
3149
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant,
3150
+ canceled_at: Date,
3151
+ reason: String
3152
+ }
3153
+
3154
+ type accepted_by_merchant = :accepted | :not_accepted
3155
+
3156
+ module AcceptedByMerchant
3157
+ extend Increase::Internal::Type::Enum
3158
+
3159
+ # Accepted.
3160
+ ACCEPTED: :accepted
3161
+
3162
+ # Not accepted.
3163
+ NOT_ACCEPTED: :not_accepted
3164
+
3165
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant]
3166
+ end
3167
+ end
3168
+
3169
+ type cardholder_paid_to_have_work_redone =
3170
+ :did_not_pay_to_have_work_redone | :paid_to_have_work_redone
3171
+
3172
+ module CardholderPaidToHaveWorkRedone
3173
+ extend Increase::Internal::Type::Enum
3174
+
3175
+ # Cardholder did not pay to have work redone.
3176
+ DID_NOT_PAY_TO_HAVE_WORK_REDONE: :did_not_pay_to_have_work_redone
3177
+
3178
+ # Cardholder paid to have work redone.
3179
+ PAID_TO_HAVE_WORK_REDONE: :paid_to_have_work_redone
3180
+
3181
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::cardholder_paid_to_have_work_redone]
3182
+ end
3183
+
3184
+ type non_fiat_currency_or_non_fungible_token_related_and_not_matching_description =
3185
+ :not_related | :related
3186
+
3187
+ module NonFiatCurrencyOrNonFungibleTokenRelatedAndNotMatchingDescription
3188
+ extend Increase::Internal::Type::Enum
3189
+
3190
+ # Not related.
3191
+ NOT_RELATED: :not_related
3192
+
3193
+ # Related.
3194
+ RELATED: :related
3195
+
3196
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description]
3197
+ end
3198
+
3199
+ type ongoing_negotiations =
3200
+ {
3201
+ explanation: String,
3202
+ issuer_first_notified_at: Date,
3203
+ started_at: Date
3204
+ }
3205
+
3206
+ class OngoingNegotiations < Increase::Internal::Type::BaseModel
3207
+ attr_accessor explanation: String
3208
+
3209
+ attr_accessor issuer_first_notified_at: Date
3210
+
3211
+ attr_accessor started_at: Date
3212
+
3213
+ def initialize: (
3214
+ explanation: String,
3215
+ issuer_first_notified_at: Date,
3216
+ started_at: Date
3217
+ ) -> void
3218
+
3219
+ def to_hash: -> {
3220
+ explanation: String,
3221
+ issuer_first_notified_at: Date,
3222
+ started_at: Date
3223
+ }
3224
+ end
3225
+
3226
+ type restaurant_food_related = :not_related | :related
3227
+
3228
+ module RestaurantFoodRelated
3229
+ extend Increase::Internal::Type::Enum
3230
+
3231
+ # Not related.
3232
+ NOT_RELATED: :not_related
3233
+
3234
+ # Related.
3235
+ RELATED: :related
3236
+
3237
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices::restaurant_food_related]
3238
+ end
3239
+ end
3240
+
3241
+ type consumer_services_misrepresentation =
3242
+ {
3243
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation,
3244
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::merchant_resolution_attempted,
3245
+ misrepresentation_explanation: String,
3246
+ purchase_explanation: String,
3247
+ received_at: Date
3248
+ }
3249
+
3250
+ class ConsumerServicesMisrepresentation < Increase::Internal::Type::BaseModel
3251
+ attr_accessor cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation
3252
+
3253
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::merchant_resolution_attempted
3254
+
3255
+ attr_accessor misrepresentation_explanation: String
3256
+
3257
+ attr_accessor purchase_explanation: String
3258
+
3259
+ attr_accessor received_at: Date
3260
+
3261
+ def initialize: (
3262
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation,
3263
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::merchant_resolution_attempted,
3264
+ misrepresentation_explanation: String,
3265
+ purchase_explanation: String,
3266
+ received_at: Date
3267
+ ) -> void
3268
+
3269
+ def to_hash: -> {
3270
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation,
3271
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::merchant_resolution_attempted,
3272
+ misrepresentation_explanation: String,
3273
+ purchase_explanation: String,
3274
+ received_at: Date
3275
+ }
3276
+
3277
+ type cardholder_cancellation =
3278
+ {
3279
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant,
3280
+ canceled_at: Date,
3281
+ reason: String
3282
+ }
3283
+
3284
+ class CardholderCancellation < Increase::Internal::Type::BaseModel
3285
+ attr_accessor accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant
3286
+
3287
+ attr_accessor canceled_at: Date
3288
+
3289
+ attr_accessor reason: String
3290
+
3291
+ def initialize: (
3292
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant,
3293
+ canceled_at: Date,
3294
+ reason: String
3295
+ ) -> void
3296
+
3297
+ def to_hash: -> {
3298
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant,
3299
+ canceled_at: Date,
3300
+ reason: String
3301
+ }
3302
+
3303
+ type accepted_by_merchant = :accepted | :not_accepted
3304
+
3305
+ module AcceptedByMerchant
3306
+ extend Increase::Internal::Type::Enum
3307
+
3308
+ # Accepted.
3309
+ ACCEPTED: :accepted
3310
+
3311
+ # Not accepted.
3312
+ NOT_ACCEPTED: :not_accepted
3313
+
3314
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant]
3315
+ end
3316
+ end
3317
+
3318
+ type merchant_resolution_attempted =
3319
+ :attempted | :prohibited_by_local_law
3320
+
3321
+ module MerchantResolutionAttempted
3322
+ extend Increase::Internal::Type::Enum
3323
+
3324
+ # Attempted.
3325
+ ATTEMPTED: :attempted
3326
+
3327
+ # Prohibited by local law.
3328
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
3329
+
3330
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesMisrepresentation::merchant_resolution_attempted]
3331
+ end
3332
+ end
3333
+
3334
+ type consumer_services_not_as_described =
3335
+ {
3336
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
3337
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
3338
+ received_at: Date
3339
+ }
3340
+
3341
+ class ConsumerServicesNotAsDescribed < Increase::Internal::Type::BaseModel
3342
+ attr_accessor cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation
3343
+
3344
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted
3345
+
3346
+ attr_accessor received_at: Date
3347
+
3348
+ def initialize: (
3349
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
3350
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
3351
+ received_at: Date
3352
+ ) -> void
3353
+
3354
+ def to_hash: -> {
3355
+ cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
3356
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
3357
+ received_at: Date
3358
+ }
3359
+
3360
+ type cardholder_cancellation =
3361
+ {
3362
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant,
3363
+ canceled_at: Date,
3364
+ reason: String
3365
+ }
3366
+
3367
+ class CardholderCancellation < Increase::Internal::Type::BaseModel
3368
+ attr_accessor accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant
3369
+
3370
+ attr_accessor canceled_at: Date
3371
+
3372
+ attr_accessor reason: String
3373
+
3374
+ def initialize: (
3375
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant,
3376
+ canceled_at: Date,
3377
+ reason: String
3378
+ ) -> void
3379
+
3380
+ def to_hash: -> {
3381
+ accepted_by_merchant: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant,
3382
+ canceled_at: Date,
3383
+ reason: String
3384
+ }
3385
+
3386
+ type accepted_by_merchant = :accepted | :not_accepted
3387
+
3388
+ module AcceptedByMerchant
3389
+ extend Increase::Internal::Type::Enum
3390
+
3391
+ # Accepted.
3392
+ ACCEPTED: :accepted
3393
+
3394
+ # Not accepted.
3395
+ NOT_ACCEPTED: :not_accepted
3396
+
3397
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant]
3398
+ end
3399
+ end
3400
+
3401
+ type merchant_resolution_attempted =
3402
+ :attempted | :prohibited_by_local_law
3403
+
3404
+ module MerchantResolutionAttempted
3405
+ extend Increase::Internal::Type::Enum
3406
+
3407
+ # Attempted.
3408
+ ATTEMPTED: :attempted
3409
+
3410
+ # Prohibited by local law.
3411
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
3412
+
3413
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted]
3414
+ end
3415
+ end
3416
+
3417
+ type consumer_services_not_received =
3418
+ {
3419
+ cancellation_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::cancellation_outcome,
3420
+ cardholder_cancellation_prior_to_expected_receipt: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt?,
3421
+ last_expected_receipt_at: Date,
3422
+ merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantCancellation?,
3423
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted,
3424
+ no_cancellation: top?,
3425
+ purchase_info_and_explanation: String
3426
+ }
3427
+
3428
+ class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel
3429
+ attr_accessor cancellation_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::cancellation_outcome
3430
+
3431
+ attr_accessor cardholder_cancellation_prior_to_expected_receipt: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt?
3432
+
3433
+ attr_accessor last_expected_receipt_at: Date
3434
+
3435
+ attr_accessor merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantCancellation?
3436
+
3437
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted
3438
+
3439
+ attr_accessor no_cancellation: top?
3440
+
3441
+ attr_accessor purchase_info_and_explanation: String
3442
+
3443
+ def initialize: (
3444
+ cancellation_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::cancellation_outcome,
3445
+ cardholder_cancellation_prior_to_expected_receipt: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt?,
3446
+ last_expected_receipt_at: Date,
3447
+ merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantCancellation?,
3448
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted,
3449
+ no_cancellation: top?,
3450
+ purchase_info_and_explanation: String
3451
+ ) -> void
3452
+
3453
+ def to_hash: -> {
3454
+ cancellation_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::cancellation_outcome,
3455
+ cardholder_cancellation_prior_to_expected_receipt: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt?,
3456
+ last_expected_receipt_at: Date,
3457
+ merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantCancellation?,
3458
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted,
3459
+ no_cancellation: top?,
3460
+ purchase_info_and_explanation: String
3461
+ }
3462
+
3463
+ type cancellation_outcome =
3464
+ :cardholder_cancellation_prior_to_expected_receipt
3465
+ | :merchant_cancellation
3466
+ | :no_cancellation
3467
+
3468
+ module CancellationOutcome
3469
+ extend Increase::Internal::Type::Enum
3470
+
3471
+ # Cardholder cancellation prior to expected receipt.
3472
+ CARDHOLDER_CANCELLATION_PRIOR_TO_EXPECTED_RECEIPT: :cardholder_cancellation_prior_to_expected_receipt
3473
+
3474
+ # Merchant cancellation.
3475
+ MERCHANT_CANCELLATION: :merchant_cancellation
3476
+
3477
+ # No cancellation.
3478
+ NO_CANCELLATION: :no_cancellation
3479
+
3480
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::cancellation_outcome]
3481
+ end
3482
+
3483
+ type cardholder_cancellation_prior_to_expected_receipt =
3484
+ { canceled_at: Date, reason: String? }
3485
+
3486
+ class CardholderCancellationPriorToExpectedReceipt < Increase::Internal::Type::BaseModel
3487
+ attr_accessor canceled_at: Date
3488
+
3489
+ attr_accessor reason: String?
3490
+
3491
+ def initialize: (canceled_at: Date, reason: String?) -> void
3492
+
3493
+ def to_hash: -> { canceled_at: Date, reason: String? }
3494
+ end
3495
+
3496
+ type merchant_cancellation = { canceled_at: Date }
3497
+
3498
+ class MerchantCancellation < Increase::Internal::Type::BaseModel
3499
+ attr_accessor canceled_at: Date
3500
+
3501
+ def initialize: (canceled_at: Date) -> void
3502
+
3503
+ def to_hash: -> { canceled_at: Date }
3504
+ end
3505
+
3506
+ type merchant_resolution_attempted =
3507
+ :attempted | :prohibited_by_local_law
3508
+
3509
+ module MerchantResolutionAttempted
3510
+ extend Increase::Internal::Type::Enum
3511
+
3512
+ # Attempted.
3513
+ ATTEMPTED: :attempted
3514
+
3515
+ # Prohibited by local law.
3516
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
3517
+
3518
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted]
3519
+ end
3520
+ end
3521
+
3522
+ type fraud =
3523
+ {
3524
+ fraud_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Fraud::fraud_type
3525
+ }
3526
+
3527
+ class Fraud < Increase::Internal::Type::BaseModel
3528
+ attr_accessor fraud_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Fraud::fraud_type
3529
+
3530
+ def initialize: (
3531
+ fraud_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Fraud::fraud_type
3532
+ ) -> void
3533
+
3534
+ def to_hash: -> {
3535
+ fraud_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Fraud::fraud_type
3536
+ }
3537
+
3538
+ type fraud_type =
3539
+ :account_or_credentials_takeover
3540
+ | :card_not_received_as_issued
3541
+ | :fraudulent_application
3542
+ | :fraudulent_use_of_account_number
3543
+ | :incorrect_processing
3544
+ | :issuer_reported_counterfeit
3545
+ | :lost
3546
+ | :manipulation_of_account_holder
3547
+ | :merchant_misrepresentation
3548
+ | :miscellaneous
3549
+ | :stolen
3550
+
3551
+ module FraudType
3552
+ extend Increase::Internal::Type::Enum
3553
+
3554
+ # Account or credentials takeover.
3555
+ ACCOUNT_OR_CREDENTIALS_TAKEOVER: :account_or_credentials_takeover
3556
+
3557
+ # Card not received as issued.
3558
+ CARD_NOT_RECEIVED_AS_ISSUED: :card_not_received_as_issued
3559
+
3560
+ # Fraudulent application.
3561
+ FRAUDULENT_APPLICATION: :fraudulent_application
3562
+
3563
+ # Fraudulent use of account number.
3564
+ FRAUDULENT_USE_OF_ACCOUNT_NUMBER: :fraudulent_use_of_account_number
3565
+
3566
+ # Incorrect processing.
3567
+ INCORRECT_PROCESSING: :incorrect_processing
3568
+
3569
+ # Issuer reported counterfeit.
3570
+ ISSUER_REPORTED_COUNTERFEIT: :issuer_reported_counterfeit
3571
+
3572
+ # Lost.
3573
+ LOST: :lost
3574
+
3575
+ # Manipulation of account holder.
3576
+ MANIPULATION_OF_ACCOUNT_HOLDER: :manipulation_of_account_holder
3577
+
3578
+ # Merchant misrepresentation.
3579
+ MERCHANT_MISREPRESENTATION: :merchant_misrepresentation
3580
+
3581
+ # Miscellaneous.
3582
+ MISCELLANEOUS: :miscellaneous
3583
+
3584
+ # Stolen.
3585
+ STOLEN: :stolen
3586
+
3587
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::Fraud::fraud_type]
3588
+ end
3589
+ end
3590
+
3591
+ type processing_error =
3592
+ {
3593
+ duplicate_transaction: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::DuplicateTransaction?,
3594
+ error_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::error_reason,
3595
+ incorrect_amount: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::IncorrectAmount?,
3596
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::merchant_resolution_attempted,
3597
+ paid_by_other_means: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans?
3598
+ }
3599
+
3600
+ class ProcessingError < Increase::Internal::Type::BaseModel
3601
+ attr_accessor duplicate_transaction: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::DuplicateTransaction?
3602
+
3603
+ attr_accessor error_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::error_reason
3604
+
3605
+ attr_accessor incorrect_amount: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::IncorrectAmount?
3606
+
3607
+ attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::merchant_resolution_attempted
3608
+
3609
+ attr_accessor paid_by_other_means: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans?
3610
+
3611
+ def initialize: (
3612
+ duplicate_transaction: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::DuplicateTransaction?,
3613
+ error_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::error_reason,
3614
+ incorrect_amount: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::IncorrectAmount?,
3615
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::merchant_resolution_attempted,
3616
+ paid_by_other_means: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans?
3617
+ ) -> void
3618
+
3619
+ def to_hash: -> {
3620
+ duplicate_transaction: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::DuplicateTransaction?,
3621
+ error_reason: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::error_reason,
3622
+ incorrect_amount: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::IncorrectAmount?,
3623
+ merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::merchant_resolution_attempted,
3624
+ paid_by_other_means: Increase::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans?
3625
+ }
3626
+
3627
+ type duplicate_transaction = { other_transaction_id: String }
3628
+
3629
+ class DuplicateTransaction < Increase::Internal::Type::BaseModel
3630
+ attr_accessor other_transaction_id: String
3631
+
3632
+ def initialize: (other_transaction_id: String) -> void
3633
+
3634
+ def to_hash: -> { other_transaction_id: String }
3635
+ end
3636
+
3637
+ type error_reason =
3638
+ :duplicate_transaction
3639
+ | :incorrect_amount
3640
+ | :paid_by_other_means
3641
+
3642
+ module ErrorReason
3643
+ extend Increase::Internal::Type::Enum
3644
+
3645
+ # Duplicate transaction.
3646
+ DUPLICATE_TRANSACTION: :duplicate_transaction
3647
+
3648
+ # Incorrect amount.
3649
+ INCORRECT_AMOUNT: :incorrect_amount
3650
+
3651
+ # Paid by other means.
3652
+ PAID_BY_OTHER_MEANS: :paid_by_other_means
3653
+
3654
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::error_reason]
3655
+ end
3656
+
3657
+ type incorrect_amount = { expected_amount: Integer }
3658
+
3659
+ class IncorrectAmount < Increase::Internal::Type::BaseModel
3660
+ attr_accessor expected_amount: Integer
3661
+
3662
+ def initialize: (expected_amount: Integer) -> void
3663
+
3664
+ def to_hash: -> { expected_amount: Integer }
3665
+ end
3666
+
3667
+ type merchant_resolution_attempted =
3668
+ :attempted | :prohibited_by_local_law
3669
+
3670
+ module MerchantResolutionAttempted
3671
+ extend Increase::Internal::Type::Enum
3672
+
3673
+ # Attempted.
3674
+ ATTEMPTED: :attempted
3675
+
3676
+ # Prohibited by local law.
3677
+ PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
3678
+
3679
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::merchant_resolution_attempted]
3680
+ end
3681
+
3682
+ type paid_by_other_means =
3683
+ {
3684
+ other_form_of_payment_evidence: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence,
3685
+ other_transaction_id: String?
3686
+ }
3687
+
3688
+ class PaidByOtherMeans < Increase::Internal::Type::BaseModel
3689
+ attr_accessor other_form_of_payment_evidence: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence
3690
+
3691
+ attr_accessor other_transaction_id: String?
3692
+
3693
+ def initialize: (
3694
+ other_form_of_payment_evidence: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence,
3695
+ other_transaction_id: String?
3696
+ ) -> void
3697
+
3698
+ def to_hash: -> {
3699
+ other_form_of_payment_evidence: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence,
3700
+ other_transaction_id: String?
3701
+ }
3702
+
3703
+ type other_form_of_payment_evidence =
3704
+ :canceled_check
3705
+ | :card_transaction
3706
+ | :cash_receipt
3707
+ | :other
3708
+ | :statement
3709
+ | :voucher
3710
+
3711
+ module OtherFormOfPaymentEvidence
3712
+ extend Increase::Internal::Type::Enum
3713
+
3714
+ # Canceled check.
3715
+ CANCELED_CHECK: :canceled_check
3716
+
3717
+ # Card transaction.
3718
+ CARD_TRANSACTION: :card_transaction
3719
+
3720
+ # Cash receipt.
3721
+ CASH_RECEIPT: :cash_receipt
3722
+
3723
+ # Other.
3724
+ OTHER: :other
3725
+
3726
+ # Statement.
3727
+ STATEMENT: :statement
3728
+
3729
+ # Voucher.
3730
+ VOUCHER: :voucher
3731
+
3732
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence]
3733
+ end
3734
+ end
3735
+ end
3736
+ end
3737
+
3738
+ type merchant_prearbitration_decline = { reason: String }
3739
+
3740
+ class MerchantPrearbitrationDecline < Increase::Internal::Type::BaseModel
3741
+ attr_accessor reason: String
3742
+
3743
+ def initialize: (reason: String) -> void
3744
+
3745
+ def to_hash: -> { reason: String }
3746
+ end
3747
+
3748
+ type status =
3749
+ :abandoned
3750
+ | :accepted
3751
+ | :further_information_requested
3752
+ | :pending_reviewing
3753
+
3754
+ module Status
3755
+ extend Increase::Internal::Type::Enum
3756
+
3757
+ # The User Submission was abandoned.
3758
+ ABANDONED: :abandoned
3759
+
3760
+ # The User Submission was accepted.
3761
+ ACCEPTED: :accepted
3762
+
3763
+ # Further information is requested, please resubmit with the requested information.
3764
+ FURTHER_INFORMATION_REQUESTED: :further_information_requested
3765
+
3766
+ # The User Submission is pending review.
3767
+ PENDING_REVIEWING: :pending_reviewing
3768
+
3769
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::status]
3770
+ end
3771
+
3772
+ type user_prearbitration =
3773
+ {
3774
+ category_change: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange?,
3775
+ reason: String
3776
+ }
3777
+
3778
+ class UserPrearbitration < Increase::Internal::Type::BaseModel
3779
+ attr_accessor category_change: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange?
3780
+
3781
+ attr_accessor reason: String
3782
+
3783
+ def initialize: (
3784
+ category_change: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange?,
3785
+ reason: String
3786
+ ) -> void
3787
+
3788
+ def to_hash: -> {
3789
+ category_change: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange?,
3790
+ reason: String
3791
+ }
3792
+
3793
+ type category_change =
3794
+ {
3795
+ category: Increase::Models::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange::category,
3796
+ reason: String
3797
+ }
3798
+
3799
+ class CategoryChange < Increase::Internal::Type::BaseModel
3800
+ attr_accessor category: Increase::Models::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange::category
3801
+
3802
+ attr_accessor reason: String
3803
+
3804
+ def initialize: (
3805
+ category: Increase::Models::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange::category,
3806
+ reason: String
3807
+ ) -> void
3808
+
3809
+ def to_hash: -> {
3810
+ category: Increase::Models::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange::category,
3811
+ reason: String
3812
+ }
3813
+
3814
+ type category =
3815
+ :authorization
3816
+ | :consumer_canceled_merchandise
3817
+ | :consumer_canceled_recurring_transaction
3818
+ | :consumer_canceled_services
3819
+ | :consumer_counterfeit_merchandise
3820
+ | :consumer_credit_not_processed
3821
+ | :consumer_damaged_or_defective_merchandise
3822
+ | :consumer_merchandise_misrepresentation
3823
+ | :consumer_merchandise_not_as_described
3824
+ | :consumer_merchandise_not_received
3825
+ | :consumer_non_receipt_of_cash
3826
+ | :consumer_original_credit_transaction_not_accepted
3827
+ | :consumer_quality_merchandise
3828
+ | :consumer_quality_services
3829
+ | :consumer_services_misrepresentation
3830
+ | :consumer_services_not_as_described
3831
+ | :consumer_services_not_received
3832
+ | :fraud
3833
+ | :processing_error
3834
+
3835
+ module Category
3836
+ extend Increase::Internal::Type::Enum
3837
+
3838
+ # Authorization.
3839
+ AUTHORIZATION: :authorization
3840
+
3841
+ # Consumer: canceled merchandise.
3842
+ CONSUMER_CANCELED_MERCHANDISE: :consumer_canceled_merchandise
3843
+
3844
+ # Consumer: canceled recurring transaction.
3845
+ CONSUMER_CANCELED_RECURRING_TRANSACTION: :consumer_canceled_recurring_transaction
3846
+
3847
+ # Consumer: canceled services.
3848
+ CONSUMER_CANCELED_SERVICES: :consumer_canceled_services
3849
+
3850
+ # Consumer: counterfeit merchandise.
3851
+ CONSUMER_COUNTERFEIT_MERCHANDISE: :consumer_counterfeit_merchandise
3852
+
3853
+ # Consumer: credit not processed.
3854
+ CONSUMER_CREDIT_NOT_PROCESSED: :consumer_credit_not_processed
3855
+
3856
+ # Consumer: damaged or defective merchandise.
3857
+ CONSUMER_DAMAGED_OR_DEFECTIVE_MERCHANDISE: :consumer_damaged_or_defective_merchandise
3858
+
3859
+ # Consumer: merchandise misrepresentation.
3860
+ CONSUMER_MERCHANDISE_MISREPRESENTATION: :consumer_merchandise_misrepresentation
3861
+
3862
+ # Consumer: merchandise not as described.
3863
+ CONSUMER_MERCHANDISE_NOT_AS_DESCRIBED: :consumer_merchandise_not_as_described
3864
+
3865
+ # Consumer: merchandise not received.
3866
+ CONSUMER_MERCHANDISE_NOT_RECEIVED: :consumer_merchandise_not_received
3867
+
3868
+ # Consumer: non-receipt of cash.
3869
+ CONSUMER_NON_RECEIPT_OF_CASH: :consumer_non_receipt_of_cash
3870
+
3871
+ # Consumer: Original Credit Transaction (OCT) not accepted.
3872
+ CONSUMER_ORIGINAL_CREDIT_TRANSACTION_NOT_ACCEPTED: :consumer_original_credit_transaction_not_accepted
3873
+
3874
+ # Consumer: merchandise quality issue.
3875
+ CONSUMER_QUALITY_MERCHANDISE: :consumer_quality_merchandise
3876
+
3877
+ # Consumer: services quality issue.
3878
+ CONSUMER_QUALITY_SERVICES: :consumer_quality_services
3879
+
3880
+ # Consumer: services misrepresentation.
3881
+ CONSUMER_SERVICES_MISREPRESENTATION: :consumer_services_misrepresentation
3882
+
3883
+ # Consumer: services not as described.
3884
+ CONSUMER_SERVICES_NOT_AS_DESCRIBED: :consumer_services_not_as_described
3885
+
3886
+ # Consumer: services not received.
3887
+ CONSUMER_SERVICES_NOT_RECEIVED: :consumer_services_not_received
3888
+
3889
+ # Fraud.
3890
+ FRAUD: :fraud
3891
+
3892
+ # Processing error.
3893
+ PROCESSING_ERROR: :processing_error
3894
+
3895
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange::category]
3896
+ end
3897
+ end
3898
+ end
3899
+ end
3900
+ end
3901
+
3902
+ type win = { won_at: Time }
3903
+
3904
+ class Win < Increase::Internal::Type::BaseModel
3905
+ attr_accessor won_at: Time
3906
+
3907
+ def initialize: (won_at: Time) -> void
3908
+
3909
+ def to_hash: -> { won_at: Time }
3910
+ end
3911
+ end
3912
+ end
3913
+ end