increase 1.97.1 → 1.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/simulations/card_dispute_action_params.rb +214 -0
- data/lib/increase/models/transaction.rb +12 -12
- data/lib/increase/models/transaction_list_params.rb +2 -2
- 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/simulations/card_dispute_action_params.rbi +419 -0
- data/rbi/increase/models/transaction.rbi +14 -14
- data/rbi/increase/models/transaction_list_params.rbi +2 -2
- 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/simulations/card_dispute_action_params.rbs +195 -0
- data/sig/increase/models/transaction.rbs +2 -2
- data/sig/increase/models/transaction_list_params.rbs +2 -2
- 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,30 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Models
|
5
|
+
class CardDisputeWithdrawParams < Increase::Internal::Type::BaseModel
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
8
|
+
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(
|
12
|
+
Increase::CardDisputeWithdrawParams,
|
13
|
+
Increase::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
16
|
+
|
17
|
+
sig do
|
18
|
+
params(request_options: Increase::RequestOptions::OrHash).returns(
|
19
|
+
T.attached_class
|
20
|
+
)
|
21
|
+
end
|
22
|
+
def self.new(request_options: {})
|
23
|
+
end
|
24
|
+
|
25
|
+
sig { override.returns({ request_options: Increase::RequestOptions }) }
|
26
|
+
def to_hash
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,419 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Models
|
5
|
+
module Simulations
|
6
|
+
class CardDisputeActionParams < Increase::Internal::Type::BaseModel
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
9
|
+
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Increase::Simulations::CardDisputeActionParams,
|
14
|
+
Increase::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
17
|
+
|
18
|
+
# The network of the Card Dispute. Details specific to the network are required
|
19
|
+
# under the sub-object with the same identifier as the network.
|
20
|
+
sig do
|
21
|
+
returns(
|
22
|
+
Increase::Simulations::CardDisputeActionParams::Network::OrSymbol
|
23
|
+
)
|
24
|
+
end
|
25
|
+
attr_accessor :network
|
26
|
+
|
27
|
+
# The Visa-specific parameters for the taking action on the dispute. Required if
|
28
|
+
# and only if `network` is `visa`.
|
29
|
+
sig do
|
30
|
+
returns(
|
31
|
+
T.nilable(Increase::Simulations::CardDisputeActionParams::Visa)
|
32
|
+
)
|
33
|
+
end
|
34
|
+
attr_reader :visa
|
35
|
+
|
36
|
+
sig do
|
37
|
+
params(
|
38
|
+
visa: Increase::Simulations::CardDisputeActionParams::Visa::OrHash
|
39
|
+
).void
|
40
|
+
end
|
41
|
+
attr_writer :visa
|
42
|
+
|
43
|
+
sig do
|
44
|
+
params(
|
45
|
+
network:
|
46
|
+
Increase::Simulations::CardDisputeActionParams::Network::OrSymbol,
|
47
|
+
visa: Increase::Simulations::CardDisputeActionParams::Visa::OrHash,
|
48
|
+
request_options: Increase::RequestOptions::OrHash
|
49
|
+
).returns(T.attached_class)
|
50
|
+
end
|
51
|
+
def self.new(
|
52
|
+
# The network of the Card Dispute. Details specific to the network are required
|
53
|
+
# under the sub-object with the same identifier as the network.
|
54
|
+
network:,
|
55
|
+
# The Visa-specific parameters for the taking action on the dispute. Required if
|
56
|
+
# and only if `network` is `visa`.
|
57
|
+
visa: nil,
|
58
|
+
request_options: {}
|
59
|
+
)
|
60
|
+
end
|
61
|
+
|
62
|
+
sig do
|
63
|
+
override.returns(
|
64
|
+
{
|
65
|
+
network:
|
66
|
+
Increase::Simulations::CardDisputeActionParams::Network::OrSymbol,
|
67
|
+
visa: Increase::Simulations::CardDisputeActionParams::Visa,
|
68
|
+
request_options: Increase::RequestOptions
|
69
|
+
}
|
70
|
+
)
|
71
|
+
end
|
72
|
+
def to_hash
|
73
|
+
end
|
74
|
+
|
75
|
+
# The network of the Card Dispute. Details specific to the network are required
|
76
|
+
# under the sub-object with the same identifier as the network.
|
77
|
+
module Network
|
78
|
+
extend Increase::Internal::Type::Enum
|
79
|
+
|
80
|
+
TaggedSymbol =
|
81
|
+
T.type_alias do
|
82
|
+
T.all(
|
83
|
+
Symbol,
|
84
|
+
Increase::Simulations::CardDisputeActionParams::Network
|
85
|
+
)
|
86
|
+
end
|
87
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
88
|
+
|
89
|
+
# Visa
|
90
|
+
VISA =
|
91
|
+
T.let(
|
92
|
+
:visa,
|
93
|
+
Increase::Simulations::CardDisputeActionParams::Network::TaggedSymbol
|
94
|
+
)
|
95
|
+
|
96
|
+
sig do
|
97
|
+
override.returns(
|
98
|
+
T::Array[
|
99
|
+
Increase::Simulations::CardDisputeActionParams::Network::TaggedSymbol
|
100
|
+
]
|
101
|
+
)
|
102
|
+
end
|
103
|
+
def self.values
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
class Visa < Increase::Internal::Type::BaseModel
|
108
|
+
OrHash =
|
109
|
+
T.type_alias do
|
110
|
+
T.any(
|
111
|
+
Increase::Simulations::CardDisputeActionParams::Visa,
|
112
|
+
Increase::Internal::AnyHash
|
113
|
+
)
|
114
|
+
end
|
115
|
+
|
116
|
+
# The action to take. Details specific to the action are required under the
|
117
|
+
# sub-object with the same identifier as the action.
|
118
|
+
sig do
|
119
|
+
returns(
|
120
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::OrSymbol
|
121
|
+
)
|
122
|
+
end
|
123
|
+
attr_accessor :action
|
124
|
+
|
125
|
+
# The parameters for accepting the chargeback. Required if and only if `action` is
|
126
|
+
# `accept_chargeback`.
|
127
|
+
sig { returns(T.nilable(T.anything)) }
|
128
|
+
attr_reader :accept_chargeback
|
129
|
+
|
130
|
+
sig { params(accept_chargeback: T.anything).void }
|
131
|
+
attr_writer :accept_chargeback
|
132
|
+
|
133
|
+
# The parameters for accepting the user submission. Required if and only if
|
134
|
+
# `action` is `accept_user_submission`.
|
135
|
+
sig { returns(T.nilable(T.anything)) }
|
136
|
+
attr_reader :accept_user_submission
|
137
|
+
|
138
|
+
sig { params(accept_user_submission: T.anything).void }
|
139
|
+
attr_writer :accept_user_submission
|
140
|
+
|
141
|
+
# The parameters for declining the prearbitration. Required if and only if
|
142
|
+
# `action` is `decline_user_prearbitration`.
|
143
|
+
sig { returns(T.nilable(T.anything)) }
|
144
|
+
attr_reader :decline_user_prearbitration
|
145
|
+
|
146
|
+
sig { params(decline_user_prearbitration: T.anything).void }
|
147
|
+
attr_writer :decline_user_prearbitration
|
148
|
+
|
149
|
+
# The parameters for receiving the prearbitration. Required if and only if
|
150
|
+
# `action` is `receive_merchant_prearbitration`.
|
151
|
+
sig { returns(T.nilable(T.anything)) }
|
152
|
+
attr_reader :receive_merchant_prearbitration
|
153
|
+
|
154
|
+
sig { params(receive_merchant_prearbitration: T.anything).void }
|
155
|
+
attr_writer :receive_merchant_prearbitration
|
156
|
+
|
157
|
+
# The parameters for re-presenting the dispute. Required if and only if `action`
|
158
|
+
# is `represent`.
|
159
|
+
sig { returns(T.nilable(T.anything)) }
|
160
|
+
attr_reader :represent
|
161
|
+
|
162
|
+
sig { params(represent: T.anything).void }
|
163
|
+
attr_writer :represent
|
164
|
+
|
165
|
+
# The parameters for requesting further information from the user. Required if and
|
166
|
+
# only if `action` is `request_further_information`.
|
167
|
+
sig do
|
168
|
+
returns(
|
169
|
+
T.nilable(
|
170
|
+
Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation
|
171
|
+
)
|
172
|
+
)
|
173
|
+
end
|
174
|
+
attr_reader :request_further_information
|
175
|
+
|
176
|
+
sig do
|
177
|
+
params(
|
178
|
+
request_further_information:
|
179
|
+
Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation::OrHash
|
180
|
+
).void
|
181
|
+
end
|
182
|
+
attr_writer :request_further_information
|
183
|
+
|
184
|
+
# The parameters for timing out the chargeback. Required if and only if `action`
|
185
|
+
# is `time_out_chargeback`.
|
186
|
+
sig { returns(T.nilable(T.anything)) }
|
187
|
+
attr_reader :time_out_chargeback
|
188
|
+
|
189
|
+
sig { params(time_out_chargeback: T.anything).void }
|
190
|
+
attr_writer :time_out_chargeback
|
191
|
+
|
192
|
+
# The parameters for timing out the merchant prearbitration. Required if and only
|
193
|
+
# if `action` is `time_out_merchant_prearbitration`.
|
194
|
+
sig { returns(T.nilable(T.anything)) }
|
195
|
+
attr_reader :time_out_merchant_prearbitration
|
196
|
+
|
197
|
+
sig { params(time_out_merchant_prearbitration: T.anything).void }
|
198
|
+
attr_writer :time_out_merchant_prearbitration
|
199
|
+
|
200
|
+
# The parameters for timing out the re-presentment. Required if and only if
|
201
|
+
# `action` is `time_out_representment`.
|
202
|
+
sig { returns(T.nilable(T.anything)) }
|
203
|
+
attr_reader :time_out_representment
|
204
|
+
|
205
|
+
sig { params(time_out_representment: T.anything).void }
|
206
|
+
attr_writer :time_out_representment
|
207
|
+
|
208
|
+
# The parameters for timing out the user prearbitration. Required if and only if
|
209
|
+
# `action` is `time_out_user_prearbitration`.
|
210
|
+
sig { returns(T.nilable(T.anything)) }
|
211
|
+
attr_reader :time_out_user_prearbitration
|
212
|
+
|
213
|
+
sig { params(time_out_user_prearbitration: T.anything).void }
|
214
|
+
attr_writer :time_out_user_prearbitration
|
215
|
+
|
216
|
+
# The Visa-specific parameters for the taking action on the dispute. Required if
|
217
|
+
# and only if `network` is `visa`.
|
218
|
+
sig do
|
219
|
+
params(
|
220
|
+
action:
|
221
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::OrSymbol,
|
222
|
+
accept_chargeback: T.anything,
|
223
|
+
accept_user_submission: T.anything,
|
224
|
+
decline_user_prearbitration: T.anything,
|
225
|
+
receive_merchant_prearbitration: T.anything,
|
226
|
+
represent: T.anything,
|
227
|
+
request_further_information:
|
228
|
+
Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation::OrHash,
|
229
|
+
time_out_chargeback: T.anything,
|
230
|
+
time_out_merchant_prearbitration: T.anything,
|
231
|
+
time_out_representment: T.anything,
|
232
|
+
time_out_user_prearbitration: T.anything
|
233
|
+
).returns(T.attached_class)
|
234
|
+
end
|
235
|
+
def self.new(
|
236
|
+
# The action to take. Details specific to the action are required under the
|
237
|
+
# sub-object with the same identifier as the action.
|
238
|
+
action:,
|
239
|
+
# The parameters for accepting the chargeback. Required if and only if `action` is
|
240
|
+
# `accept_chargeback`.
|
241
|
+
accept_chargeback: nil,
|
242
|
+
# The parameters for accepting the user submission. Required if and only if
|
243
|
+
# `action` is `accept_user_submission`.
|
244
|
+
accept_user_submission: nil,
|
245
|
+
# The parameters for declining the prearbitration. Required if and only if
|
246
|
+
# `action` is `decline_user_prearbitration`.
|
247
|
+
decline_user_prearbitration: nil,
|
248
|
+
# The parameters for receiving the prearbitration. Required if and only if
|
249
|
+
# `action` is `receive_merchant_prearbitration`.
|
250
|
+
receive_merchant_prearbitration: nil,
|
251
|
+
# The parameters for re-presenting the dispute. Required if and only if `action`
|
252
|
+
# is `represent`.
|
253
|
+
represent: nil,
|
254
|
+
# The parameters for requesting further information from the user. Required if and
|
255
|
+
# only if `action` is `request_further_information`.
|
256
|
+
request_further_information: nil,
|
257
|
+
# The parameters for timing out the chargeback. Required if and only if `action`
|
258
|
+
# is `time_out_chargeback`.
|
259
|
+
time_out_chargeback: nil,
|
260
|
+
# The parameters for timing out the merchant prearbitration. Required if and only
|
261
|
+
# if `action` is `time_out_merchant_prearbitration`.
|
262
|
+
time_out_merchant_prearbitration: nil,
|
263
|
+
# The parameters for timing out the re-presentment. Required if and only if
|
264
|
+
# `action` is `time_out_representment`.
|
265
|
+
time_out_representment: nil,
|
266
|
+
# The parameters for timing out the user prearbitration. Required if and only if
|
267
|
+
# `action` is `time_out_user_prearbitration`.
|
268
|
+
time_out_user_prearbitration: nil
|
269
|
+
)
|
270
|
+
end
|
271
|
+
|
272
|
+
sig do
|
273
|
+
override.returns(
|
274
|
+
{
|
275
|
+
action:
|
276
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::OrSymbol,
|
277
|
+
accept_chargeback: T.anything,
|
278
|
+
accept_user_submission: T.anything,
|
279
|
+
decline_user_prearbitration: T.anything,
|
280
|
+
receive_merchant_prearbitration: T.anything,
|
281
|
+
represent: T.anything,
|
282
|
+
request_further_information:
|
283
|
+
Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation,
|
284
|
+
time_out_chargeback: T.anything,
|
285
|
+
time_out_merchant_prearbitration: T.anything,
|
286
|
+
time_out_representment: T.anything,
|
287
|
+
time_out_user_prearbitration: T.anything
|
288
|
+
}
|
289
|
+
)
|
290
|
+
end
|
291
|
+
def to_hash
|
292
|
+
end
|
293
|
+
|
294
|
+
# The action to take. Details specific to the action are required under the
|
295
|
+
# sub-object with the same identifier as the action.
|
296
|
+
module Action
|
297
|
+
extend Increase::Internal::Type::Enum
|
298
|
+
|
299
|
+
TaggedSymbol =
|
300
|
+
T.type_alias do
|
301
|
+
T.all(
|
302
|
+
Symbol,
|
303
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action
|
304
|
+
)
|
305
|
+
end
|
306
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
307
|
+
|
308
|
+
# Simulate the merchant accepting the chargeback. This will move the dispute to a `won` state.
|
309
|
+
ACCEPT_CHARGEBACK =
|
310
|
+
T.let(
|
311
|
+
:accept_chargeback,
|
312
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
313
|
+
)
|
314
|
+
|
315
|
+
# Accept the user's submission and transmit it to the network. This will move the dispute to a `pending_response` state.
|
316
|
+
ACCEPT_USER_SUBMISSION =
|
317
|
+
T.let(
|
318
|
+
:accept_user_submission,
|
319
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
320
|
+
)
|
321
|
+
|
322
|
+
# Simulate the merchant declining the user's pre-arbitration. This will move the dispute to a `lost` state.
|
323
|
+
DECLINE_USER_PREARBITRATION =
|
324
|
+
T.let(
|
325
|
+
:decline_user_prearbitration,
|
326
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
327
|
+
)
|
328
|
+
|
329
|
+
# Simulate the merchant issuing pre-arbitration. This will move the dispute to a `user_submission_required` state.
|
330
|
+
RECEIVE_MERCHANT_PREARBITRATION =
|
331
|
+
T.let(
|
332
|
+
:receive_merchant_prearbitration,
|
333
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
334
|
+
)
|
335
|
+
|
336
|
+
# Simulate the merchant re-presenting the dispute. This will move the dispute to a `user_submission_required` state.
|
337
|
+
REPRESENT =
|
338
|
+
T.let(
|
339
|
+
:represent,
|
340
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
341
|
+
)
|
342
|
+
|
343
|
+
# Simulate further information being requested from the user. This will move the dispute to a `user_submission_required` state.
|
344
|
+
REQUEST_FURTHER_INFORMATION =
|
345
|
+
T.let(
|
346
|
+
:request_further_information,
|
347
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
348
|
+
)
|
349
|
+
|
350
|
+
# Simulate the merchant timing out responding to the chargeback. This will move the dispute to a `won` state.
|
351
|
+
TIME_OUT_CHARGEBACK =
|
352
|
+
T.let(
|
353
|
+
:time_out_chargeback,
|
354
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
355
|
+
)
|
356
|
+
|
357
|
+
# Simulate the user timing out responding to a merchant pre-arbitration. This will move the dispute to a `lost` state.
|
358
|
+
TIME_OUT_MERCHANT_PREARBITRATION =
|
359
|
+
T.let(
|
360
|
+
:time_out_merchant_prearbitration,
|
361
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
362
|
+
)
|
363
|
+
|
364
|
+
# Simulate the user timing out responding to a merchant re-presentment. This will move the dispute to a `lost` state.
|
365
|
+
TIME_OUT_REPRESENTMENT =
|
366
|
+
T.let(
|
367
|
+
:time_out_representment,
|
368
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
369
|
+
)
|
370
|
+
|
371
|
+
# Simulate the merchant timing out responding to a user pre-arbitration. This will move the dispute to a `win` state.
|
372
|
+
TIME_OUT_USER_PREARBITRATION =
|
373
|
+
T.let(
|
374
|
+
:time_out_user_prearbitration,
|
375
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
376
|
+
)
|
377
|
+
|
378
|
+
sig do
|
379
|
+
override.returns(
|
380
|
+
T::Array[
|
381
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
382
|
+
]
|
383
|
+
)
|
384
|
+
end
|
385
|
+
def self.values
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
class RequestFurtherInformation < Increase::Internal::Type::BaseModel
|
390
|
+
OrHash =
|
391
|
+
T.type_alias do
|
392
|
+
T.any(
|
393
|
+
Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation,
|
394
|
+
Increase::Internal::AnyHash
|
395
|
+
)
|
396
|
+
end
|
397
|
+
|
398
|
+
# The reason for requesting further information from the user.
|
399
|
+
sig { returns(String) }
|
400
|
+
attr_accessor :reason
|
401
|
+
|
402
|
+
# The parameters for requesting further information from the user. Required if and
|
403
|
+
# only if `action` is `request_further_information`.
|
404
|
+
sig { params(reason: String).returns(T.attached_class) }
|
405
|
+
def self.new(
|
406
|
+
# The reason for requesting further information from the user.
|
407
|
+
reason:
|
408
|
+
)
|
409
|
+
end
|
410
|
+
|
411
|
+
sig { override.returns({ reason: String }) }
|
412
|
+
def to_hash
|
413
|
+
end
|
414
|
+
end
|
415
|
+
end
|
416
|
+
end
|
417
|
+
end
|
418
|
+
end
|
419
|
+
end
|
@@ -310,7 +310,7 @@ module Increase
|
|
310
310
|
end
|
311
311
|
attr_writer :ach_transfer_return
|
312
312
|
|
313
|
-
# A Card Dispute Acceptance object. This field will be present in the JSON
|
313
|
+
# A Legacy Card Dispute Acceptance object. This field will be present in the JSON
|
314
314
|
# response if and only if `category` is equal to `card_dispute_acceptance`.
|
315
315
|
# Contains the details of a successful Card Dispute.
|
316
316
|
sig do
|
@@ -350,9 +350,9 @@ module Increase
|
|
350
350
|
end
|
351
351
|
attr_writer :card_dispute_financial
|
352
352
|
|
353
|
-
# A Card Dispute Loss object. This field will be present in the JSON
|
354
|
-
# and only if `category` is equal to `card_dispute_loss`. Contains the
|
355
|
-
# a lost Card Dispute.
|
353
|
+
# A Legacy Card Dispute Loss object. This field will be present in the JSON
|
354
|
+
# response if and only if `category` is equal to `card_dispute_loss`. Contains the
|
355
|
+
# details of a lost Card Dispute.
|
356
356
|
sig do
|
357
357
|
returns(T.nilable(Increase::Transaction::Source::CardDisputeLoss))
|
358
358
|
end
|
@@ -1069,7 +1069,7 @@ module Increase
|
|
1069
1069
|
# the first two business days after the transfer is initiated, but can occur much
|
1070
1070
|
# later.
|
1071
1071
|
ach_transfer_return:,
|
1072
|
-
# A Card Dispute Acceptance object. This field will be present in the JSON
|
1072
|
+
# A Legacy Card Dispute Acceptance object. This field will be present in the JSON
|
1073
1073
|
# response if and only if `category` is equal to `card_dispute_acceptance`.
|
1074
1074
|
# Contains the details of a successful Card Dispute.
|
1075
1075
|
card_dispute_acceptance:,
|
@@ -1077,9 +1077,9 @@ module Increase
|
|
1077
1077
|
# if and only if `category` is equal to `card_dispute_financial`. Financial event
|
1078
1078
|
# related to a Card Dispute.
|
1079
1079
|
card_dispute_financial:,
|
1080
|
-
# A Card Dispute Loss object. This field will be present in the JSON
|
1081
|
-
# and only if `category` is equal to `card_dispute_loss`. Contains the
|
1082
|
-
# a lost Card Dispute.
|
1080
|
+
# A Legacy Card Dispute Loss object. This field will be present in the JSON
|
1081
|
+
# response if and only if `category` is equal to `card_dispute_loss`. Contains the
|
1082
|
+
# details of a lost Card Dispute.
|
1083
1083
|
card_dispute_loss:,
|
1084
1084
|
# A Card Financial object. This field will be present in the JSON response if and
|
1085
1085
|
# only if `category` is equal to `card_financial`. Card Financials are temporary
|
@@ -2278,7 +2278,7 @@ module Increase
|
|
2278
2278
|
sig { returns(String) }
|
2279
2279
|
attr_accessor :transaction_id
|
2280
2280
|
|
2281
|
-
# A Card Dispute Acceptance object. This field will be present in the JSON
|
2281
|
+
# A Legacy Card Dispute Acceptance object. This field will be present in the JSON
|
2282
2282
|
# response if and only if `category` is equal to `card_dispute_acceptance`.
|
2283
2283
|
# Contains the details of a successful Card Dispute.
|
2284
2284
|
sig do
|
@@ -2570,9 +2570,9 @@ module Increase
|
|
2570
2570
|
sig { returns(String) }
|
2571
2571
|
attr_accessor :transaction_id
|
2572
2572
|
|
2573
|
-
# A Card Dispute Loss object. This field will be present in the JSON
|
2574
|
-
# and only if `category` is equal to `card_dispute_loss`. Contains the
|
2575
|
-
# a lost Card Dispute.
|
2573
|
+
# A Legacy Card Dispute Loss object. This field will be present in the JSON
|
2574
|
+
# response if and only if `category` is equal to `card_dispute_loss`. Contains the
|
2575
|
+
# details of a lost Card Dispute.
|
2576
2576
|
sig do
|
2577
2577
|
params(
|
2578
2578
|
explanation: String,
|
@@ -10102,7 +10102,7 @@ module Increase
|
|
10102
10102
|
Increase::Transaction::Source::Category::TaggedSymbol
|
10103
10103
|
)
|
10104
10104
|
|
10105
|
-
# Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
|
10105
|
+
# Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
|
10106
10106
|
CARD_DISPUTE_ACCEPTANCE =
|
10107
10107
|
T.let(
|
10108
10108
|
:card_dispute_acceptance,
|
@@ -10116,7 +10116,7 @@ module Increase
|
|
10116
10116
|
Increase::Transaction::Source::Category::TaggedSymbol
|
10117
10117
|
)
|
10118
10118
|
|
10119
|
-
# Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
10119
|
+
# Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
10120
10120
|
CARD_DISPUTE_LOSS =
|
10121
10121
|
T.let(
|
10122
10122
|
:card_dispute_loss,
|
@@ -201,7 +201,7 @@ module Increase
|
|
201
201
|
Increase::TransactionListParams::Category::In::TaggedSymbol
|
202
202
|
)
|
203
203
|
|
204
|
-
# Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
|
204
|
+
# Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
|
205
205
|
CARD_DISPUTE_ACCEPTANCE =
|
206
206
|
T.let(
|
207
207
|
:card_dispute_acceptance,
|
@@ -215,7 +215,7 @@ module Increase
|
|
215
215
|
Increase::TransactionListParams::Category::In::TaggedSymbol
|
216
216
|
)
|
217
217
|
|
218
|
-
# Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
218
|
+
# Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object.
|
219
219
|
CARD_DISPUTE_LOSS =
|
220
220
|
T.let(
|
221
221
|
:card_dispute_loss,
|
data/rbi/increase/models.rbi
CHANGED
@@ -113,6 +113,19 @@ module Increase
|
|
113
113
|
|
114
114
|
CardDetailsParams = Increase::Models::CardDetailsParams
|
115
115
|
|
116
|
+
CardDispute = Increase::Models::CardDispute
|
117
|
+
|
118
|
+
CardDisputeCreateParams = Increase::Models::CardDisputeCreateParams
|
119
|
+
|
120
|
+
CardDisputeListParams = Increase::Models::CardDisputeListParams
|
121
|
+
|
122
|
+
CardDisputeRetrieveParams = Increase::Models::CardDisputeRetrieveParams
|
123
|
+
|
124
|
+
CardDisputeSubmitUserSubmissionParams =
|
125
|
+
Increase::Models::CardDisputeSubmitUserSubmissionParams
|
126
|
+
|
127
|
+
CardDisputeWithdrawParams = Increase::Models::CardDisputeWithdrawParams
|
128
|
+
|
116
129
|
CardIframeURL = Increase::Models::CardIframeURL
|
117
130
|
|
118
131
|
CardListParams = Increase::Models::CardListParams
|