increase 1.98.0 → 1.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +4 -0
- data/lib/increase/models/card_dispute.rb +5021 -0
- data/lib/increase/models/card_dispute_create_params.rb +3265 -0
- data/lib/increase/models/card_dispute_list_params.rb +147 -0
- data/lib/increase/models/card_dispute_retrieve_params.rb +14 -0
- data/lib/increase/models/card_dispute_submit_user_submission_params.rb +3469 -0
- data/lib/increase/models/card_dispute_withdraw_params.rb +14 -0
- data/lib/increase/models/card_payment.rb +13 -4
- data/lib/increase/models/simulations/card_dispute_action_params.rb +214 -0
- data/lib/increase/models.rb +12 -0
- data/lib/increase/resources/card_disputes.rb +154 -0
- data/lib/increase/resources/simulations/card_disputes.rb +48 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +9 -0
- data/rbi/increase/client.rbi +3 -0
- data/rbi/increase/models/card_dispute.rbi +10100 -0
- data/rbi/increase/models/card_dispute_create_params.rbi +6745 -0
- data/rbi/increase/models/card_dispute_list_params.rbi +296 -0
- data/rbi/increase/models/card_dispute_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +7253 -0
- data/rbi/increase/models/card_dispute_withdraw_params.rbi +30 -0
- data/rbi/increase/models/card_payment.rbi +14 -4
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +419 -0
- data/rbi/increase/models.rbi +13 -0
- data/rbi/increase/resources/card_disputes.rbi +136 -0
- data/rbi/increase/resources/simulations/card_disputes.rbi +40 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +2 -0
- data/sig/increase/models/card_dispute.rbs +3913 -0
- data/sig/increase/models/card_dispute_create_params.rbs +2889 -0
- data/sig/increase/models/card_dispute_list_params.rbs +150 -0
- data/sig/increase/models/card_dispute_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_dispute_submit_user_submission_params.rbs +3089 -0
- data/sig/increase/models/card_dispute_withdraw_params.rbs +15 -0
- data/sig/increase/models/card_payment.rbs +5 -0
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +195 -0
- data/sig/increase/models.rbs +12 -0
- data/sig/increase/resources/card_disputes.rbs +44 -0
- data/sig/increase/resources/simulations/card_disputes.rbs +16 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +29 -2
@@ -0,0 +1,2889 @@
|
|
1
|
+
module Increase
|
2
|
+
module Models
|
3
|
+
type card_dispute_create_params =
|
4
|
+
{
|
5
|
+
disputed_transaction_id: String,
|
6
|
+
network: Increase::Models::CardDisputeCreateParams::network,
|
7
|
+
amount: Integer,
|
8
|
+
attachment_files: ::Array[Increase::CardDisputeCreateParams::AttachmentFile],
|
9
|
+
visa: Increase::CardDisputeCreateParams::Visa
|
10
|
+
}
|
11
|
+
& Increase::Internal::Type::request_parameters
|
12
|
+
|
13
|
+
class CardDisputeCreateParams < Increase::Internal::Type::BaseModel
|
14
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
15
|
+
include Increase::Internal::Type::RequestParameters
|
16
|
+
|
17
|
+
attr_accessor disputed_transaction_id: String
|
18
|
+
|
19
|
+
attr_accessor network: Increase::Models::CardDisputeCreateParams::network
|
20
|
+
|
21
|
+
attr_reader amount: Integer?
|
22
|
+
|
23
|
+
def amount=: (Integer) -> Integer
|
24
|
+
|
25
|
+
attr_reader attachment_files: ::Array[Increase::CardDisputeCreateParams::AttachmentFile]?
|
26
|
+
|
27
|
+
def attachment_files=: (
|
28
|
+
::Array[Increase::CardDisputeCreateParams::AttachmentFile]
|
29
|
+
) -> ::Array[Increase::CardDisputeCreateParams::AttachmentFile]
|
30
|
+
|
31
|
+
attr_reader visa: Increase::CardDisputeCreateParams::Visa?
|
32
|
+
|
33
|
+
def visa=: (
|
34
|
+
Increase::CardDisputeCreateParams::Visa
|
35
|
+
) -> Increase::CardDisputeCreateParams::Visa
|
36
|
+
|
37
|
+
def initialize: (
|
38
|
+
disputed_transaction_id: String,
|
39
|
+
network: Increase::Models::CardDisputeCreateParams::network,
|
40
|
+
?amount: Integer,
|
41
|
+
?attachment_files: ::Array[Increase::CardDisputeCreateParams::AttachmentFile],
|
42
|
+
?visa: Increase::CardDisputeCreateParams::Visa,
|
43
|
+
?request_options: Increase::request_opts
|
44
|
+
) -> void
|
45
|
+
|
46
|
+
def to_hash: -> {
|
47
|
+
disputed_transaction_id: String,
|
48
|
+
network: Increase::Models::CardDisputeCreateParams::network,
|
49
|
+
amount: Integer,
|
50
|
+
attachment_files: ::Array[Increase::CardDisputeCreateParams::AttachmentFile],
|
51
|
+
visa: Increase::CardDisputeCreateParams::Visa,
|
52
|
+
request_options: Increase::RequestOptions
|
53
|
+
}
|
54
|
+
|
55
|
+
type network = :visa
|
56
|
+
|
57
|
+
module Network
|
58
|
+
extend Increase::Internal::Type::Enum
|
59
|
+
|
60
|
+
# Visa
|
61
|
+
VISA: :visa
|
62
|
+
|
63
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::network]
|
64
|
+
end
|
65
|
+
|
66
|
+
type attachment_file = { file_id: String }
|
67
|
+
|
68
|
+
class AttachmentFile < Increase::Internal::Type::BaseModel
|
69
|
+
attr_accessor file_id: String
|
70
|
+
|
71
|
+
def initialize: (file_id: String) -> void
|
72
|
+
|
73
|
+
def to_hash: -> { file_id: String }
|
74
|
+
end
|
75
|
+
|
76
|
+
type visa =
|
77
|
+
{
|
78
|
+
category: Increase::Models::CardDisputeCreateParams::Visa::category,
|
79
|
+
authorization: Increase::CardDisputeCreateParams::Visa::Authorization,
|
80
|
+
consumer_canceled_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise,
|
81
|
+
consumer_canceled_recurring_transaction: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction,
|
82
|
+
consumer_canceled_services: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices,
|
83
|
+
consumer_counterfeit_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerCounterfeitMerchandise,
|
84
|
+
consumer_credit_not_processed: Increase::CardDisputeCreateParams::Visa::ConsumerCreditNotProcessed,
|
85
|
+
consumer_damaged_or_defective_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise,
|
86
|
+
consumer_merchandise_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation,
|
87
|
+
consumer_merchandise_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed,
|
88
|
+
consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived,
|
89
|
+
consumer_non_receipt_of_cash: top,
|
90
|
+
consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted,
|
91
|
+
consumer_quality_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise,
|
92
|
+
consumer_quality_services: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices,
|
93
|
+
consumer_services_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation,
|
94
|
+
consumer_services_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed,
|
95
|
+
consumer_services_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived,
|
96
|
+
fraud: Increase::CardDisputeCreateParams::Visa::Fraud,
|
97
|
+
processing_error: Increase::CardDisputeCreateParams::Visa::ProcessingError
|
98
|
+
}
|
99
|
+
|
100
|
+
class Visa < Increase::Internal::Type::BaseModel
|
101
|
+
attr_accessor category: Increase::Models::CardDisputeCreateParams::Visa::category
|
102
|
+
|
103
|
+
attr_reader authorization: Increase::CardDisputeCreateParams::Visa::Authorization?
|
104
|
+
|
105
|
+
def authorization=: (
|
106
|
+
Increase::CardDisputeCreateParams::Visa::Authorization
|
107
|
+
) -> Increase::CardDisputeCreateParams::Visa::Authorization
|
108
|
+
|
109
|
+
attr_reader consumer_canceled_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise?
|
110
|
+
|
111
|
+
def consumer_canceled_merchandise=: (
|
112
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise
|
113
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise
|
114
|
+
|
115
|
+
attr_reader consumer_canceled_recurring_transaction: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction?
|
116
|
+
|
117
|
+
def consumer_canceled_recurring_transaction=: (
|
118
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction
|
119
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction
|
120
|
+
|
121
|
+
attr_reader consumer_canceled_services: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices?
|
122
|
+
|
123
|
+
def consumer_canceled_services=: (
|
124
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices
|
125
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices
|
126
|
+
|
127
|
+
attr_reader consumer_counterfeit_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerCounterfeitMerchandise?
|
128
|
+
|
129
|
+
def consumer_counterfeit_merchandise=: (
|
130
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCounterfeitMerchandise
|
131
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCounterfeitMerchandise
|
132
|
+
|
133
|
+
attr_reader consumer_credit_not_processed: Increase::CardDisputeCreateParams::Visa::ConsumerCreditNotProcessed?
|
134
|
+
|
135
|
+
def consumer_credit_not_processed=: (
|
136
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCreditNotProcessed
|
137
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCreditNotProcessed
|
138
|
+
|
139
|
+
attr_reader consumer_damaged_or_defective_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise?
|
140
|
+
|
141
|
+
def consumer_damaged_or_defective_merchandise=: (
|
142
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise
|
143
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise
|
144
|
+
|
145
|
+
attr_reader consumer_merchandise_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation?
|
146
|
+
|
147
|
+
def consumer_merchandise_misrepresentation=: (
|
148
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation
|
149
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation
|
150
|
+
|
151
|
+
attr_reader consumer_merchandise_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed?
|
152
|
+
|
153
|
+
def consumer_merchandise_not_as_described=: (
|
154
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed
|
155
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed
|
156
|
+
|
157
|
+
attr_reader consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived?
|
158
|
+
|
159
|
+
def consumer_merchandise_not_received=: (
|
160
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived
|
161
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived
|
162
|
+
|
163
|
+
attr_reader consumer_non_receipt_of_cash: top?
|
164
|
+
|
165
|
+
def consumer_non_receipt_of_cash=: (top) -> top
|
166
|
+
|
167
|
+
attr_reader consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted?
|
168
|
+
|
169
|
+
def consumer_original_credit_transaction_not_accepted=: (
|
170
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted
|
171
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted
|
172
|
+
|
173
|
+
attr_reader consumer_quality_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise?
|
174
|
+
|
175
|
+
def consumer_quality_merchandise=: (
|
176
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise
|
177
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise
|
178
|
+
|
179
|
+
attr_reader consumer_quality_services: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices?
|
180
|
+
|
181
|
+
def consumer_quality_services=: (
|
182
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices
|
183
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices
|
184
|
+
|
185
|
+
attr_reader consumer_services_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation?
|
186
|
+
|
187
|
+
def consumer_services_misrepresentation=: (
|
188
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation
|
189
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation
|
190
|
+
|
191
|
+
attr_reader consumer_services_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed?
|
192
|
+
|
193
|
+
def consumer_services_not_as_described=: (
|
194
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed
|
195
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed
|
196
|
+
|
197
|
+
attr_reader consumer_services_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived?
|
198
|
+
|
199
|
+
def consumer_services_not_received=: (
|
200
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived
|
201
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived
|
202
|
+
|
203
|
+
attr_reader fraud: Increase::CardDisputeCreateParams::Visa::Fraud?
|
204
|
+
|
205
|
+
def fraud=: (
|
206
|
+
Increase::CardDisputeCreateParams::Visa::Fraud
|
207
|
+
) -> Increase::CardDisputeCreateParams::Visa::Fraud
|
208
|
+
|
209
|
+
attr_reader processing_error: Increase::CardDisputeCreateParams::Visa::ProcessingError?
|
210
|
+
|
211
|
+
def processing_error=: (
|
212
|
+
Increase::CardDisputeCreateParams::Visa::ProcessingError
|
213
|
+
) -> Increase::CardDisputeCreateParams::Visa::ProcessingError
|
214
|
+
|
215
|
+
def initialize: (
|
216
|
+
category: Increase::Models::CardDisputeCreateParams::Visa::category,
|
217
|
+
?authorization: Increase::CardDisputeCreateParams::Visa::Authorization,
|
218
|
+
?consumer_canceled_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise,
|
219
|
+
?consumer_canceled_recurring_transaction: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction,
|
220
|
+
?consumer_canceled_services: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices,
|
221
|
+
?consumer_counterfeit_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerCounterfeitMerchandise,
|
222
|
+
?consumer_credit_not_processed: Increase::CardDisputeCreateParams::Visa::ConsumerCreditNotProcessed,
|
223
|
+
?consumer_damaged_or_defective_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise,
|
224
|
+
?consumer_merchandise_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation,
|
225
|
+
?consumer_merchandise_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed,
|
226
|
+
?consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived,
|
227
|
+
?consumer_non_receipt_of_cash: top,
|
228
|
+
?consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted,
|
229
|
+
?consumer_quality_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise,
|
230
|
+
?consumer_quality_services: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices,
|
231
|
+
?consumer_services_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation,
|
232
|
+
?consumer_services_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed,
|
233
|
+
?consumer_services_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived,
|
234
|
+
?fraud: Increase::CardDisputeCreateParams::Visa::Fraud,
|
235
|
+
?processing_error: Increase::CardDisputeCreateParams::Visa::ProcessingError
|
236
|
+
) -> void
|
237
|
+
|
238
|
+
def to_hash: -> {
|
239
|
+
category: Increase::Models::CardDisputeCreateParams::Visa::category,
|
240
|
+
authorization: Increase::CardDisputeCreateParams::Visa::Authorization,
|
241
|
+
consumer_canceled_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise,
|
242
|
+
consumer_canceled_recurring_transaction: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction,
|
243
|
+
consumer_canceled_services: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices,
|
244
|
+
consumer_counterfeit_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerCounterfeitMerchandise,
|
245
|
+
consumer_credit_not_processed: Increase::CardDisputeCreateParams::Visa::ConsumerCreditNotProcessed,
|
246
|
+
consumer_damaged_or_defective_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise,
|
247
|
+
consumer_merchandise_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation,
|
248
|
+
consumer_merchandise_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed,
|
249
|
+
consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived,
|
250
|
+
consumer_non_receipt_of_cash: top,
|
251
|
+
consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted,
|
252
|
+
consumer_quality_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise,
|
253
|
+
consumer_quality_services: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices,
|
254
|
+
consumer_services_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation,
|
255
|
+
consumer_services_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed,
|
256
|
+
consumer_services_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived,
|
257
|
+
fraud: Increase::CardDisputeCreateParams::Visa::Fraud,
|
258
|
+
processing_error: Increase::CardDisputeCreateParams::Visa::ProcessingError
|
259
|
+
}
|
260
|
+
|
261
|
+
type category =
|
262
|
+
:authorization
|
263
|
+
| :consumer_canceled_merchandise
|
264
|
+
| :consumer_canceled_recurring_transaction
|
265
|
+
| :consumer_canceled_services
|
266
|
+
| :consumer_counterfeit_merchandise
|
267
|
+
| :consumer_credit_not_processed
|
268
|
+
| :consumer_damaged_or_defective_merchandise
|
269
|
+
| :consumer_merchandise_misrepresentation
|
270
|
+
| :consumer_merchandise_not_as_described
|
271
|
+
| :consumer_merchandise_not_received
|
272
|
+
| :consumer_non_receipt_of_cash
|
273
|
+
| :consumer_original_credit_transaction_not_accepted
|
274
|
+
| :consumer_quality_merchandise
|
275
|
+
| :consumer_quality_services
|
276
|
+
| :consumer_services_misrepresentation
|
277
|
+
| :consumer_services_not_as_described
|
278
|
+
| :consumer_services_not_received
|
279
|
+
| :fraud
|
280
|
+
| :processing_error
|
281
|
+
|
282
|
+
module Category
|
283
|
+
extend Increase::Internal::Type::Enum
|
284
|
+
|
285
|
+
# Authorization.
|
286
|
+
AUTHORIZATION: :authorization
|
287
|
+
|
288
|
+
# Consumer: canceled merchandise.
|
289
|
+
CONSUMER_CANCELED_MERCHANDISE: :consumer_canceled_merchandise
|
290
|
+
|
291
|
+
# Consumer: canceled recurring transaction.
|
292
|
+
CONSUMER_CANCELED_RECURRING_TRANSACTION: :consumer_canceled_recurring_transaction
|
293
|
+
|
294
|
+
# Consumer: canceled services.
|
295
|
+
CONSUMER_CANCELED_SERVICES: :consumer_canceled_services
|
296
|
+
|
297
|
+
# Consumer: counterfeit merchandise.
|
298
|
+
CONSUMER_COUNTERFEIT_MERCHANDISE: :consumer_counterfeit_merchandise
|
299
|
+
|
300
|
+
# Consumer: credit not processed.
|
301
|
+
CONSUMER_CREDIT_NOT_PROCESSED: :consumer_credit_not_processed
|
302
|
+
|
303
|
+
# Consumer: damaged or defective merchandise.
|
304
|
+
CONSUMER_DAMAGED_OR_DEFECTIVE_MERCHANDISE: :consumer_damaged_or_defective_merchandise
|
305
|
+
|
306
|
+
# Consumer: merchandise misrepresentation.
|
307
|
+
CONSUMER_MERCHANDISE_MISREPRESENTATION: :consumer_merchandise_misrepresentation
|
308
|
+
|
309
|
+
# Consumer: merchandise not as described.
|
310
|
+
CONSUMER_MERCHANDISE_NOT_AS_DESCRIBED: :consumer_merchandise_not_as_described
|
311
|
+
|
312
|
+
# Consumer: merchandise not received.
|
313
|
+
CONSUMER_MERCHANDISE_NOT_RECEIVED: :consumer_merchandise_not_received
|
314
|
+
|
315
|
+
# Consumer: non-receipt of cash.
|
316
|
+
CONSUMER_NON_RECEIPT_OF_CASH: :consumer_non_receipt_of_cash
|
317
|
+
|
318
|
+
# Consumer: Original Credit Transaction (OCT) not accepted.
|
319
|
+
CONSUMER_ORIGINAL_CREDIT_TRANSACTION_NOT_ACCEPTED: :consumer_original_credit_transaction_not_accepted
|
320
|
+
|
321
|
+
# Consumer: merchandise quality issue.
|
322
|
+
CONSUMER_QUALITY_MERCHANDISE: :consumer_quality_merchandise
|
323
|
+
|
324
|
+
# Consumer: services quality issue.
|
325
|
+
CONSUMER_QUALITY_SERVICES: :consumer_quality_services
|
326
|
+
|
327
|
+
# Consumer: services misrepresentation.
|
328
|
+
CONSUMER_SERVICES_MISREPRESENTATION: :consumer_services_misrepresentation
|
329
|
+
|
330
|
+
# Consumer: services not as described.
|
331
|
+
CONSUMER_SERVICES_NOT_AS_DESCRIBED: :consumer_services_not_as_described
|
332
|
+
|
333
|
+
# Consumer: services not received.
|
334
|
+
CONSUMER_SERVICES_NOT_RECEIVED: :consumer_services_not_received
|
335
|
+
|
336
|
+
# Fraud.
|
337
|
+
FRAUD: :fraud
|
338
|
+
|
339
|
+
# Processing error.
|
340
|
+
PROCESSING_ERROR: :processing_error
|
341
|
+
|
342
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::category]
|
343
|
+
end
|
344
|
+
|
345
|
+
type authorization =
|
346
|
+
{
|
347
|
+
account_status: Increase::Models::CardDisputeCreateParams::Visa::Authorization::account_status
|
348
|
+
}
|
349
|
+
|
350
|
+
class Authorization < Increase::Internal::Type::BaseModel
|
351
|
+
attr_accessor account_status: Increase::Models::CardDisputeCreateParams::Visa::Authorization::account_status
|
352
|
+
|
353
|
+
def initialize: (
|
354
|
+
account_status: Increase::Models::CardDisputeCreateParams::Visa::Authorization::account_status
|
355
|
+
) -> void
|
356
|
+
|
357
|
+
def to_hash: -> {
|
358
|
+
account_status: Increase::Models::CardDisputeCreateParams::Visa::Authorization::account_status
|
359
|
+
}
|
360
|
+
|
361
|
+
type account_status = :account_closed | :credit_problem | :fraud
|
362
|
+
|
363
|
+
module AccountStatus
|
364
|
+
extend Increase::Internal::Type::Enum
|
365
|
+
|
366
|
+
# Account closed.
|
367
|
+
ACCOUNT_CLOSED: :account_closed
|
368
|
+
|
369
|
+
# Credit problem.
|
370
|
+
CREDIT_PROBLEM: :credit_problem
|
371
|
+
|
372
|
+
# Fraud.
|
373
|
+
FRAUD: :fraud
|
374
|
+
|
375
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::Authorization::account_status]
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
type consumer_canceled_merchandise =
|
380
|
+
{
|
381
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::merchant_resolution_attempted,
|
382
|
+
purchase_explanation: String,
|
383
|
+
received_or_expected_at: Date,
|
384
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::return_outcome,
|
385
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation,
|
386
|
+
not_returned: top,
|
387
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted,
|
388
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned
|
389
|
+
}
|
390
|
+
|
391
|
+
class ConsumerCanceledMerchandise < Increase::Internal::Type::BaseModel
|
392
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::merchant_resolution_attempted
|
393
|
+
|
394
|
+
attr_accessor purchase_explanation: String
|
395
|
+
|
396
|
+
attr_accessor received_or_expected_at: Date
|
397
|
+
|
398
|
+
attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::return_outcome
|
399
|
+
|
400
|
+
attr_reader cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation?
|
401
|
+
|
402
|
+
def cardholder_cancellation=: (
|
403
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation
|
404
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation
|
405
|
+
|
406
|
+
attr_reader not_returned: top?
|
407
|
+
|
408
|
+
def not_returned=: (top) -> top
|
409
|
+
|
410
|
+
attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted?
|
411
|
+
|
412
|
+
def return_attempted=: (
|
413
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted
|
414
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted
|
415
|
+
|
416
|
+
attr_reader returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned?
|
417
|
+
|
418
|
+
def returned=: (
|
419
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned
|
420
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned
|
421
|
+
|
422
|
+
def initialize: (
|
423
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::merchant_resolution_attempted,
|
424
|
+
purchase_explanation: String,
|
425
|
+
received_or_expected_at: Date,
|
426
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::return_outcome,
|
427
|
+
?cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation,
|
428
|
+
?not_returned: top,
|
429
|
+
?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted,
|
430
|
+
?returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned
|
431
|
+
) -> void
|
432
|
+
|
433
|
+
def to_hash: -> {
|
434
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::merchant_resolution_attempted,
|
435
|
+
purchase_explanation: String,
|
436
|
+
received_or_expected_at: Date,
|
437
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::return_outcome,
|
438
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation,
|
439
|
+
not_returned: top,
|
440
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted,
|
441
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned
|
442
|
+
}
|
443
|
+
|
444
|
+
type merchant_resolution_attempted =
|
445
|
+
:attempted | :prohibited_by_local_law
|
446
|
+
|
447
|
+
module MerchantResolutionAttempted
|
448
|
+
extend Increase::Internal::Type::Enum
|
449
|
+
|
450
|
+
# Attempted.
|
451
|
+
ATTEMPTED: :attempted
|
452
|
+
|
453
|
+
# Prohibited by local law.
|
454
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
455
|
+
|
456
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::merchant_resolution_attempted]
|
457
|
+
end
|
458
|
+
|
459
|
+
type return_outcome = :not_returned | :returned | :return_attempted
|
460
|
+
|
461
|
+
module ReturnOutcome
|
462
|
+
extend Increase::Internal::Type::Enum
|
463
|
+
|
464
|
+
# Not returned.
|
465
|
+
NOT_RETURNED: :not_returned
|
466
|
+
|
467
|
+
# Returned.
|
468
|
+
RETURNED: :returned
|
469
|
+
|
470
|
+
# Return attempted.
|
471
|
+
RETURN_ATTEMPTED: :return_attempted
|
472
|
+
|
473
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::return_outcome]
|
474
|
+
end
|
475
|
+
|
476
|
+
type cardholder_cancellation =
|
477
|
+
{
|
478
|
+
canceled_at: Date,
|
479
|
+
canceled_prior_to_ship_date: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date,
|
480
|
+
cancellation_policy_provided: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided,
|
481
|
+
reason: String
|
482
|
+
}
|
483
|
+
|
484
|
+
class CardholderCancellation < Increase::Internal::Type::BaseModel
|
485
|
+
attr_accessor canceled_at: Date
|
486
|
+
|
487
|
+
attr_accessor canceled_prior_to_ship_date: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date
|
488
|
+
|
489
|
+
attr_accessor cancellation_policy_provided: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided
|
490
|
+
|
491
|
+
attr_accessor reason: String
|
492
|
+
|
493
|
+
def initialize: (
|
494
|
+
canceled_at: Date,
|
495
|
+
canceled_prior_to_ship_date: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date,
|
496
|
+
cancellation_policy_provided: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided,
|
497
|
+
reason: String
|
498
|
+
) -> void
|
499
|
+
|
500
|
+
def to_hash: -> {
|
501
|
+
canceled_at: Date,
|
502
|
+
canceled_prior_to_ship_date: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date,
|
503
|
+
cancellation_policy_provided: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided,
|
504
|
+
reason: String
|
505
|
+
}
|
506
|
+
|
507
|
+
type canceled_prior_to_ship_date =
|
508
|
+
:canceled_prior_to_ship_date | :not_canceled_prior_to_ship_date
|
509
|
+
|
510
|
+
module CanceledPriorToShipDate
|
511
|
+
extend Increase::Internal::Type::Enum
|
512
|
+
|
513
|
+
# Canceled prior to ship date.
|
514
|
+
CANCELED_PRIOR_TO_SHIP_DATE: :canceled_prior_to_ship_date
|
515
|
+
|
516
|
+
# Not canceled prior to ship date.
|
517
|
+
NOT_CANCELED_PRIOR_TO_SHIP_DATE: :not_canceled_prior_to_ship_date
|
518
|
+
|
519
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::canceled_prior_to_ship_date]
|
520
|
+
end
|
521
|
+
|
522
|
+
type cancellation_policy_provided = :not_provided | :provided
|
523
|
+
|
524
|
+
module CancellationPolicyProvided
|
525
|
+
extend Increase::Internal::Type::Enum
|
526
|
+
|
527
|
+
# Not provided.
|
528
|
+
NOT_PROVIDED: :not_provided
|
529
|
+
|
530
|
+
# Provided.
|
531
|
+
PROVIDED: :provided
|
532
|
+
|
533
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::cancellation_policy_provided]
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
537
|
+
type return_attempted =
|
538
|
+
{
|
539
|
+
attempt_explanation: String,
|
540
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason,
|
541
|
+
attempted_at: Date,
|
542
|
+
merchandise_disposition: String
|
543
|
+
}
|
544
|
+
|
545
|
+
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
546
|
+
attr_accessor attempt_explanation: String
|
547
|
+
|
548
|
+
attr_accessor attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason
|
549
|
+
|
550
|
+
attr_accessor attempted_at: Date
|
551
|
+
|
552
|
+
attr_accessor merchandise_disposition: String
|
553
|
+
|
554
|
+
def initialize: (
|
555
|
+
attempt_explanation: String,
|
556
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason,
|
557
|
+
attempted_at: Date,
|
558
|
+
merchandise_disposition: String
|
559
|
+
) -> void
|
560
|
+
|
561
|
+
def to_hash: -> {
|
562
|
+
attempt_explanation: String,
|
563
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason,
|
564
|
+
attempted_at: Date,
|
565
|
+
merchandise_disposition: String
|
566
|
+
}
|
567
|
+
|
568
|
+
type attempt_reason =
|
569
|
+
:merchant_not_responding
|
570
|
+
| :no_return_authorization_provided
|
571
|
+
| :no_return_instructions
|
572
|
+
| :requested_not_to_return
|
573
|
+
| :return_not_accepted
|
574
|
+
|
575
|
+
module AttemptReason
|
576
|
+
extend Increase::Internal::Type::Enum
|
577
|
+
|
578
|
+
# Merchant not responding.
|
579
|
+
MERCHANT_NOT_RESPONDING: :merchant_not_responding
|
580
|
+
|
581
|
+
# No return authorization provided.
|
582
|
+
NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
|
583
|
+
|
584
|
+
# No return instructions.
|
585
|
+
NO_RETURN_INSTRUCTIONS: :no_return_instructions
|
586
|
+
|
587
|
+
# Requested not to return.
|
588
|
+
REQUESTED_NOT_TO_RETURN: :requested_not_to_return
|
589
|
+
|
590
|
+
# Return not accepted.
|
591
|
+
RETURN_NOT_ACCEPTED: :return_not_accepted
|
592
|
+
|
593
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted::attempt_reason]
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
597
|
+
type returned =
|
598
|
+
{
|
599
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned::return_method,
|
600
|
+
returned_at: Date,
|
601
|
+
merchant_received_return_at: Date,
|
602
|
+
other_explanation: String,
|
603
|
+
tracking_number: String
|
604
|
+
}
|
605
|
+
|
606
|
+
class Returned < Increase::Internal::Type::BaseModel
|
607
|
+
attr_accessor return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned::return_method
|
608
|
+
|
609
|
+
attr_accessor returned_at: Date
|
610
|
+
|
611
|
+
attr_reader merchant_received_return_at: Date?
|
612
|
+
|
613
|
+
def merchant_received_return_at=: (Date) -> Date
|
614
|
+
|
615
|
+
attr_reader other_explanation: String?
|
616
|
+
|
617
|
+
def other_explanation=: (String) -> String
|
618
|
+
|
619
|
+
attr_reader tracking_number: String?
|
620
|
+
|
621
|
+
def tracking_number=: (String) -> String
|
622
|
+
|
623
|
+
def initialize: (
|
624
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned::return_method,
|
625
|
+
returned_at: Date,
|
626
|
+
?merchant_received_return_at: Date,
|
627
|
+
?other_explanation: String,
|
628
|
+
?tracking_number: String
|
629
|
+
) -> void
|
630
|
+
|
631
|
+
def to_hash: -> {
|
632
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned::return_method,
|
633
|
+
returned_at: Date,
|
634
|
+
merchant_received_return_at: Date,
|
635
|
+
other_explanation: String,
|
636
|
+
tracking_number: String
|
637
|
+
}
|
638
|
+
|
639
|
+
type return_method =
|
640
|
+
:dhl | :face_to_face | :fedex | :other | :postal_service | :ups
|
641
|
+
|
642
|
+
module ReturnMethod
|
643
|
+
extend Increase::Internal::Type::Enum
|
644
|
+
|
645
|
+
# DHL.
|
646
|
+
DHL: :dhl
|
647
|
+
|
648
|
+
# Face-to-face.
|
649
|
+
FACE_TO_FACE: :face_to_face
|
650
|
+
|
651
|
+
# FedEx.
|
652
|
+
FEDEX: :fedex
|
653
|
+
|
654
|
+
# Other.
|
655
|
+
OTHER: :other
|
656
|
+
|
657
|
+
# Postal service.
|
658
|
+
POSTAL_SERVICE: :postal_service
|
659
|
+
|
660
|
+
# UPS.
|
661
|
+
UPS: :ups
|
662
|
+
|
663
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned::return_method]
|
664
|
+
end
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
668
|
+
type consumer_canceled_recurring_transaction =
|
669
|
+
{
|
670
|
+
cancellation_target: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::cancellation_target,
|
671
|
+
merchant_contact_methods: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::MerchantContactMethods,
|
672
|
+
transaction_or_account_canceled_at: Date,
|
673
|
+
other_form_of_payment_explanation: String
|
674
|
+
}
|
675
|
+
|
676
|
+
class ConsumerCanceledRecurringTransaction < Increase::Internal::Type::BaseModel
|
677
|
+
attr_accessor cancellation_target: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::cancellation_target
|
678
|
+
|
679
|
+
attr_accessor merchant_contact_methods: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::MerchantContactMethods
|
680
|
+
|
681
|
+
attr_accessor transaction_or_account_canceled_at: Date
|
682
|
+
|
683
|
+
attr_reader other_form_of_payment_explanation: String?
|
684
|
+
|
685
|
+
def other_form_of_payment_explanation=: (String) -> String
|
686
|
+
|
687
|
+
def initialize: (
|
688
|
+
cancellation_target: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::cancellation_target,
|
689
|
+
merchant_contact_methods: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::MerchantContactMethods,
|
690
|
+
transaction_or_account_canceled_at: Date,
|
691
|
+
?other_form_of_payment_explanation: String
|
692
|
+
) -> void
|
693
|
+
|
694
|
+
def to_hash: -> {
|
695
|
+
cancellation_target: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::cancellation_target,
|
696
|
+
merchant_contact_methods: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::MerchantContactMethods,
|
697
|
+
transaction_or_account_canceled_at: Date,
|
698
|
+
other_form_of_payment_explanation: String
|
699
|
+
}
|
700
|
+
|
701
|
+
type cancellation_target = :account | :transaction
|
702
|
+
|
703
|
+
module CancellationTarget
|
704
|
+
extend Increase::Internal::Type::Enum
|
705
|
+
|
706
|
+
# Account.
|
707
|
+
ACCOUNT: :account
|
708
|
+
|
709
|
+
# Transaction.
|
710
|
+
TRANSACTION: :transaction
|
711
|
+
|
712
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledRecurringTransaction::cancellation_target]
|
713
|
+
end
|
714
|
+
|
715
|
+
type merchant_contact_methods =
|
716
|
+
{
|
717
|
+
application_name: String,
|
718
|
+
call_center_phone_number: String,
|
719
|
+
email_address: String,
|
720
|
+
in_person_address: String,
|
721
|
+
mailing_address: String,
|
722
|
+
text_phone_number: String
|
723
|
+
}
|
724
|
+
|
725
|
+
class MerchantContactMethods < Increase::Internal::Type::BaseModel
|
726
|
+
attr_reader application_name: String?
|
727
|
+
|
728
|
+
def application_name=: (String) -> String
|
729
|
+
|
730
|
+
attr_reader call_center_phone_number: String?
|
731
|
+
|
732
|
+
def call_center_phone_number=: (String) -> String
|
733
|
+
|
734
|
+
attr_reader email_address: String?
|
735
|
+
|
736
|
+
def email_address=: (String) -> String
|
737
|
+
|
738
|
+
attr_reader in_person_address: String?
|
739
|
+
|
740
|
+
def in_person_address=: (String) -> String
|
741
|
+
|
742
|
+
attr_reader mailing_address: String?
|
743
|
+
|
744
|
+
def mailing_address=: (String) -> String
|
745
|
+
|
746
|
+
attr_reader text_phone_number: String?
|
747
|
+
|
748
|
+
def text_phone_number=: (String) -> String
|
749
|
+
|
750
|
+
def initialize: (
|
751
|
+
?application_name: String,
|
752
|
+
?call_center_phone_number: String,
|
753
|
+
?email_address: String,
|
754
|
+
?in_person_address: String,
|
755
|
+
?mailing_address: String,
|
756
|
+
?text_phone_number: String
|
757
|
+
) -> void
|
758
|
+
|
759
|
+
def to_hash: -> {
|
760
|
+
application_name: String,
|
761
|
+
call_center_phone_number: String,
|
762
|
+
email_address: String,
|
763
|
+
in_person_address: String,
|
764
|
+
mailing_address: String,
|
765
|
+
text_phone_number: String
|
766
|
+
}
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
type consumer_canceled_services =
|
771
|
+
{
|
772
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation,
|
773
|
+
contracted_at: Date,
|
774
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::merchant_resolution_attempted,
|
775
|
+
purchase_explanation: String,
|
776
|
+
service_type: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::service_type,
|
777
|
+
guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation,
|
778
|
+
other: top,
|
779
|
+
timeshare: top
|
780
|
+
}
|
781
|
+
|
782
|
+
class ConsumerCanceledServices < Increase::Internal::Type::BaseModel
|
783
|
+
attr_accessor cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation
|
784
|
+
|
785
|
+
attr_accessor contracted_at: Date
|
786
|
+
|
787
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::merchant_resolution_attempted
|
788
|
+
|
789
|
+
attr_accessor purchase_explanation: String
|
790
|
+
|
791
|
+
attr_accessor service_type: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::service_type
|
792
|
+
|
793
|
+
attr_reader guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation?
|
794
|
+
|
795
|
+
def guaranteed_reservation=: (
|
796
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation
|
797
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation
|
798
|
+
|
799
|
+
attr_reader other: top?
|
800
|
+
|
801
|
+
def other=: (top) -> top
|
802
|
+
|
803
|
+
attr_reader timeshare: top?
|
804
|
+
|
805
|
+
def timeshare=: (top) -> top
|
806
|
+
|
807
|
+
def initialize: (
|
808
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation,
|
809
|
+
contracted_at: Date,
|
810
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::merchant_resolution_attempted,
|
811
|
+
purchase_explanation: String,
|
812
|
+
service_type: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::service_type,
|
813
|
+
?guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation,
|
814
|
+
?other: top,
|
815
|
+
?timeshare: top
|
816
|
+
) -> void
|
817
|
+
|
818
|
+
def to_hash: -> {
|
819
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation,
|
820
|
+
contracted_at: Date,
|
821
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::merchant_resolution_attempted,
|
822
|
+
purchase_explanation: String,
|
823
|
+
service_type: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::service_type,
|
824
|
+
guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation,
|
825
|
+
other: top,
|
826
|
+
timeshare: top
|
827
|
+
}
|
828
|
+
|
829
|
+
type cardholder_cancellation =
|
830
|
+
{
|
831
|
+
canceled_at: Date,
|
832
|
+
cancellation_policy_provided: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided,
|
833
|
+
reason: String
|
834
|
+
}
|
835
|
+
|
836
|
+
class CardholderCancellation < Increase::Internal::Type::BaseModel
|
837
|
+
attr_accessor canceled_at: Date
|
838
|
+
|
839
|
+
attr_accessor cancellation_policy_provided: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided
|
840
|
+
|
841
|
+
attr_accessor reason: String
|
842
|
+
|
843
|
+
def initialize: (
|
844
|
+
canceled_at: Date,
|
845
|
+
cancellation_policy_provided: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided,
|
846
|
+
reason: String
|
847
|
+
) -> void
|
848
|
+
|
849
|
+
def to_hash: -> {
|
850
|
+
canceled_at: Date,
|
851
|
+
cancellation_policy_provided: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided,
|
852
|
+
reason: String
|
853
|
+
}
|
854
|
+
|
855
|
+
type cancellation_policy_provided = :not_provided | :provided
|
856
|
+
|
857
|
+
module CancellationPolicyProvided
|
858
|
+
extend Increase::Internal::Type::Enum
|
859
|
+
|
860
|
+
# Not provided.
|
861
|
+
NOT_PROVIDED: :not_provided
|
862
|
+
|
863
|
+
# Provided.
|
864
|
+
PROVIDED: :provided
|
865
|
+
|
866
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation::cancellation_policy_provided]
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
870
|
+
type merchant_resolution_attempted =
|
871
|
+
:attempted | :prohibited_by_local_law
|
872
|
+
|
873
|
+
module MerchantResolutionAttempted
|
874
|
+
extend Increase::Internal::Type::Enum
|
875
|
+
|
876
|
+
# Attempted.
|
877
|
+
ATTEMPTED: :attempted
|
878
|
+
|
879
|
+
# Prohibited by local law.
|
880
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
881
|
+
|
882
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::merchant_resolution_attempted]
|
883
|
+
end
|
884
|
+
|
885
|
+
type service_type = :guaranteed_reservation | :other | :timeshare
|
886
|
+
|
887
|
+
module ServiceType
|
888
|
+
extend Increase::Internal::Type::Enum
|
889
|
+
|
890
|
+
# Guaranteed reservation.
|
891
|
+
GUARANTEED_RESERVATION: :guaranteed_reservation
|
892
|
+
|
893
|
+
# Other.
|
894
|
+
OTHER: :other
|
895
|
+
|
896
|
+
# Timeshare.
|
897
|
+
TIMESHARE: :timeshare
|
898
|
+
|
899
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::service_type]
|
900
|
+
end
|
901
|
+
|
902
|
+
type guaranteed_reservation =
|
903
|
+
{
|
904
|
+
explanation: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::explanation
|
905
|
+
}
|
906
|
+
|
907
|
+
class GuaranteedReservation < Increase::Internal::Type::BaseModel
|
908
|
+
attr_accessor explanation: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::explanation
|
909
|
+
|
910
|
+
def initialize: (
|
911
|
+
explanation: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::explanation
|
912
|
+
) -> void
|
913
|
+
|
914
|
+
def to_hash: -> {
|
915
|
+
explanation: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::explanation
|
916
|
+
}
|
917
|
+
|
918
|
+
type explanation =
|
919
|
+
:cardholder_canceled_prior_to_service
|
920
|
+
| :cardholder_cancellation_attempt_within_24_hours_of_confirmation
|
921
|
+
| :merchant_billed_no_show
|
922
|
+
|
923
|
+
module Explanation
|
924
|
+
extend Increase::Internal::Type::Enum
|
925
|
+
|
926
|
+
# Cardholder canceled prior to service.
|
927
|
+
CARDHOLDER_CANCELED_PRIOR_TO_SERVICE: :cardholder_canceled_prior_to_service
|
928
|
+
|
929
|
+
# Cardholder cancellation attempt within 24 hours of confirmation.
|
930
|
+
CARDHOLDER_CANCELLATION_ATTEMPT_WITHIN_24_HOURS_OF_CONFIRMATION: :cardholder_cancellation_attempt_within_24_hours_of_confirmation
|
931
|
+
|
932
|
+
# Merchant billed for no-show.
|
933
|
+
MERCHANT_BILLED_NO_SHOW: :merchant_billed_no_show
|
934
|
+
|
935
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::explanation]
|
936
|
+
end
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
type consumer_counterfeit_merchandise =
|
941
|
+
{
|
942
|
+
counterfeit_explanation: String,
|
943
|
+
disposition_explanation: String,
|
944
|
+
order_explanation: String,
|
945
|
+
received_at: Date
|
946
|
+
}
|
947
|
+
|
948
|
+
class ConsumerCounterfeitMerchandise < Increase::Internal::Type::BaseModel
|
949
|
+
attr_accessor counterfeit_explanation: String
|
950
|
+
|
951
|
+
attr_accessor disposition_explanation: String
|
952
|
+
|
953
|
+
attr_accessor order_explanation: String
|
954
|
+
|
955
|
+
attr_accessor received_at: Date
|
956
|
+
|
957
|
+
def initialize: (
|
958
|
+
counterfeit_explanation: String,
|
959
|
+
disposition_explanation: String,
|
960
|
+
order_explanation: String,
|
961
|
+
received_at: Date
|
962
|
+
) -> void
|
963
|
+
|
964
|
+
def to_hash: -> {
|
965
|
+
counterfeit_explanation: String,
|
966
|
+
disposition_explanation: String,
|
967
|
+
order_explanation: String,
|
968
|
+
received_at: Date
|
969
|
+
}
|
970
|
+
end
|
971
|
+
|
972
|
+
type consumer_credit_not_processed =
|
973
|
+
{ canceled_or_returned_at: Date, credit_expected_at: Date }
|
974
|
+
|
975
|
+
class ConsumerCreditNotProcessed < Increase::Internal::Type::BaseModel
|
976
|
+
attr_reader canceled_or_returned_at: Date?
|
977
|
+
|
978
|
+
def canceled_or_returned_at=: (Date) -> Date
|
979
|
+
|
980
|
+
attr_reader credit_expected_at: Date?
|
981
|
+
|
982
|
+
def credit_expected_at=: (Date) -> Date
|
983
|
+
|
984
|
+
def initialize: (
|
985
|
+
?canceled_or_returned_at: Date,
|
986
|
+
?credit_expected_at: Date
|
987
|
+
) -> void
|
988
|
+
|
989
|
+
def to_hash: -> {
|
990
|
+
canceled_or_returned_at: Date,
|
991
|
+
credit_expected_at: Date
|
992
|
+
}
|
993
|
+
end
|
994
|
+
|
995
|
+
type consumer_damaged_or_defective_merchandise =
|
996
|
+
{
|
997
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted,
|
998
|
+
order_and_issue_explanation: String,
|
999
|
+
received_at: Date,
|
1000
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome,
|
1001
|
+
not_returned: top,
|
1002
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted,
|
1003
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseModel
|
1007
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted
|
1008
|
+
|
1009
|
+
attr_accessor order_and_issue_explanation: String
|
1010
|
+
|
1011
|
+
attr_accessor received_at: Date
|
1012
|
+
|
1013
|
+
attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome
|
1014
|
+
|
1015
|
+
attr_reader not_returned: top?
|
1016
|
+
|
1017
|
+
def not_returned=: (top) -> top
|
1018
|
+
|
1019
|
+
attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted?
|
1020
|
+
|
1021
|
+
def return_attempted=: (
|
1022
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted
|
1023
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted
|
1024
|
+
|
1025
|
+
attr_reader returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned?
|
1026
|
+
|
1027
|
+
def returned=: (
|
1028
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned
|
1029
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned
|
1030
|
+
|
1031
|
+
def initialize: (
|
1032
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted,
|
1033
|
+
order_and_issue_explanation: String,
|
1034
|
+
received_at: Date,
|
1035
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome,
|
1036
|
+
?not_returned: top,
|
1037
|
+
?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted,
|
1038
|
+
?returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned
|
1039
|
+
) -> void
|
1040
|
+
|
1041
|
+
def to_hash: -> {
|
1042
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted,
|
1043
|
+
order_and_issue_explanation: String,
|
1044
|
+
received_at: Date,
|
1045
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome,
|
1046
|
+
not_returned: top,
|
1047
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted,
|
1048
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
type merchant_resolution_attempted =
|
1052
|
+
:attempted | :prohibited_by_local_law
|
1053
|
+
|
1054
|
+
module MerchantResolutionAttempted
|
1055
|
+
extend Increase::Internal::Type::Enum
|
1056
|
+
|
1057
|
+
# Attempted.
|
1058
|
+
ATTEMPTED: :attempted
|
1059
|
+
|
1060
|
+
# Prohibited by local law.
|
1061
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
1062
|
+
|
1063
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted]
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
type return_outcome = :not_returned | :returned | :return_attempted
|
1067
|
+
|
1068
|
+
module ReturnOutcome
|
1069
|
+
extend Increase::Internal::Type::Enum
|
1070
|
+
|
1071
|
+
# Not returned.
|
1072
|
+
NOT_RETURNED: :not_returned
|
1073
|
+
|
1074
|
+
# Returned.
|
1075
|
+
RETURNED: :returned
|
1076
|
+
|
1077
|
+
# Return attempted.
|
1078
|
+
RETURN_ATTEMPTED: :return_attempted
|
1079
|
+
|
1080
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome]
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
type return_attempted =
|
1084
|
+
{
|
1085
|
+
attempt_explanation: String,
|
1086
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason,
|
1087
|
+
attempted_at: Date,
|
1088
|
+
merchandise_disposition: String
|
1089
|
+
}
|
1090
|
+
|
1091
|
+
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
1092
|
+
attr_accessor attempt_explanation: String
|
1093
|
+
|
1094
|
+
attr_accessor attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason
|
1095
|
+
|
1096
|
+
attr_accessor attempted_at: Date
|
1097
|
+
|
1098
|
+
attr_accessor merchandise_disposition: String
|
1099
|
+
|
1100
|
+
def initialize: (
|
1101
|
+
attempt_explanation: String,
|
1102
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason,
|
1103
|
+
attempted_at: Date,
|
1104
|
+
merchandise_disposition: String
|
1105
|
+
) -> void
|
1106
|
+
|
1107
|
+
def to_hash: -> {
|
1108
|
+
attempt_explanation: String,
|
1109
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason,
|
1110
|
+
attempted_at: Date,
|
1111
|
+
merchandise_disposition: String
|
1112
|
+
}
|
1113
|
+
|
1114
|
+
type attempt_reason =
|
1115
|
+
:merchant_not_responding
|
1116
|
+
| :no_return_authorization_provided
|
1117
|
+
| :no_return_instructions
|
1118
|
+
| :requested_not_to_return
|
1119
|
+
| :return_not_accepted
|
1120
|
+
|
1121
|
+
module AttemptReason
|
1122
|
+
extend Increase::Internal::Type::Enum
|
1123
|
+
|
1124
|
+
# Merchant not responding.
|
1125
|
+
MERCHANT_NOT_RESPONDING: :merchant_not_responding
|
1126
|
+
|
1127
|
+
# No return authorization provided.
|
1128
|
+
NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
|
1129
|
+
|
1130
|
+
# No return instructions.
|
1131
|
+
NO_RETURN_INSTRUCTIONS: :no_return_instructions
|
1132
|
+
|
1133
|
+
# Requested not to return.
|
1134
|
+
REQUESTED_NOT_TO_RETURN: :requested_not_to_return
|
1135
|
+
|
1136
|
+
# Return not accepted.
|
1137
|
+
RETURN_NOT_ACCEPTED: :return_not_accepted
|
1138
|
+
|
1139
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::attempt_reason]
|
1140
|
+
end
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
type returned =
|
1144
|
+
{
|
1145
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method,
|
1146
|
+
returned_at: Date,
|
1147
|
+
merchant_received_return_at: Date,
|
1148
|
+
other_explanation: String,
|
1149
|
+
tracking_number: String
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
class Returned < Increase::Internal::Type::BaseModel
|
1153
|
+
attr_accessor return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method
|
1154
|
+
|
1155
|
+
attr_accessor returned_at: Date
|
1156
|
+
|
1157
|
+
attr_reader merchant_received_return_at: Date?
|
1158
|
+
|
1159
|
+
def merchant_received_return_at=: (Date) -> Date
|
1160
|
+
|
1161
|
+
attr_reader other_explanation: String?
|
1162
|
+
|
1163
|
+
def other_explanation=: (String) -> String
|
1164
|
+
|
1165
|
+
attr_reader tracking_number: String?
|
1166
|
+
|
1167
|
+
def tracking_number=: (String) -> String
|
1168
|
+
|
1169
|
+
def initialize: (
|
1170
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method,
|
1171
|
+
returned_at: Date,
|
1172
|
+
?merchant_received_return_at: Date,
|
1173
|
+
?other_explanation: String,
|
1174
|
+
?tracking_number: String
|
1175
|
+
) -> void
|
1176
|
+
|
1177
|
+
def to_hash: -> {
|
1178
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method,
|
1179
|
+
returned_at: Date,
|
1180
|
+
merchant_received_return_at: Date,
|
1181
|
+
other_explanation: String,
|
1182
|
+
tracking_number: String
|
1183
|
+
}
|
1184
|
+
|
1185
|
+
type return_method =
|
1186
|
+
:dhl | :face_to_face | :fedex | :other | :postal_service | :ups
|
1187
|
+
|
1188
|
+
module ReturnMethod
|
1189
|
+
extend Increase::Internal::Type::Enum
|
1190
|
+
|
1191
|
+
# DHL.
|
1192
|
+
DHL: :dhl
|
1193
|
+
|
1194
|
+
# Face-to-face.
|
1195
|
+
FACE_TO_FACE: :face_to_face
|
1196
|
+
|
1197
|
+
# FedEx.
|
1198
|
+
FEDEX: :fedex
|
1199
|
+
|
1200
|
+
# Other.
|
1201
|
+
OTHER: :other
|
1202
|
+
|
1203
|
+
# Postal service.
|
1204
|
+
POSTAL_SERVICE: :postal_service
|
1205
|
+
|
1206
|
+
# UPS.
|
1207
|
+
UPS: :ups
|
1208
|
+
|
1209
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned::return_method]
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
type consumer_merchandise_misrepresentation =
|
1215
|
+
{
|
1216
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted,
|
1217
|
+
misrepresentation_explanation: String,
|
1218
|
+
purchase_explanation: String,
|
1219
|
+
received_at: Date,
|
1220
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome,
|
1221
|
+
not_returned: top,
|
1222
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted,
|
1223
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
class ConsumerMerchandiseMisrepresentation < Increase::Internal::Type::BaseModel
|
1227
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted
|
1228
|
+
|
1229
|
+
attr_accessor misrepresentation_explanation: String
|
1230
|
+
|
1231
|
+
attr_accessor purchase_explanation: String
|
1232
|
+
|
1233
|
+
attr_accessor received_at: Date
|
1234
|
+
|
1235
|
+
attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome
|
1236
|
+
|
1237
|
+
attr_reader not_returned: top?
|
1238
|
+
|
1239
|
+
def not_returned=: (top) -> top
|
1240
|
+
|
1241
|
+
attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted?
|
1242
|
+
|
1243
|
+
def return_attempted=: (
|
1244
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted
|
1245
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted
|
1246
|
+
|
1247
|
+
attr_reader returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned?
|
1248
|
+
|
1249
|
+
def returned=: (
|
1250
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned
|
1251
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned
|
1252
|
+
|
1253
|
+
def initialize: (
|
1254
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted,
|
1255
|
+
misrepresentation_explanation: String,
|
1256
|
+
purchase_explanation: String,
|
1257
|
+
received_at: Date,
|
1258
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome,
|
1259
|
+
?not_returned: top,
|
1260
|
+
?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted,
|
1261
|
+
?returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned
|
1262
|
+
) -> void
|
1263
|
+
|
1264
|
+
def to_hash: -> {
|
1265
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted,
|
1266
|
+
misrepresentation_explanation: String,
|
1267
|
+
purchase_explanation: String,
|
1268
|
+
received_at: Date,
|
1269
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome,
|
1270
|
+
not_returned: top,
|
1271
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted,
|
1272
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned
|
1273
|
+
}
|
1274
|
+
|
1275
|
+
type merchant_resolution_attempted =
|
1276
|
+
:attempted | :prohibited_by_local_law
|
1277
|
+
|
1278
|
+
module MerchantResolutionAttempted
|
1279
|
+
extend Increase::Internal::Type::Enum
|
1280
|
+
|
1281
|
+
# Attempted.
|
1282
|
+
ATTEMPTED: :attempted
|
1283
|
+
|
1284
|
+
# Prohibited by local law.
|
1285
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
1286
|
+
|
1287
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted]
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
type return_outcome = :not_returned | :returned | :return_attempted
|
1291
|
+
|
1292
|
+
module ReturnOutcome
|
1293
|
+
extend Increase::Internal::Type::Enum
|
1294
|
+
|
1295
|
+
# Not returned.
|
1296
|
+
NOT_RETURNED: :not_returned
|
1297
|
+
|
1298
|
+
# Returned.
|
1299
|
+
RETURNED: :returned
|
1300
|
+
|
1301
|
+
# Return attempted.
|
1302
|
+
RETURN_ATTEMPTED: :return_attempted
|
1303
|
+
|
1304
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome]
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
type return_attempted =
|
1308
|
+
{
|
1309
|
+
attempt_explanation: String,
|
1310
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason,
|
1311
|
+
attempted_at: Date,
|
1312
|
+
merchandise_disposition: String
|
1313
|
+
}
|
1314
|
+
|
1315
|
+
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
1316
|
+
attr_accessor attempt_explanation: String
|
1317
|
+
|
1318
|
+
attr_accessor attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason
|
1319
|
+
|
1320
|
+
attr_accessor attempted_at: Date
|
1321
|
+
|
1322
|
+
attr_accessor merchandise_disposition: String
|
1323
|
+
|
1324
|
+
def initialize: (
|
1325
|
+
attempt_explanation: String,
|
1326
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason,
|
1327
|
+
attempted_at: Date,
|
1328
|
+
merchandise_disposition: String
|
1329
|
+
) -> void
|
1330
|
+
|
1331
|
+
def to_hash: -> {
|
1332
|
+
attempt_explanation: String,
|
1333
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason,
|
1334
|
+
attempted_at: Date,
|
1335
|
+
merchandise_disposition: String
|
1336
|
+
}
|
1337
|
+
|
1338
|
+
type attempt_reason =
|
1339
|
+
:merchant_not_responding
|
1340
|
+
| :no_return_authorization_provided
|
1341
|
+
| :no_return_instructions
|
1342
|
+
| :requested_not_to_return
|
1343
|
+
| :return_not_accepted
|
1344
|
+
|
1345
|
+
module AttemptReason
|
1346
|
+
extend Increase::Internal::Type::Enum
|
1347
|
+
|
1348
|
+
# Merchant not responding.
|
1349
|
+
MERCHANT_NOT_RESPONDING: :merchant_not_responding
|
1350
|
+
|
1351
|
+
# No return authorization provided.
|
1352
|
+
NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
|
1353
|
+
|
1354
|
+
# No return instructions.
|
1355
|
+
NO_RETURN_INSTRUCTIONS: :no_return_instructions
|
1356
|
+
|
1357
|
+
# Requested not to return.
|
1358
|
+
REQUESTED_NOT_TO_RETURN: :requested_not_to_return
|
1359
|
+
|
1360
|
+
# Return not accepted.
|
1361
|
+
RETURN_NOT_ACCEPTED: :return_not_accepted
|
1362
|
+
|
1363
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted::attempt_reason]
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
type returned =
|
1368
|
+
{
|
1369
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned::return_method,
|
1370
|
+
returned_at: Date,
|
1371
|
+
merchant_received_return_at: Date,
|
1372
|
+
other_explanation: String,
|
1373
|
+
tracking_number: String
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
class Returned < Increase::Internal::Type::BaseModel
|
1377
|
+
attr_accessor return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned::return_method
|
1378
|
+
|
1379
|
+
attr_accessor returned_at: Date
|
1380
|
+
|
1381
|
+
attr_reader merchant_received_return_at: Date?
|
1382
|
+
|
1383
|
+
def merchant_received_return_at=: (Date) -> Date
|
1384
|
+
|
1385
|
+
attr_reader other_explanation: String?
|
1386
|
+
|
1387
|
+
def other_explanation=: (String) -> String
|
1388
|
+
|
1389
|
+
attr_reader tracking_number: String?
|
1390
|
+
|
1391
|
+
def tracking_number=: (String) -> String
|
1392
|
+
|
1393
|
+
def initialize: (
|
1394
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned::return_method,
|
1395
|
+
returned_at: Date,
|
1396
|
+
?merchant_received_return_at: Date,
|
1397
|
+
?other_explanation: String,
|
1398
|
+
?tracking_number: String
|
1399
|
+
) -> void
|
1400
|
+
|
1401
|
+
def to_hash: -> {
|
1402
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned::return_method,
|
1403
|
+
returned_at: Date,
|
1404
|
+
merchant_received_return_at: Date,
|
1405
|
+
other_explanation: String,
|
1406
|
+
tracking_number: String
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
type return_method =
|
1410
|
+
:dhl | :face_to_face | :fedex | :other | :postal_service | :ups
|
1411
|
+
|
1412
|
+
module ReturnMethod
|
1413
|
+
extend Increase::Internal::Type::Enum
|
1414
|
+
|
1415
|
+
# DHL.
|
1416
|
+
DHL: :dhl
|
1417
|
+
|
1418
|
+
# Face-to-face.
|
1419
|
+
FACE_TO_FACE: :face_to_face
|
1420
|
+
|
1421
|
+
# FedEx.
|
1422
|
+
FEDEX: :fedex
|
1423
|
+
|
1424
|
+
# Other.
|
1425
|
+
OTHER: :other
|
1426
|
+
|
1427
|
+
# Postal service.
|
1428
|
+
POSTAL_SERVICE: :postal_service
|
1429
|
+
|
1430
|
+
# UPS.
|
1431
|
+
UPS: :ups
|
1432
|
+
|
1433
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned::return_method]
|
1434
|
+
end
|
1435
|
+
end
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
type consumer_merchandise_not_as_described =
|
1439
|
+
{
|
1440
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted,
|
1441
|
+
received_at: Date,
|
1442
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::return_outcome,
|
1443
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted,
|
1444
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned
|
1445
|
+
}
|
1446
|
+
|
1447
|
+
class ConsumerMerchandiseNotAsDescribed < Increase::Internal::Type::BaseModel
|
1448
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted
|
1449
|
+
|
1450
|
+
attr_accessor received_at: Date
|
1451
|
+
|
1452
|
+
attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::return_outcome
|
1453
|
+
|
1454
|
+
attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted?
|
1455
|
+
|
1456
|
+
def return_attempted=: (
|
1457
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted
|
1458
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted
|
1459
|
+
|
1460
|
+
attr_reader returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned?
|
1461
|
+
|
1462
|
+
def returned=: (
|
1463
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned
|
1464
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned
|
1465
|
+
|
1466
|
+
def initialize: (
|
1467
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted,
|
1468
|
+
received_at: Date,
|
1469
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::return_outcome,
|
1470
|
+
?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted,
|
1471
|
+
?returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned
|
1472
|
+
) -> void
|
1473
|
+
|
1474
|
+
def to_hash: -> {
|
1475
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted,
|
1476
|
+
received_at: Date,
|
1477
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::return_outcome,
|
1478
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted,
|
1479
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned
|
1480
|
+
}
|
1481
|
+
|
1482
|
+
type merchant_resolution_attempted =
|
1483
|
+
:attempted | :prohibited_by_local_law
|
1484
|
+
|
1485
|
+
module MerchantResolutionAttempted
|
1486
|
+
extend Increase::Internal::Type::Enum
|
1487
|
+
|
1488
|
+
# Attempted.
|
1489
|
+
ATTEMPTED: :attempted
|
1490
|
+
|
1491
|
+
# Prohibited by local law.
|
1492
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
1493
|
+
|
1494
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::merchant_resolution_attempted]
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
type return_outcome = :returned | :return_attempted
|
1498
|
+
|
1499
|
+
module ReturnOutcome
|
1500
|
+
extend Increase::Internal::Type::Enum
|
1501
|
+
|
1502
|
+
# Returned.
|
1503
|
+
RETURNED: :returned
|
1504
|
+
|
1505
|
+
# Return attempted.
|
1506
|
+
RETURN_ATTEMPTED: :return_attempted
|
1507
|
+
|
1508
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::return_outcome]
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
type return_attempted =
|
1512
|
+
{
|
1513
|
+
attempt_explanation: String,
|
1514
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason,
|
1515
|
+
attempted_at: Date,
|
1516
|
+
merchandise_disposition: String
|
1517
|
+
}
|
1518
|
+
|
1519
|
+
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
1520
|
+
attr_accessor attempt_explanation: String
|
1521
|
+
|
1522
|
+
attr_accessor attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason
|
1523
|
+
|
1524
|
+
attr_accessor attempted_at: Date
|
1525
|
+
|
1526
|
+
attr_accessor merchandise_disposition: String
|
1527
|
+
|
1528
|
+
def initialize: (
|
1529
|
+
attempt_explanation: String,
|
1530
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason,
|
1531
|
+
attempted_at: Date,
|
1532
|
+
merchandise_disposition: String
|
1533
|
+
) -> void
|
1534
|
+
|
1535
|
+
def to_hash: -> {
|
1536
|
+
attempt_explanation: String,
|
1537
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason,
|
1538
|
+
attempted_at: Date,
|
1539
|
+
merchandise_disposition: String
|
1540
|
+
}
|
1541
|
+
|
1542
|
+
type attempt_reason =
|
1543
|
+
:merchant_not_responding
|
1544
|
+
| :no_return_authorization_provided
|
1545
|
+
| :no_return_instructions
|
1546
|
+
| :requested_not_to_return
|
1547
|
+
| :return_not_accepted
|
1548
|
+
|
1549
|
+
module AttemptReason
|
1550
|
+
extend Increase::Internal::Type::Enum
|
1551
|
+
|
1552
|
+
# Merchant not responding.
|
1553
|
+
MERCHANT_NOT_RESPONDING: :merchant_not_responding
|
1554
|
+
|
1555
|
+
# No return authorization provided.
|
1556
|
+
NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
|
1557
|
+
|
1558
|
+
# No return instructions.
|
1559
|
+
NO_RETURN_INSTRUCTIONS: :no_return_instructions
|
1560
|
+
|
1561
|
+
# Requested not to return.
|
1562
|
+
REQUESTED_NOT_TO_RETURN: :requested_not_to_return
|
1563
|
+
|
1564
|
+
# Return not accepted.
|
1565
|
+
RETURN_NOT_ACCEPTED: :return_not_accepted
|
1566
|
+
|
1567
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::ReturnAttempted::attempt_reason]
|
1568
|
+
end
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
type returned =
|
1572
|
+
{
|
1573
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned::return_method,
|
1574
|
+
returned_at: Date,
|
1575
|
+
merchant_received_return_at: Date,
|
1576
|
+
other_explanation: String,
|
1577
|
+
tracking_number: String
|
1578
|
+
}
|
1579
|
+
|
1580
|
+
class Returned < Increase::Internal::Type::BaseModel
|
1581
|
+
attr_accessor return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned::return_method
|
1582
|
+
|
1583
|
+
attr_accessor returned_at: Date
|
1584
|
+
|
1585
|
+
attr_reader merchant_received_return_at: Date?
|
1586
|
+
|
1587
|
+
def merchant_received_return_at=: (Date) -> Date
|
1588
|
+
|
1589
|
+
attr_reader other_explanation: String?
|
1590
|
+
|
1591
|
+
def other_explanation=: (String) -> String
|
1592
|
+
|
1593
|
+
attr_reader tracking_number: String?
|
1594
|
+
|
1595
|
+
def tracking_number=: (String) -> String
|
1596
|
+
|
1597
|
+
def initialize: (
|
1598
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned::return_method,
|
1599
|
+
returned_at: Date,
|
1600
|
+
?merchant_received_return_at: Date,
|
1601
|
+
?other_explanation: String,
|
1602
|
+
?tracking_number: String
|
1603
|
+
) -> void
|
1604
|
+
|
1605
|
+
def to_hash: -> {
|
1606
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned::return_method,
|
1607
|
+
returned_at: Date,
|
1608
|
+
merchant_received_return_at: Date,
|
1609
|
+
other_explanation: String,
|
1610
|
+
tracking_number: String
|
1611
|
+
}
|
1612
|
+
|
1613
|
+
type return_method =
|
1614
|
+
:dhl | :face_to_face | :fedex | :other | :postal_service | :ups
|
1615
|
+
|
1616
|
+
module ReturnMethod
|
1617
|
+
extend Increase::Internal::Type::Enum
|
1618
|
+
|
1619
|
+
# DHL.
|
1620
|
+
DHL: :dhl
|
1621
|
+
|
1622
|
+
# Face-to-face.
|
1623
|
+
FACE_TO_FACE: :face_to_face
|
1624
|
+
|
1625
|
+
# FedEx.
|
1626
|
+
FEDEX: :fedex
|
1627
|
+
|
1628
|
+
# Other.
|
1629
|
+
OTHER: :other
|
1630
|
+
|
1631
|
+
# Postal service.
|
1632
|
+
POSTAL_SERVICE: :postal_service
|
1633
|
+
|
1634
|
+
# UPS.
|
1635
|
+
UPS: :ups
|
1636
|
+
|
1637
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::Returned::return_method]
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
end
|
1641
|
+
|
1642
|
+
type consumer_merchandise_not_received =
|
1643
|
+
{
|
1644
|
+
cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::cancellation_outcome,
|
1645
|
+
delivery_issue: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::delivery_issue,
|
1646
|
+
last_expected_receipt_at: Date,
|
1647
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::merchant_resolution_attempted,
|
1648
|
+
purchase_info_and_explanation: String,
|
1649
|
+
cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt,
|
1650
|
+
delayed: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed,
|
1651
|
+
delivered_to_wrong_location: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation,
|
1652
|
+
merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation,
|
1653
|
+
no_cancellation: top
|
1654
|
+
}
|
1655
|
+
|
1656
|
+
class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel
|
1657
|
+
attr_accessor cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::cancellation_outcome
|
1658
|
+
|
1659
|
+
attr_accessor delivery_issue: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::delivery_issue
|
1660
|
+
|
1661
|
+
attr_accessor last_expected_receipt_at: Date
|
1662
|
+
|
1663
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::merchant_resolution_attempted
|
1664
|
+
|
1665
|
+
attr_accessor purchase_info_and_explanation: String
|
1666
|
+
|
1667
|
+
attr_reader cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt?
|
1668
|
+
|
1669
|
+
def cardholder_cancellation_prior_to_expected_receipt=: (
|
1670
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt
|
1671
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt
|
1672
|
+
|
1673
|
+
attr_reader delayed: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed?
|
1674
|
+
|
1675
|
+
def delayed=: (
|
1676
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed
|
1677
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed
|
1678
|
+
|
1679
|
+
attr_reader delivered_to_wrong_location: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation?
|
1680
|
+
|
1681
|
+
def delivered_to_wrong_location=: (
|
1682
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation
|
1683
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation
|
1684
|
+
|
1685
|
+
attr_reader merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation?
|
1686
|
+
|
1687
|
+
def merchant_cancellation=: (
|
1688
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation
|
1689
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation
|
1690
|
+
|
1691
|
+
attr_reader no_cancellation: top?
|
1692
|
+
|
1693
|
+
def no_cancellation=: (top) -> top
|
1694
|
+
|
1695
|
+
def initialize: (
|
1696
|
+
cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::cancellation_outcome,
|
1697
|
+
delivery_issue: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::delivery_issue,
|
1698
|
+
last_expected_receipt_at: Date,
|
1699
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::merchant_resolution_attempted,
|
1700
|
+
purchase_info_and_explanation: String,
|
1701
|
+
?cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt,
|
1702
|
+
?delayed: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed,
|
1703
|
+
?delivered_to_wrong_location: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation,
|
1704
|
+
?merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation,
|
1705
|
+
?no_cancellation: top
|
1706
|
+
) -> void
|
1707
|
+
|
1708
|
+
def to_hash: -> {
|
1709
|
+
cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::cancellation_outcome,
|
1710
|
+
delivery_issue: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::delivery_issue,
|
1711
|
+
last_expected_receipt_at: Date,
|
1712
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::merchant_resolution_attempted,
|
1713
|
+
purchase_info_and_explanation: String,
|
1714
|
+
cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::CardholderCancellationPriorToExpectedReceipt,
|
1715
|
+
delayed: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed,
|
1716
|
+
delivered_to_wrong_location: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation,
|
1717
|
+
merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation,
|
1718
|
+
no_cancellation: top
|
1719
|
+
}
|
1720
|
+
|
1721
|
+
type cancellation_outcome =
|
1722
|
+
:cardholder_cancellation_prior_to_expected_receipt
|
1723
|
+
| :merchant_cancellation
|
1724
|
+
| :no_cancellation
|
1725
|
+
|
1726
|
+
module CancellationOutcome
|
1727
|
+
extend Increase::Internal::Type::Enum
|
1728
|
+
|
1729
|
+
# Cardholder cancellation prior to expected receipt.
|
1730
|
+
CARDHOLDER_CANCELLATION_PRIOR_TO_EXPECTED_RECEIPT: :cardholder_cancellation_prior_to_expected_receipt
|
1731
|
+
|
1732
|
+
# Merchant cancellation.
|
1733
|
+
MERCHANT_CANCELLATION: :merchant_cancellation
|
1734
|
+
|
1735
|
+
# No cancellation.
|
1736
|
+
NO_CANCELLATION: :no_cancellation
|
1737
|
+
|
1738
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::cancellation_outcome]
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
type delivery_issue = :delayed | :delivered_to_wrong_location
|
1742
|
+
|
1743
|
+
module DeliveryIssue
|
1744
|
+
extend Increase::Internal::Type::Enum
|
1745
|
+
|
1746
|
+
# Delayed.
|
1747
|
+
DELAYED: :delayed
|
1748
|
+
|
1749
|
+
# Delivered to wrong location.
|
1750
|
+
DELIVERED_TO_WRONG_LOCATION: :delivered_to_wrong_location
|
1751
|
+
|
1752
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::delivery_issue]
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
type merchant_resolution_attempted =
|
1756
|
+
:attempted | :prohibited_by_local_law
|
1757
|
+
|
1758
|
+
module MerchantResolutionAttempted
|
1759
|
+
extend Increase::Internal::Type::Enum
|
1760
|
+
|
1761
|
+
# Attempted.
|
1762
|
+
ATTEMPTED: :attempted
|
1763
|
+
|
1764
|
+
# Prohibited by local law.
|
1765
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
1766
|
+
|
1767
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::merchant_resolution_attempted]
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
type cardholder_cancellation_prior_to_expected_receipt =
|
1771
|
+
{ canceled_at: Date, reason: String }
|
1772
|
+
|
1773
|
+
class CardholderCancellationPriorToExpectedReceipt < Increase::Internal::Type::BaseModel
|
1774
|
+
attr_accessor canceled_at: Date
|
1775
|
+
|
1776
|
+
attr_reader reason: String?
|
1777
|
+
|
1778
|
+
def reason=: (String) -> String
|
1779
|
+
|
1780
|
+
def initialize: (canceled_at: Date, ?reason: String) -> void
|
1781
|
+
|
1782
|
+
def to_hash: -> { canceled_at: Date, reason: String }
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
type delayed =
|
1786
|
+
{
|
1787
|
+
explanation: String,
|
1788
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome,
|
1789
|
+
not_returned: top,
|
1790
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted,
|
1791
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned
|
1792
|
+
}
|
1793
|
+
|
1794
|
+
class Delayed < Increase::Internal::Type::BaseModel
|
1795
|
+
attr_accessor explanation: String
|
1796
|
+
|
1797
|
+
attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome
|
1798
|
+
|
1799
|
+
attr_reader not_returned: top?
|
1800
|
+
|
1801
|
+
def not_returned=: (top) -> top
|
1802
|
+
|
1803
|
+
attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted?
|
1804
|
+
|
1805
|
+
def return_attempted=: (
|
1806
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted
|
1807
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted
|
1808
|
+
|
1809
|
+
attr_reader returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned?
|
1810
|
+
|
1811
|
+
def returned=: (
|
1812
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned
|
1813
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned
|
1814
|
+
|
1815
|
+
def initialize: (
|
1816
|
+
explanation: String,
|
1817
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome,
|
1818
|
+
?not_returned: top,
|
1819
|
+
?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted,
|
1820
|
+
?returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned
|
1821
|
+
) -> void
|
1822
|
+
|
1823
|
+
def to_hash: -> {
|
1824
|
+
explanation: String,
|
1825
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome,
|
1826
|
+
not_returned: top,
|
1827
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted,
|
1828
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned
|
1829
|
+
}
|
1830
|
+
|
1831
|
+
type return_outcome = :not_returned | :returned | :return_attempted
|
1832
|
+
|
1833
|
+
module ReturnOutcome
|
1834
|
+
extend Increase::Internal::Type::Enum
|
1835
|
+
|
1836
|
+
# Not returned.
|
1837
|
+
NOT_RETURNED: :not_returned
|
1838
|
+
|
1839
|
+
# Returned.
|
1840
|
+
RETURNED: :returned
|
1841
|
+
|
1842
|
+
# Return attempted.
|
1843
|
+
RETURN_ATTEMPTED: :return_attempted
|
1844
|
+
|
1845
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome]
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
type return_attempted = { attempted_at: Date }
|
1849
|
+
|
1850
|
+
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
1851
|
+
attr_accessor attempted_at: Date
|
1852
|
+
|
1853
|
+
def initialize: (attempted_at: Date) -> void
|
1854
|
+
|
1855
|
+
def to_hash: -> { attempted_at: Date }
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
type returned =
|
1859
|
+
{ merchant_received_return_at: Date, returned_at: Date }
|
1860
|
+
|
1861
|
+
class Returned < Increase::Internal::Type::BaseModel
|
1862
|
+
attr_accessor merchant_received_return_at: Date
|
1863
|
+
|
1864
|
+
attr_accessor returned_at: Date
|
1865
|
+
|
1866
|
+
def initialize: (
|
1867
|
+
merchant_received_return_at: Date,
|
1868
|
+
returned_at: Date
|
1869
|
+
) -> void
|
1870
|
+
|
1871
|
+
def to_hash: -> {
|
1872
|
+
merchant_received_return_at: Date,
|
1873
|
+
returned_at: Date
|
1874
|
+
}
|
1875
|
+
end
|
1876
|
+
end
|
1877
|
+
|
1878
|
+
type delivered_to_wrong_location = { agreed_location: String }
|
1879
|
+
|
1880
|
+
class DeliveredToWrongLocation < Increase::Internal::Type::BaseModel
|
1881
|
+
attr_accessor agreed_location: String
|
1882
|
+
|
1883
|
+
def initialize: (agreed_location: String) -> void
|
1884
|
+
|
1885
|
+
def to_hash: -> { agreed_location: String }
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
type merchant_cancellation = { canceled_at: Date }
|
1889
|
+
|
1890
|
+
class MerchantCancellation < Increase::Internal::Type::BaseModel
|
1891
|
+
attr_accessor canceled_at: Date
|
1892
|
+
|
1893
|
+
def initialize: (canceled_at: Date) -> void
|
1894
|
+
|
1895
|
+
def to_hash: -> { canceled_at: Date }
|
1896
|
+
end
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
type consumer_original_credit_transaction_not_accepted =
|
1900
|
+
{
|
1901
|
+
explanation: String,
|
1902
|
+
reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted::reason
|
1903
|
+
}
|
1904
|
+
|
1905
|
+
class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel
|
1906
|
+
attr_accessor explanation: String
|
1907
|
+
|
1908
|
+
attr_accessor reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted::reason
|
1909
|
+
|
1910
|
+
def initialize: (
|
1911
|
+
explanation: String,
|
1912
|
+
reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted::reason
|
1913
|
+
) -> void
|
1914
|
+
|
1915
|
+
def to_hash: -> {
|
1916
|
+
explanation: String,
|
1917
|
+
reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted::reason
|
1918
|
+
}
|
1919
|
+
|
1920
|
+
type reason =
|
1921
|
+
:prohibited_by_local_laws_or_regulation | :recipient_refused
|
1922
|
+
|
1923
|
+
module Reason
|
1924
|
+
extend Increase::Internal::Type::Enum
|
1925
|
+
|
1926
|
+
# Prohibited by local laws or regulation.
|
1927
|
+
PROHIBITED_BY_LOCAL_LAWS_OR_REGULATION: :prohibited_by_local_laws_or_regulation
|
1928
|
+
|
1929
|
+
# Recipient refused.
|
1930
|
+
RECIPIENT_REFUSED: :recipient_refused
|
1931
|
+
|
1932
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted::reason]
|
1933
|
+
end
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
type consumer_quality_merchandise =
|
1937
|
+
{
|
1938
|
+
expected_at: Date,
|
1939
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::merchant_resolution_attempted,
|
1940
|
+
purchase_info_and_quality_issue: String,
|
1941
|
+
received_at: Date,
|
1942
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome,
|
1943
|
+
not_returned: top,
|
1944
|
+
ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations,
|
1945
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted,
|
1946
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned
|
1947
|
+
}
|
1948
|
+
|
1949
|
+
class ConsumerQualityMerchandise < Increase::Internal::Type::BaseModel
|
1950
|
+
attr_accessor expected_at: Date
|
1951
|
+
|
1952
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::merchant_resolution_attempted
|
1953
|
+
|
1954
|
+
attr_accessor purchase_info_and_quality_issue: String
|
1955
|
+
|
1956
|
+
attr_accessor received_at: Date
|
1957
|
+
|
1958
|
+
attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome
|
1959
|
+
|
1960
|
+
attr_reader not_returned: top?
|
1961
|
+
|
1962
|
+
def not_returned=: (top) -> top
|
1963
|
+
|
1964
|
+
attr_reader ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations?
|
1965
|
+
|
1966
|
+
def ongoing_negotiations=: (
|
1967
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations
|
1968
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations
|
1969
|
+
|
1970
|
+
attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted?
|
1971
|
+
|
1972
|
+
def return_attempted=: (
|
1973
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted
|
1974
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted
|
1975
|
+
|
1976
|
+
attr_reader returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned?
|
1977
|
+
|
1978
|
+
def returned=: (
|
1979
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned
|
1980
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned
|
1981
|
+
|
1982
|
+
def initialize: (
|
1983
|
+
expected_at: Date,
|
1984
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::merchant_resolution_attempted,
|
1985
|
+
purchase_info_and_quality_issue: String,
|
1986
|
+
received_at: Date,
|
1987
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome,
|
1988
|
+
?not_returned: top,
|
1989
|
+
?ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations,
|
1990
|
+
?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted,
|
1991
|
+
?returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned
|
1992
|
+
) -> void
|
1993
|
+
|
1994
|
+
def to_hash: -> {
|
1995
|
+
expected_at: Date,
|
1996
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::merchant_resolution_attempted,
|
1997
|
+
purchase_info_and_quality_issue: String,
|
1998
|
+
received_at: Date,
|
1999
|
+
return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome,
|
2000
|
+
not_returned: top,
|
2001
|
+
ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations,
|
2002
|
+
return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted,
|
2003
|
+
returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned
|
2004
|
+
}
|
2005
|
+
|
2006
|
+
type merchant_resolution_attempted =
|
2007
|
+
:attempted | :prohibited_by_local_law
|
2008
|
+
|
2009
|
+
module MerchantResolutionAttempted
|
2010
|
+
extend Increase::Internal::Type::Enum
|
2011
|
+
|
2012
|
+
# Attempted.
|
2013
|
+
ATTEMPTED: :attempted
|
2014
|
+
|
2015
|
+
# Prohibited by local law.
|
2016
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
2017
|
+
|
2018
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::merchant_resolution_attempted]
|
2019
|
+
end
|
2020
|
+
|
2021
|
+
type return_outcome = :not_returned | :returned | :return_attempted
|
2022
|
+
|
2023
|
+
module ReturnOutcome
|
2024
|
+
extend Increase::Internal::Type::Enum
|
2025
|
+
|
2026
|
+
# Not returned.
|
2027
|
+
NOT_RETURNED: :not_returned
|
2028
|
+
|
2029
|
+
# Returned.
|
2030
|
+
RETURNED: :returned
|
2031
|
+
|
2032
|
+
# Return attempted.
|
2033
|
+
RETURN_ATTEMPTED: :return_attempted
|
2034
|
+
|
2035
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome]
|
2036
|
+
end
|
2037
|
+
|
2038
|
+
type ongoing_negotiations =
|
2039
|
+
{
|
2040
|
+
explanation: String,
|
2041
|
+
issuer_first_notified_at: Date,
|
2042
|
+
started_at: Date
|
2043
|
+
}
|
2044
|
+
|
2045
|
+
class OngoingNegotiations < Increase::Internal::Type::BaseModel
|
2046
|
+
attr_accessor explanation: String
|
2047
|
+
|
2048
|
+
attr_accessor issuer_first_notified_at: Date
|
2049
|
+
|
2050
|
+
attr_accessor started_at: Date
|
2051
|
+
|
2052
|
+
def initialize: (
|
2053
|
+
explanation: String,
|
2054
|
+
issuer_first_notified_at: Date,
|
2055
|
+
started_at: Date
|
2056
|
+
) -> void
|
2057
|
+
|
2058
|
+
def to_hash: -> {
|
2059
|
+
explanation: String,
|
2060
|
+
issuer_first_notified_at: Date,
|
2061
|
+
started_at: Date
|
2062
|
+
}
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
type return_attempted =
|
2066
|
+
{
|
2067
|
+
attempt_explanation: String,
|
2068
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason,
|
2069
|
+
attempted_at: Date,
|
2070
|
+
merchandise_disposition: String
|
2071
|
+
}
|
2072
|
+
|
2073
|
+
class ReturnAttempted < Increase::Internal::Type::BaseModel
|
2074
|
+
attr_accessor attempt_explanation: String
|
2075
|
+
|
2076
|
+
attr_accessor attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason
|
2077
|
+
|
2078
|
+
attr_accessor attempted_at: Date
|
2079
|
+
|
2080
|
+
attr_accessor merchandise_disposition: String
|
2081
|
+
|
2082
|
+
def initialize: (
|
2083
|
+
attempt_explanation: String,
|
2084
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason,
|
2085
|
+
attempted_at: Date,
|
2086
|
+
merchandise_disposition: String
|
2087
|
+
) -> void
|
2088
|
+
|
2089
|
+
def to_hash: -> {
|
2090
|
+
attempt_explanation: String,
|
2091
|
+
attempt_reason: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason,
|
2092
|
+
attempted_at: Date,
|
2093
|
+
merchandise_disposition: String
|
2094
|
+
}
|
2095
|
+
|
2096
|
+
type attempt_reason =
|
2097
|
+
:merchant_not_responding
|
2098
|
+
| :no_return_authorization_provided
|
2099
|
+
| :no_return_instructions
|
2100
|
+
| :requested_not_to_return
|
2101
|
+
| :return_not_accepted
|
2102
|
+
|
2103
|
+
module AttemptReason
|
2104
|
+
extend Increase::Internal::Type::Enum
|
2105
|
+
|
2106
|
+
# Merchant not responding.
|
2107
|
+
MERCHANT_NOT_RESPONDING: :merchant_not_responding
|
2108
|
+
|
2109
|
+
# No return authorization provided.
|
2110
|
+
NO_RETURN_AUTHORIZATION_PROVIDED: :no_return_authorization_provided
|
2111
|
+
|
2112
|
+
# No return instructions.
|
2113
|
+
NO_RETURN_INSTRUCTIONS: :no_return_instructions
|
2114
|
+
|
2115
|
+
# Requested not to return.
|
2116
|
+
REQUESTED_NOT_TO_RETURN: :requested_not_to_return
|
2117
|
+
|
2118
|
+
# Return not accepted.
|
2119
|
+
RETURN_NOT_ACCEPTED: :return_not_accepted
|
2120
|
+
|
2121
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted::attempt_reason]
|
2122
|
+
end
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
type returned =
|
2126
|
+
{
|
2127
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned::return_method,
|
2128
|
+
returned_at: Date,
|
2129
|
+
merchant_received_return_at: Date,
|
2130
|
+
other_explanation: String,
|
2131
|
+
tracking_number: String
|
2132
|
+
}
|
2133
|
+
|
2134
|
+
class Returned < Increase::Internal::Type::BaseModel
|
2135
|
+
attr_accessor return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned::return_method
|
2136
|
+
|
2137
|
+
attr_accessor returned_at: Date
|
2138
|
+
|
2139
|
+
attr_reader merchant_received_return_at: Date?
|
2140
|
+
|
2141
|
+
def merchant_received_return_at=: (Date) -> Date
|
2142
|
+
|
2143
|
+
attr_reader other_explanation: String?
|
2144
|
+
|
2145
|
+
def other_explanation=: (String) -> String
|
2146
|
+
|
2147
|
+
attr_reader tracking_number: String?
|
2148
|
+
|
2149
|
+
def tracking_number=: (String) -> String
|
2150
|
+
|
2151
|
+
def initialize: (
|
2152
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned::return_method,
|
2153
|
+
returned_at: Date,
|
2154
|
+
?merchant_received_return_at: Date,
|
2155
|
+
?other_explanation: String,
|
2156
|
+
?tracking_number: String
|
2157
|
+
) -> void
|
2158
|
+
|
2159
|
+
def to_hash: -> {
|
2160
|
+
return_method: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned::return_method,
|
2161
|
+
returned_at: Date,
|
2162
|
+
merchant_received_return_at: Date,
|
2163
|
+
other_explanation: String,
|
2164
|
+
tracking_number: String
|
2165
|
+
}
|
2166
|
+
|
2167
|
+
type return_method =
|
2168
|
+
:dhl | :face_to_face | :fedex | :other | :postal_service | :ups
|
2169
|
+
|
2170
|
+
module ReturnMethod
|
2171
|
+
extend Increase::Internal::Type::Enum
|
2172
|
+
|
2173
|
+
# DHL.
|
2174
|
+
DHL: :dhl
|
2175
|
+
|
2176
|
+
# Face-to-face.
|
2177
|
+
FACE_TO_FACE: :face_to_face
|
2178
|
+
|
2179
|
+
# FedEx.
|
2180
|
+
FEDEX: :fedex
|
2181
|
+
|
2182
|
+
# Other.
|
2183
|
+
OTHER: :other
|
2184
|
+
|
2185
|
+
# Postal service.
|
2186
|
+
POSTAL_SERVICE: :postal_service
|
2187
|
+
|
2188
|
+
# UPS.
|
2189
|
+
UPS: :ups
|
2190
|
+
|
2191
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned::return_method]
|
2192
|
+
end
|
2193
|
+
end
|
2194
|
+
end
|
2195
|
+
|
2196
|
+
type consumer_quality_services =
|
2197
|
+
{
|
2198
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation,
|
2199
|
+
non_fiat_currency_or_non_fungible_token_related_and_not_matching_description: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description,
|
2200
|
+
purchase_info_and_quality_issue: String,
|
2201
|
+
services_received_at: Date,
|
2202
|
+
cardholder_paid_to_have_work_redone: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::cardholder_paid_to_have_work_redone,
|
2203
|
+
ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::OngoingNegotiations,
|
2204
|
+
restaurant_food_related: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::restaurant_food_related
|
2205
|
+
}
|
2206
|
+
|
2207
|
+
class ConsumerQualityServices < Increase::Internal::Type::BaseModel
|
2208
|
+
attr_accessor cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation
|
2209
|
+
|
2210
|
+
attr_accessor non_fiat_currency_or_non_fungible_token_related_and_not_matching_description: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description
|
2211
|
+
|
2212
|
+
attr_accessor purchase_info_and_quality_issue: String
|
2213
|
+
|
2214
|
+
attr_accessor services_received_at: Date
|
2215
|
+
|
2216
|
+
attr_reader cardholder_paid_to_have_work_redone: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::cardholder_paid_to_have_work_redone?
|
2217
|
+
|
2218
|
+
def cardholder_paid_to_have_work_redone=: (
|
2219
|
+
Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::cardholder_paid_to_have_work_redone
|
2220
|
+
) -> Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::cardholder_paid_to_have_work_redone
|
2221
|
+
|
2222
|
+
attr_reader ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::OngoingNegotiations?
|
2223
|
+
|
2224
|
+
def ongoing_negotiations=: (
|
2225
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::OngoingNegotiations
|
2226
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::OngoingNegotiations
|
2227
|
+
|
2228
|
+
attr_reader restaurant_food_related: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::restaurant_food_related?
|
2229
|
+
|
2230
|
+
def restaurant_food_related=: (
|
2231
|
+
Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::restaurant_food_related
|
2232
|
+
) -> Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::restaurant_food_related
|
2233
|
+
|
2234
|
+
def initialize: (
|
2235
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation,
|
2236
|
+
non_fiat_currency_or_non_fungible_token_related_and_not_matching_description: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description,
|
2237
|
+
purchase_info_and_quality_issue: String,
|
2238
|
+
services_received_at: Date,
|
2239
|
+
?cardholder_paid_to_have_work_redone: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::cardholder_paid_to_have_work_redone,
|
2240
|
+
?ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::OngoingNegotiations,
|
2241
|
+
?restaurant_food_related: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::restaurant_food_related
|
2242
|
+
) -> void
|
2243
|
+
|
2244
|
+
def to_hash: -> {
|
2245
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation,
|
2246
|
+
non_fiat_currency_or_non_fungible_token_related_and_not_matching_description: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description,
|
2247
|
+
purchase_info_and_quality_issue: String,
|
2248
|
+
services_received_at: Date,
|
2249
|
+
cardholder_paid_to_have_work_redone: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::cardholder_paid_to_have_work_redone,
|
2250
|
+
ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices::OngoingNegotiations,
|
2251
|
+
restaurant_food_related: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::restaurant_food_related
|
2252
|
+
}
|
2253
|
+
|
2254
|
+
type cardholder_cancellation =
|
2255
|
+
{
|
2256
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant,
|
2257
|
+
canceled_at: Date,
|
2258
|
+
reason: String
|
2259
|
+
}
|
2260
|
+
|
2261
|
+
class CardholderCancellation < Increase::Internal::Type::BaseModel
|
2262
|
+
attr_accessor accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant
|
2263
|
+
|
2264
|
+
attr_accessor canceled_at: Date
|
2265
|
+
|
2266
|
+
attr_accessor reason: String
|
2267
|
+
|
2268
|
+
def initialize: (
|
2269
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant,
|
2270
|
+
canceled_at: Date,
|
2271
|
+
reason: String
|
2272
|
+
) -> void
|
2273
|
+
|
2274
|
+
def to_hash: -> {
|
2275
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant,
|
2276
|
+
canceled_at: Date,
|
2277
|
+
reason: String
|
2278
|
+
}
|
2279
|
+
|
2280
|
+
type accepted_by_merchant = :accepted | :not_accepted
|
2281
|
+
|
2282
|
+
module AcceptedByMerchant
|
2283
|
+
extend Increase::Internal::Type::Enum
|
2284
|
+
|
2285
|
+
# Accepted.
|
2286
|
+
ACCEPTED: :accepted
|
2287
|
+
|
2288
|
+
# Not accepted.
|
2289
|
+
NOT_ACCEPTED: :not_accepted
|
2290
|
+
|
2291
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::CardholderCancellation::accepted_by_merchant]
|
2292
|
+
end
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
type non_fiat_currency_or_non_fungible_token_related_and_not_matching_description =
|
2296
|
+
:not_related | :related
|
2297
|
+
|
2298
|
+
module NonFiatCurrencyOrNonFungibleTokenRelatedAndNotMatchingDescription
|
2299
|
+
extend Increase::Internal::Type::Enum
|
2300
|
+
|
2301
|
+
# Not related.
|
2302
|
+
NOT_RELATED: :not_related
|
2303
|
+
|
2304
|
+
# Related.
|
2305
|
+
RELATED: :related
|
2306
|
+
|
2307
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::non_fiat_currency_or_non_fungible_token_related_and_not_matching_description]
|
2308
|
+
end
|
2309
|
+
|
2310
|
+
type cardholder_paid_to_have_work_redone =
|
2311
|
+
:did_not_pay_to_have_work_redone | :paid_to_have_work_redone
|
2312
|
+
|
2313
|
+
module CardholderPaidToHaveWorkRedone
|
2314
|
+
extend Increase::Internal::Type::Enum
|
2315
|
+
|
2316
|
+
# Cardholder did not pay to have work redone.
|
2317
|
+
DID_NOT_PAY_TO_HAVE_WORK_REDONE: :did_not_pay_to_have_work_redone
|
2318
|
+
|
2319
|
+
# Cardholder paid to have work redone.
|
2320
|
+
PAID_TO_HAVE_WORK_REDONE: :paid_to_have_work_redone
|
2321
|
+
|
2322
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::cardholder_paid_to_have_work_redone]
|
2323
|
+
end
|
2324
|
+
|
2325
|
+
type ongoing_negotiations =
|
2326
|
+
{
|
2327
|
+
explanation: String,
|
2328
|
+
issuer_first_notified_at: Date,
|
2329
|
+
started_at: Date
|
2330
|
+
}
|
2331
|
+
|
2332
|
+
class OngoingNegotiations < Increase::Internal::Type::BaseModel
|
2333
|
+
attr_accessor explanation: String
|
2334
|
+
|
2335
|
+
attr_accessor issuer_first_notified_at: Date
|
2336
|
+
|
2337
|
+
attr_accessor started_at: Date
|
2338
|
+
|
2339
|
+
def initialize: (
|
2340
|
+
explanation: String,
|
2341
|
+
issuer_first_notified_at: Date,
|
2342
|
+
started_at: Date
|
2343
|
+
) -> void
|
2344
|
+
|
2345
|
+
def to_hash: -> {
|
2346
|
+
explanation: String,
|
2347
|
+
issuer_first_notified_at: Date,
|
2348
|
+
started_at: Date
|
2349
|
+
}
|
2350
|
+
end
|
2351
|
+
|
2352
|
+
type restaurant_food_related = :not_related | :related
|
2353
|
+
|
2354
|
+
module RestaurantFoodRelated
|
2355
|
+
extend Increase::Internal::Type::Enum
|
2356
|
+
|
2357
|
+
# Not related.
|
2358
|
+
NOT_RELATED: :not_related
|
2359
|
+
|
2360
|
+
# Related.
|
2361
|
+
RELATED: :related
|
2362
|
+
|
2363
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityServices::restaurant_food_related]
|
2364
|
+
end
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
type consumer_services_misrepresentation =
|
2368
|
+
{
|
2369
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation,
|
2370
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::merchant_resolution_attempted,
|
2371
|
+
misrepresentation_explanation: String,
|
2372
|
+
purchase_explanation: String,
|
2373
|
+
received_at: Date
|
2374
|
+
}
|
2375
|
+
|
2376
|
+
class ConsumerServicesMisrepresentation < Increase::Internal::Type::BaseModel
|
2377
|
+
attr_accessor cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation
|
2378
|
+
|
2379
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::merchant_resolution_attempted
|
2380
|
+
|
2381
|
+
attr_accessor misrepresentation_explanation: String
|
2382
|
+
|
2383
|
+
attr_accessor purchase_explanation: String
|
2384
|
+
|
2385
|
+
attr_accessor received_at: Date
|
2386
|
+
|
2387
|
+
def initialize: (
|
2388
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation,
|
2389
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::merchant_resolution_attempted,
|
2390
|
+
misrepresentation_explanation: String,
|
2391
|
+
purchase_explanation: String,
|
2392
|
+
received_at: Date
|
2393
|
+
) -> void
|
2394
|
+
|
2395
|
+
def to_hash: -> {
|
2396
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation,
|
2397
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::merchant_resolution_attempted,
|
2398
|
+
misrepresentation_explanation: String,
|
2399
|
+
purchase_explanation: String,
|
2400
|
+
received_at: Date
|
2401
|
+
}
|
2402
|
+
|
2403
|
+
type cardholder_cancellation =
|
2404
|
+
{
|
2405
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant,
|
2406
|
+
canceled_at: Date,
|
2407
|
+
reason: String
|
2408
|
+
}
|
2409
|
+
|
2410
|
+
class CardholderCancellation < Increase::Internal::Type::BaseModel
|
2411
|
+
attr_accessor accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant
|
2412
|
+
|
2413
|
+
attr_accessor canceled_at: Date
|
2414
|
+
|
2415
|
+
attr_accessor reason: String
|
2416
|
+
|
2417
|
+
def initialize: (
|
2418
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant,
|
2419
|
+
canceled_at: Date,
|
2420
|
+
reason: String
|
2421
|
+
) -> void
|
2422
|
+
|
2423
|
+
def to_hash: -> {
|
2424
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant,
|
2425
|
+
canceled_at: Date,
|
2426
|
+
reason: String
|
2427
|
+
}
|
2428
|
+
|
2429
|
+
type accepted_by_merchant = :accepted | :not_accepted
|
2430
|
+
|
2431
|
+
module AcceptedByMerchant
|
2432
|
+
extend Increase::Internal::Type::Enum
|
2433
|
+
|
2434
|
+
# Accepted.
|
2435
|
+
ACCEPTED: :accepted
|
2436
|
+
|
2437
|
+
# Not accepted.
|
2438
|
+
NOT_ACCEPTED: :not_accepted
|
2439
|
+
|
2440
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::CardholderCancellation::accepted_by_merchant]
|
2441
|
+
end
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
type merchant_resolution_attempted =
|
2445
|
+
:attempted | :prohibited_by_local_law
|
2446
|
+
|
2447
|
+
module MerchantResolutionAttempted
|
2448
|
+
extend Increase::Internal::Type::Enum
|
2449
|
+
|
2450
|
+
# Attempted.
|
2451
|
+
ATTEMPTED: :attempted
|
2452
|
+
|
2453
|
+
# Prohibited by local law.
|
2454
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
2455
|
+
|
2456
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesMisrepresentation::merchant_resolution_attempted]
|
2457
|
+
end
|
2458
|
+
end
|
2459
|
+
|
2460
|
+
type consumer_services_not_as_described =
|
2461
|
+
{
|
2462
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation,
|
2463
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
|
2464
|
+
received_at: Date
|
2465
|
+
}
|
2466
|
+
|
2467
|
+
class ConsumerServicesNotAsDescribed < Increase::Internal::Type::BaseModel
|
2468
|
+
attr_accessor cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation
|
2469
|
+
|
2470
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted
|
2471
|
+
|
2472
|
+
attr_accessor received_at: Date
|
2473
|
+
|
2474
|
+
def initialize: (
|
2475
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation,
|
2476
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
|
2477
|
+
received_at: Date
|
2478
|
+
) -> void
|
2479
|
+
|
2480
|
+
def to_hash: -> {
|
2481
|
+
cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation,
|
2482
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
|
2483
|
+
received_at: Date
|
2484
|
+
}
|
2485
|
+
|
2486
|
+
type cardholder_cancellation =
|
2487
|
+
{
|
2488
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant,
|
2489
|
+
canceled_at: Date,
|
2490
|
+
reason: String
|
2491
|
+
}
|
2492
|
+
|
2493
|
+
class CardholderCancellation < Increase::Internal::Type::BaseModel
|
2494
|
+
attr_accessor accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant
|
2495
|
+
|
2496
|
+
attr_accessor canceled_at: Date
|
2497
|
+
|
2498
|
+
attr_accessor reason: String
|
2499
|
+
|
2500
|
+
def initialize: (
|
2501
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant,
|
2502
|
+
canceled_at: Date,
|
2503
|
+
reason: String
|
2504
|
+
) -> void
|
2505
|
+
|
2506
|
+
def to_hash: -> {
|
2507
|
+
accepted_by_merchant: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant,
|
2508
|
+
canceled_at: Date,
|
2509
|
+
reason: String
|
2510
|
+
}
|
2511
|
+
|
2512
|
+
type accepted_by_merchant = :accepted | :not_accepted
|
2513
|
+
|
2514
|
+
module AcceptedByMerchant
|
2515
|
+
extend Increase::Internal::Type::Enum
|
2516
|
+
|
2517
|
+
# Accepted.
|
2518
|
+
ACCEPTED: :accepted
|
2519
|
+
|
2520
|
+
# Not accepted.
|
2521
|
+
NOT_ACCEPTED: :not_accepted
|
2522
|
+
|
2523
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation::accepted_by_merchant]
|
2524
|
+
end
|
2525
|
+
end
|
2526
|
+
|
2527
|
+
type merchant_resolution_attempted =
|
2528
|
+
:attempted | :prohibited_by_local_law
|
2529
|
+
|
2530
|
+
module MerchantResolutionAttempted
|
2531
|
+
extend Increase::Internal::Type::Enum
|
2532
|
+
|
2533
|
+
# Attempted.
|
2534
|
+
ATTEMPTED: :attempted
|
2535
|
+
|
2536
|
+
# Prohibited by local law.
|
2537
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
2538
|
+
|
2539
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted]
|
2540
|
+
end
|
2541
|
+
end
|
2542
|
+
|
2543
|
+
type consumer_services_not_received =
|
2544
|
+
{
|
2545
|
+
cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::cancellation_outcome,
|
2546
|
+
last_expected_receipt_at: Date,
|
2547
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::merchant_resolution_attempted,
|
2548
|
+
purchase_info_and_explanation: String,
|
2549
|
+
cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt,
|
2550
|
+
merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation,
|
2551
|
+
no_cancellation: top
|
2552
|
+
}
|
2553
|
+
|
2554
|
+
class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel
|
2555
|
+
attr_accessor cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::cancellation_outcome
|
2556
|
+
|
2557
|
+
attr_accessor last_expected_receipt_at: Date
|
2558
|
+
|
2559
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::merchant_resolution_attempted
|
2560
|
+
|
2561
|
+
attr_accessor purchase_info_and_explanation: String
|
2562
|
+
|
2563
|
+
attr_reader cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt?
|
2564
|
+
|
2565
|
+
def cardholder_cancellation_prior_to_expected_receipt=: (
|
2566
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt
|
2567
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt
|
2568
|
+
|
2569
|
+
attr_reader merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation?
|
2570
|
+
|
2571
|
+
def merchant_cancellation=: (
|
2572
|
+
Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation
|
2573
|
+
) -> Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation
|
2574
|
+
|
2575
|
+
attr_reader no_cancellation: top?
|
2576
|
+
|
2577
|
+
def no_cancellation=: (top) -> top
|
2578
|
+
|
2579
|
+
def initialize: (
|
2580
|
+
cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::cancellation_outcome,
|
2581
|
+
last_expected_receipt_at: Date,
|
2582
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::merchant_resolution_attempted,
|
2583
|
+
purchase_info_and_explanation: String,
|
2584
|
+
?cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt,
|
2585
|
+
?merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation,
|
2586
|
+
?no_cancellation: top
|
2587
|
+
) -> void
|
2588
|
+
|
2589
|
+
def to_hash: -> {
|
2590
|
+
cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::cancellation_outcome,
|
2591
|
+
last_expected_receipt_at: Date,
|
2592
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::merchant_resolution_attempted,
|
2593
|
+
purchase_info_and_explanation: String,
|
2594
|
+
cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt,
|
2595
|
+
merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation,
|
2596
|
+
no_cancellation: top
|
2597
|
+
}
|
2598
|
+
|
2599
|
+
type cancellation_outcome =
|
2600
|
+
:cardholder_cancellation_prior_to_expected_receipt
|
2601
|
+
| :merchant_cancellation
|
2602
|
+
| :no_cancellation
|
2603
|
+
|
2604
|
+
module CancellationOutcome
|
2605
|
+
extend Increase::Internal::Type::Enum
|
2606
|
+
|
2607
|
+
# Cardholder cancellation prior to expected receipt.
|
2608
|
+
CARDHOLDER_CANCELLATION_PRIOR_TO_EXPECTED_RECEIPT: :cardholder_cancellation_prior_to_expected_receipt
|
2609
|
+
|
2610
|
+
# Merchant cancellation.
|
2611
|
+
MERCHANT_CANCELLATION: :merchant_cancellation
|
2612
|
+
|
2613
|
+
# No cancellation.
|
2614
|
+
NO_CANCELLATION: :no_cancellation
|
2615
|
+
|
2616
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::cancellation_outcome]
|
2617
|
+
end
|
2618
|
+
|
2619
|
+
type merchant_resolution_attempted =
|
2620
|
+
:attempted | :prohibited_by_local_law
|
2621
|
+
|
2622
|
+
module MerchantResolutionAttempted
|
2623
|
+
extend Increase::Internal::Type::Enum
|
2624
|
+
|
2625
|
+
# Attempted.
|
2626
|
+
ATTEMPTED: :attempted
|
2627
|
+
|
2628
|
+
# Prohibited by local law.
|
2629
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
2630
|
+
|
2631
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::merchant_resolution_attempted]
|
2632
|
+
end
|
2633
|
+
|
2634
|
+
type cardholder_cancellation_prior_to_expected_receipt =
|
2635
|
+
{ canceled_at: Date, reason: String }
|
2636
|
+
|
2637
|
+
class CardholderCancellationPriorToExpectedReceipt < Increase::Internal::Type::BaseModel
|
2638
|
+
attr_accessor canceled_at: Date
|
2639
|
+
|
2640
|
+
attr_reader reason: String?
|
2641
|
+
|
2642
|
+
def reason=: (String) -> String
|
2643
|
+
|
2644
|
+
def initialize: (canceled_at: Date, ?reason: String) -> void
|
2645
|
+
|
2646
|
+
def to_hash: -> { canceled_at: Date, reason: String }
|
2647
|
+
end
|
2648
|
+
|
2649
|
+
type merchant_cancellation = { canceled_at: Date }
|
2650
|
+
|
2651
|
+
class MerchantCancellation < Increase::Internal::Type::BaseModel
|
2652
|
+
attr_accessor canceled_at: Date
|
2653
|
+
|
2654
|
+
def initialize: (canceled_at: Date) -> void
|
2655
|
+
|
2656
|
+
def to_hash: -> { canceled_at: Date }
|
2657
|
+
end
|
2658
|
+
end
|
2659
|
+
|
2660
|
+
type fraud =
|
2661
|
+
{
|
2662
|
+
fraud_type: Increase::Models::CardDisputeCreateParams::Visa::Fraud::fraud_type
|
2663
|
+
}
|
2664
|
+
|
2665
|
+
class Fraud < Increase::Internal::Type::BaseModel
|
2666
|
+
attr_accessor fraud_type: Increase::Models::CardDisputeCreateParams::Visa::Fraud::fraud_type
|
2667
|
+
|
2668
|
+
def initialize: (
|
2669
|
+
fraud_type: Increase::Models::CardDisputeCreateParams::Visa::Fraud::fraud_type
|
2670
|
+
) -> void
|
2671
|
+
|
2672
|
+
def to_hash: -> {
|
2673
|
+
fraud_type: Increase::Models::CardDisputeCreateParams::Visa::Fraud::fraud_type
|
2674
|
+
}
|
2675
|
+
|
2676
|
+
type fraud_type =
|
2677
|
+
:account_or_credentials_takeover
|
2678
|
+
| :card_not_received_as_issued
|
2679
|
+
| :fraudulent_application
|
2680
|
+
| :fraudulent_use_of_account_number
|
2681
|
+
| :incorrect_processing
|
2682
|
+
| :issuer_reported_counterfeit
|
2683
|
+
| :lost
|
2684
|
+
| :manipulation_of_account_holder
|
2685
|
+
| :merchant_misrepresentation
|
2686
|
+
| :miscellaneous
|
2687
|
+
| :stolen
|
2688
|
+
|
2689
|
+
module FraudType
|
2690
|
+
extend Increase::Internal::Type::Enum
|
2691
|
+
|
2692
|
+
# Account or credentials takeover.
|
2693
|
+
ACCOUNT_OR_CREDENTIALS_TAKEOVER: :account_or_credentials_takeover
|
2694
|
+
|
2695
|
+
# Card not received as issued.
|
2696
|
+
CARD_NOT_RECEIVED_AS_ISSUED: :card_not_received_as_issued
|
2697
|
+
|
2698
|
+
# Fraudulent application.
|
2699
|
+
FRAUDULENT_APPLICATION: :fraudulent_application
|
2700
|
+
|
2701
|
+
# Fraudulent use of account number.
|
2702
|
+
FRAUDULENT_USE_OF_ACCOUNT_NUMBER: :fraudulent_use_of_account_number
|
2703
|
+
|
2704
|
+
# Incorrect processing.
|
2705
|
+
INCORRECT_PROCESSING: :incorrect_processing
|
2706
|
+
|
2707
|
+
# Issuer reported counterfeit.
|
2708
|
+
ISSUER_REPORTED_COUNTERFEIT: :issuer_reported_counterfeit
|
2709
|
+
|
2710
|
+
# Lost.
|
2711
|
+
LOST: :lost
|
2712
|
+
|
2713
|
+
# Manipulation of account holder.
|
2714
|
+
MANIPULATION_OF_ACCOUNT_HOLDER: :manipulation_of_account_holder
|
2715
|
+
|
2716
|
+
# Merchant misrepresentation.
|
2717
|
+
MERCHANT_MISREPRESENTATION: :merchant_misrepresentation
|
2718
|
+
|
2719
|
+
# Miscellaneous.
|
2720
|
+
MISCELLANEOUS: :miscellaneous
|
2721
|
+
|
2722
|
+
# Stolen.
|
2723
|
+
STOLEN: :stolen
|
2724
|
+
|
2725
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::Fraud::fraud_type]
|
2726
|
+
end
|
2727
|
+
end
|
2728
|
+
|
2729
|
+
type processing_error =
|
2730
|
+
{
|
2731
|
+
error_reason: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::error_reason,
|
2732
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::merchant_resolution_attempted,
|
2733
|
+
duplicate_transaction: Increase::CardDisputeCreateParams::Visa::ProcessingError::DuplicateTransaction,
|
2734
|
+
incorrect_amount: Increase::CardDisputeCreateParams::Visa::ProcessingError::IncorrectAmount,
|
2735
|
+
paid_by_other_means: Increase::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans
|
2736
|
+
}
|
2737
|
+
|
2738
|
+
class ProcessingError < Increase::Internal::Type::BaseModel
|
2739
|
+
attr_accessor error_reason: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::error_reason
|
2740
|
+
|
2741
|
+
attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::merchant_resolution_attempted
|
2742
|
+
|
2743
|
+
attr_reader duplicate_transaction: Increase::CardDisputeCreateParams::Visa::ProcessingError::DuplicateTransaction?
|
2744
|
+
|
2745
|
+
def duplicate_transaction=: (
|
2746
|
+
Increase::CardDisputeCreateParams::Visa::ProcessingError::DuplicateTransaction
|
2747
|
+
) -> Increase::CardDisputeCreateParams::Visa::ProcessingError::DuplicateTransaction
|
2748
|
+
|
2749
|
+
attr_reader incorrect_amount: Increase::CardDisputeCreateParams::Visa::ProcessingError::IncorrectAmount?
|
2750
|
+
|
2751
|
+
def incorrect_amount=: (
|
2752
|
+
Increase::CardDisputeCreateParams::Visa::ProcessingError::IncorrectAmount
|
2753
|
+
) -> Increase::CardDisputeCreateParams::Visa::ProcessingError::IncorrectAmount
|
2754
|
+
|
2755
|
+
attr_reader paid_by_other_means: Increase::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans?
|
2756
|
+
|
2757
|
+
def paid_by_other_means=: (
|
2758
|
+
Increase::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans
|
2759
|
+
) -> Increase::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans
|
2760
|
+
|
2761
|
+
def initialize: (
|
2762
|
+
error_reason: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::error_reason,
|
2763
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::merchant_resolution_attempted,
|
2764
|
+
?duplicate_transaction: Increase::CardDisputeCreateParams::Visa::ProcessingError::DuplicateTransaction,
|
2765
|
+
?incorrect_amount: Increase::CardDisputeCreateParams::Visa::ProcessingError::IncorrectAmount,
|
2766
|
+
?paid_by_other_means: Increase::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans
|
2767
|
+
) -> void
|
2768
|
+
|
2769
|
+
def to_hash: -> {
|
2770
|
+
error_reason: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::error_reason,
|
2771
|
+
merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::merchant_resolution_attempted,
|
2772
|
+
duplicate_transaction: Increase::CardDisputeCreateParams::Visa::ProcessingError::DuplicateTransaction,
|
2773
|
+
incorrect_amount: Increase::CardDisputeCreateParams::Visa::ProcessingError::IncorrectAmount,
|
2774
|
+
paid_by_other_means: Increase::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans
|
2775
|
+
}
|
2776
|
+
|
2777
|
+
type error_reason =
|
2778
|
+
:duplicate_transaction | :incorrect_amount | :paid_by_other_means
|
2779
|
+
|
2780
|
+
module ErrorReason
|
2781
|
+
extend Increase::Internal::Type::Enum
|
2782
|
+
|
2783
|
+
# Duplicate transaction.
|
2784
|
+
DUPLICATE_TRANSACTION: :duplicate_transaction
|
2785
|
+
|
2786
|
+
# Incorrect amount.
|
2787
|
+
INCORRECT_AMOUNT: :incorrect_amount
|
2788
|
+
|
2789
|
+
# Paid by other means.
|
2790
|
+
PAID_BY_OTHER_MEANS: :paid_by_other_means
|
2791
|
+
|
2792
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::error_reason]
|
2793
|
+
end
|
2794
|
+
|
2795
|
+
type merchant_resolution_attempted =
|
2796
|
+
:attempted | :prohibited_by_local_law
|
2797
|
+
|
2798
|
+
module MerchantResolutionAttempted
|
2799
|
+
extend Increase::Internal::Type::Enum
|
2800
|
+
|
2801
|
+
# Attempted.
|
2802
|
+
ATTEMPTED: :attempted
|
2803
|
+
|
2804
|
+
# Prohibited by local law.
|
2805
|
+
PROHIBITED_BY_LOCAL_LAW: :prohibited_by_local_law
|
2806
|
+
|
2807
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::merchant_resolution_attempted]
|
2808
|
+
end
|
2809
|
+
|
2810
|
+
type duplicate_transaction = { other_transaction_id: String }
|
2811
|
+
|
2812
|
+
class DuplicateTransaction < Increase::Internal::Type::BaseModel
|
2813
|
+
attr_accessor other_transaction_id: String
|
2814
|
+
|
2815
|
+
def initialize: (other_transaction_id: String) -> void
|
2816
|
+
|
2817
|
+
def to_hash: -> { other_transaction_id: String }
|
2818
|
+
end
|
2819
|
+
|
2820
|
+
type incorrect_amount = { expected_amount: Integer }
|
2821
|
+
|
2822
|
+
class IncorrectAmount < Increase::Internal::Type::BaseModel
|
2823
|
+
attr_accessor expected_amount: Integer
|
2824
|
+
|
2825
|
+
def initialize: (expected_amount: Integer) -> void
|
2826
|
+
|
2827
|
+
def to_hash: -> { expected_amount: Integer }
|
2828
|
+
end
|
2829
|
+
|
2830
|
+
type paid_by_other_means =
|
2831
|
+
{
|
2832
|
+
other_form_of_payment_evidence: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence,
|
2833
|
+
other_transaction_id: String
|
2834
|
+
}
|
2835
|
+
|
2836
|
+
class PaidByOtherMeans < Increase::Internal::Type::BaseModel
|
2837
|
+
attr_accessor other_form_of_payment_evidence: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence
|
2838
|
+
|
2839
|
+
attr_reader other_transaction_id: String?
|
2840
|
+
|
2841
|
+
def other_transaction_id=: (String) -> String
|
2842
|
+
|
2843
|
+
def initialize: (
|
2844
|
+
other_form_of_payment_evidence: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence,
|
2845
|
+
?other_transaction_id: String
|
2846
|
+
) -> void
|
2847
|
+
|
2848
|
+
def to_hash: -> {
|
2849
|
+
other_form_of_payment_evidence: Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence,
|
2850
|
+
other_transaction_id: String
|
2851
|
+
}
|
2852
|
+
|
2853
|
+
type other_form_of_payment_evidence =
|
2854
|
+
:canceled_check
|
2855
|
+
| :card_transaction
|
2856
|
+
| :cash_receipt
|
2857
|
+
| :other
|
2858
|
+
| :statement
|
2859
|
+
| :voucher
|
2860
|
+
|
2861
|
+
module OtherFormOfPaymentEvidence
|
2862
|
+
extend Increase::Internal::Type::Enum
|
2863
|
+
|
2864
|
+
# Canceled check.
|
2865
|
+
CANCELED_CHECK: :canceled_check
|
2866
|
+
|
2867
|
+
# Card transaction.
|
2868
|
+
CARD_TRANSACTION: :card_transaction
|
2869
|
+
|
2870
|
+
# Cash receipt.
|
2871
|
+
CASH_RECEIPT: :cash_receipt
|
2872
|
+
|
2873
|
+
# Other.
|
2874
|
+
OTHER: :other
|
2875
|
+
|
2876
|
+
# Statement.
|
2877
|
+
STATEMENT: :statement
|
2878
|
+
|
2879
|
+
# Voucher.
|
2880
|
+
VOUCHER: :voucher
|
2881
|
+
|
2882
|
+
def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ProcessingError::PaidByOtherMeans::other_form_of_payment_evidence]
|
2883
|
+
end
|
2884
|
+
end
|
2885
|
+
end
|
2886
|
+
end
|
2887
|
+
end
|
2888
|
+
end
|
2889
|
+
end
|