increase 1.203.0 → 1.204.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/account_transfer.rb +25 -25
  5. data/lib/increase/models/ach_transfer.rb +28 -28
  6. data/lib/increase/models/card_dispute.rb +79 -79
  7. data/lib/increase/models/card_payment.rb +82 -82
  8. data/lib/increase/models/card_push_transfer.rb +25 -25
  9. data/lib/increase/models/card_validation.rb +25 -25
  10. data/lib/increase/models/check_transfer.rb +25 -25
  11. data/lib/increase/models/declined_transaction.rb +53 -53
  12. data/lib/increase/models/fednow_transfer.rb +25 -25
  13. data/lib/increase/models/pending_transaction.rb +85 -85
  14. data/lib/increase/models/real_time_payments_transfer.rb +25 -25
  15. data/lib/increase/models/swift_transfer.rb +25 -25
  16. data/lib/increase/models/transaction.rb +173 -173
  17. data/lib/increase/models/wire_transfer.rb +28 -28
  18. data/lib/increase/version.rb +1 -1
  19. data/rbi/increase/models/account_transfer.rbi +40 -40
  20. data/rbi/increase/models/ach_transfer.rbi +42 -42
  21. data/rbi/increase/models/card_dispute.rbi +141 -141
  22. data/rbi/increase/models/card_payment.rbi +144 -144
  23. data/rbi/increase/models/card_push_transfer.rbi +40 -40
  24. data/rbi/increase/models/card_validation.rbi +40 -40
  25. data/rbi/increase/models/check_transfer.rbi +40 -40
  26. data/rbi/increase/models/declined_transaction.rbi +99 -99
  27. data/rbi/increase/models/fednow_transfer.rbi +40 -40
  28. data/rbi/increase/models/pending_transaction.rbi +163 -163
  29. data/rbi/increase/models/real_time_payments_transfer.rbi +44 -44
  30. data/rbi/increase/models/swift_transfer.rbi +40 -40
  31. data/rbi/increase/models/transaction.rbi +534 -534
  32. data/rbi/increase/models/wire_transfer.rbi +42 -42
  33. data/sig/increase/models/account_transfer.rbs +17 -17
  34. data/sig/increase/models/ach_transfer.rbs +19 -19
  35. data/sig/increase/models/card_dispute.rbs +56 -56
  36. data/sig/increase/models/card_payment.rbs +81 -81
  37. data/sig/increase/models/card_push_transfer.rbs +17 -17
  38. data/sig/increase/models/card_validation.rbs +17 -17
  39. data/sig/increase/models/check_transfer.rbs +17 -17
  40. data/sig/increase/models/declined_transaction.rbs +52 -52
  41. data/sig/increase/models/fednow_transfer.rbs +17 -17
  42. data/sig/increase/models/pending_transaction.rbs +92 -92
  43. data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
  44. data/sig/increase/models/swift_transfer.rbs +17 -17
  45. data/sig/increase/models/transaction.rbs +202 -202
  46. data/sig/increase/models/wire_transfer.rbs +19 -19
  47. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b1d5b6ddfc380026ec591b215a825bbdc78a14495e8650d89718a2c454bf6f8
4
- data.tar.gz: 47d4a99e44652180ddd36c32a5948b5f7793d3bc57326591733857ac5e7bedf4
3
+ metadata.gz: a1d6ee7670aa93eecdc6bd880778107b2439add074c23bca66449ef21a6ecd77
4
+ data.tar.gz: 65d724b972e6769c40535ed9454a9d77bcd9cdf9b5c7f99ee2931efc48e5423e
5
5
  SHA512:
6
- metadata.gz: 1a92a2f7e8d09f69c7a97965bb9bf8052a9f88c1a55f3d03e55b2bb6994e2f0aaec89dbc47e38fb860910a029041840fdbd0ab2753eab8df8e8626bd0978b640
7
- data.tar.gz: f3f33c0d9f1c6638df7b49d0a2db84855f5f5affba98362b577f0987651e149a8d2f4fbfa86e15436f0c3558bf9f02d36cdeecb5b2aa284eb1d80050449ab46e
6
+ metadata.gz: e47077cee8f03e51913a8f1254b7973575b8917962d04fde9ce085c6fc3b70ac5378eaa2fc2b0be61105a4ca03e1b5d8c7dd6ecaf290f2f9cd0cef5a34ab5945
7
+ data.tar.gz: 76d9fc44eb35df2381d3f9c8fcf3e5eaa97c43c9b5a0f8671321e4d561501113e87f7bb47eef7ec8005ce532754f69e66e940b939ced956e27e98dc488373df2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.204.0 (2026-02-07)
4
+
5
+ Full Changelog: [v1.203.0...v1.204.0](https://github.com/Increase/increase-ruby/compare/v1.203.0...v1.204.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([eb834f0](https://github.com/Increase/increase-ruby/commit/eb834f0ed9bfdec907c8c6e78fb5d102c9e24694))
10
+
3
11
  ## 1.203.0 (2026-02-06)
4
12
 
5
13
  Full Changelog: [v1.202.1...v1.203.0](https://github.com/Increase/increase-ruby/compare/v1.202.1...v1.203.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.203.0"
18
+ gem "increase", "~> 1.204.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -215,55 +215,41 @@ module Increase
215
215
 
216
216
  # @see Increase::Models::AccountTransfer#created_by
217
217
  class CreatedBy < Increase::Internal::Type::BaseModel
218
- # @!attribute api_key
219
- # If present, details about the API key that created the transfer.
220
- #
221
- # @return [Increase::Models::AccountTransfer::CreatedBy::APIKey, nil]
222
- required :api_key, -> { Increase::AccountTransfer::CreatedBy::APIKey }, nil?: true
223
-
224
218
  # @!attribute category
225
219
  # The type of object that created this transfer.
226
220
  #
227
221
  # @return [Symbol, Increase::Models::AccountTransfer::CreatedBy::Category]
228
222
  required :category, enum: -> { Increase::AccountTransfer::CreatedBy::Category }
229
223
 
224
+ # @!attribute api_key
225
+ # If present, details about the API key that created the transfer.
226
+ #
227
+ # @return [Increase::Models::AccountTransfer::CreatedBy::APIKey, nil]
228
+ optional :api_key, -> { Increase::AccountTransfer::CreatedBy::APIKey }, nil?: true
229
+
230
230
  # @!attribute oauth_application
231
231
  # If present, details about the OAuth Application that created the transfer.
232
232
  #
233
233
  # @return [Increase::Models::AccountTransfer::CreatedBy::OAuthApplication, nil]
234
- required :oauth_application, -> { Increase::AccountTransfer::CreatedBy::OAuthApplication }, nil?: true
234
+ optional :oauth_application, -> { Increase::AccountTransfer::CreatedBy::OAuthApplication }, nil?: true
235
235
 
236
236
  # @!attribute user
237
237
  # If present, details about the User that created the transfer.
238
238
  #
239
239
  # @return [Increase::Models::AccountTransfer::CreatedBy::User, nil]
240
- required :user, -> { Increase::AccountTransfer::CreatedBy::User }, nil?: true
240
+ optional :user, -> { Increase::AccountTransfer::CreatedBy::User }, nil?: true
241
241
 
242
- # @!method initialize(api_key:, category:, oauth_application:, user:)
242
+ # @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
243
243
  # What object created the transfer, either via the API or the dashboard.
244
244
  #
245
- # @param api_key [Increase::Models::AccountTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
246
- #
247
245
  # @param category [Symbol, Increase::Models::AccountTransfer::CreatedBy::Category] The type of object that created this transfer.
248
246
  #
247
+ # @param api_key [Increase::Models::AccountTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
248
+ #
249
249
  # @param oauth_application [Increase::Models::AccountTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
250
250
  #
251
251
  # @param user [Increase::Models::AccountTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
252
252
 
253
- # @see Increase::Models::AccountTransfer::CreatedBy#api_key
254
- class APIKey < Increase::Internal::Type::BaseModel
255
- # @!attribute description
256
- # The description set for the API key when it was created.
257
- #
258
- # @return [String, nil]
259
- required :description, String, nil?: true
260
-
261
- # @!method initialize(description:)
262
- # If present, details about the API key that created the transfer.
263
- #
264
- # @param description [String, nil] The description set for the API key when it was created.
265
- end
266
-
267
253
  # The type of object that created this transfer.
268
254
  #
269
255
  # @see Increase::Models::AccountTransfer::CreatedBy#category
@@ -283,6 +269,20 @@ module Increase
283
269
  # @return [Array<Symbol>]
284
270
  end
285
271
 
272
+ # @see Increase::Models::AccountTransfer::CreatedBy#api_key
273
+ class APIKey < Increase::Internal::Type::BaseModel
274
+ # @!attribute description
275
+ # The description set for the API key when it was created.
276
+ #
277
+ # @return [String, nil]
278
+ required :description, String, nil?: true
279
+
280
+ # @!method initialize(description:)
281
+ # If present, details about the API key that created the transfer.
282
+ #
283
+ # @param description [String, nil] The description set for the API key when it was created.
284
+ end
285
+
286
286
  # @see Increase::Models::AccountTransfer::CreatedBy#oauth_application
287
287
  class OAuthApplication < Increase::Internal::Type::BaseModel
288
288
  # @!attribute name
@@ -361,18 +361,18 @@ module Increase
361
361
  # Unstructured `payment_related_information` passed through with the transfer.
362
362
  #
363
363
  # @return [Increase::Models::ACHTransfer::Addenda::Freeform, nil]
364
- required :freeform, -> { Increase::ACHTransfer::Addenda::Freeform }, nil?: true
364
+ optional :freeform, -> { Increase::ACHTransfer::Addenda::Freeform }, nil?: true
365
365
 
366
366
  # @!attribute payment_order_remittance_advice
367
367
  # Structured ASC X12 820 remittance advice records. Please reach out to
368
368
  # [support@increase.com](mailto:support@increase.com) for more information.
369
369
  #
370
370
  # @return [Increase::Models::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice, nil]
371
- required :payment_order_remittance_advice,
371
+ optional :payment_order_remittance_advice,
372
372
  -> { Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice },
373
373
  nil?: true
374
374
 
375
- # @!method initialize(category:, freeform:, payment_order_remittance_advice:)
375
+ # @!method initialize(category:, freeform: nil, payment_order_remittance_advice: nil)
376
376
  # Some parameter documentations has been truncated, see
377
377
  # {Increase::Models::ACHTransfer::Addenda} for more details.
378
378
  #
@@ -529,55 +529,41 @@ module Increase
529
529
 
530
530
  # @see Increase::Models::ACHTransfer#created_by
531
531
  class CreatedBy < Increase::Internal::Type::BaseModel
532
- # @!attribute api_key
533
- # If present, details about the API key that created the transfer.
534
- #
535
- # @return [Increase::Models::ACHTransfer::CreatedBy::APIKey, nil]
536
- required :api_key, -> { Increase::ACHTransfer::CreatedBy::APIKey }, nil?: true
537
-
538
532
  # @!attribute category
539
533
  # The type of object that created this transfer.
540
534
  #
541
535
  # @return [Symbol, Increase::Models::ACHTransfer::CreatedBy::Category]
542
536
  required :category, enum: -> { Increase::ACHTransfer::CreatedBy::Category }
543
537
 
538
+ # @!attribute api_key
539
+ # If present, details about the API key that created the transfer.
540
+ #
541
+ # @return [Increase::Models::ACHTransfer::CreatedBy::APIKey, nil]
542
+ optional :api_key, -> { Increase::ACHTransfer::CreatedBy::APIKey }, nil?: true
543
+
544
544
  # @!attribute oauth_application
545
545
  # If present, details about the OAuth Application that created the transfer.
546
546
  #
547
547
  # @return [Increase::Models::ACHTransfer::CreatedBy::OAuthApplication, nil]
548
- required :oauth_application, -> { Increase::ACHTransfer::CreatedBy::OAuthApplication }, nil?: true
548
+ optional :oauth_application, -> { Increase::ACHTransfer::CreatedBy::OAuthApplication }, nil?: true
549
549
 
550
550
  # @!attribute user
551
551
  # If present, details about the User that created the transfer.
552
552
  #
553
553
  # @return [Increase::Models::ACHTransfer::CreatedBy::User, nil]
554
- required :user, -> { Increase::ACHTransfer::CreatedBy::User }, nil?: true
554
+ optional :user, -> { Increase::ACHTransfer::CreatedBy::User }, nil?: true
555
555
 
556
- # @!method initialize(api_key:, category:, oauth_application:, user:)
556
+ # @!method initialize(category:, api_key: nil, oauth_application: nil, user: nil)
557
557
  # What object created the transfer, either via the API or the dashboard.
558
558
  #
559
- # @param api_key [Increase::Models::ACHTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
560
- #
561
559
  # @param category [Symbol, Increase::Models::ACHTransfer::CreatedBy::Category] The type of object that created this transfer.
562
560
  #
561
+ # @param api_key [Increase::Models::ACHTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer.
562
+ #
563
563
  # @param oauth_application [Increase::Models::ACHTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer.
564
564
  #
565
565
  # @param user [Increase::Models::ACHTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer.
566
566
 
567
- # @see Increase::Models::ACHTransfer::CreatedBy#api_key
568
- class APIKey < Increase::Internal::Type::BaseModel
569
- # @!attribute description
570
- # The description set for the API key when it was created.
571
- #
572
- # @return [String, nil]
573
- required :description, String, nil?: true
574
-
575
- # @!method initialize(description:)
576
- # If present, details about the API key that created the transfer.
577
- #
578
- # @param description [String, nil] The description set for the API key when it was created.
579
- end
580
-
581
567
  # The type of object that created this transfer.
582
568
  #
583
569
  # @see Increase::Models::ACHTransfer::CreatedBy#category
@@ -597,6 +583,20 @@ module Increase
597
583
  # @return [Array<Symbol>]
598
584
  end
599
585
 
586
+ # @see Increase::Models::ACHTransfer::CreatedBy#api_key
587
+ class APIKey < Increase::Internal::Type::BaseModel
588
+ # @!attribute description
589
+ # The description set for the API key when it was created.
590
+ #
591
+ # @return [String, nil]
592
+ required :description, String, nil?: true
593
+
594
+ # @!method initialize(description:)
595
+ # If present, details about the API key that created the transfer.
596
+ #
597
+ # @param description [String, nil] The description set for the API key when it was created.
598
+ end
599
+
600
600
  # @see Increase::Models::ACHTransfer::CreatedBy#oauth_application
601
601
  class OAuthApplication < Increase::Internal::Type::BaseModel
602
602
  # @!attribute name
@@ -294,6 +294,19 @@ module Increase
294
294
  # @return [Symbol, Increase::Models::CardDispute::Visa::NetworkEvent::Category]
295
295
  required :category, enum: -> { Increase::CardDispute::Visa::NetworkEvent::Category }
296
296
 
297
+ # @!attribute created_at
298
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
299
+ # the Visa Card Dispute Network Event was created.
300
+ #
301
+ # @return [Time]
302
+ required :created_at, Time
303
+
304
+ # @!attribute dispute_financial_transaction_id
305
+ # The dispute financial transaction that resulted from the network event, if any.
306
+ #
307
+ # @return [String, nil]
308
+ required :dispute_financial_transaction_id, String, nil?: true
309
+
297
310
  # @!attribute chargeback_accepted
298
311
  # A Card Dispute Chargeback Accepted Visa Network Event object. This field will be
299
312
  # present in the JSON response if and only if `category` is equal to
@@ -302,7 +315,7 @@ module Increase
302
315
  # accepted by the merchant.
303
316
  #
304
317
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackAccepted, nil]
305
- required :chargeback_accepted,
318
+ optional :chargeback_accepted,
306
319
  -> { Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted },
307
320
  nil?: true
308
321
 
@@ -314,7 +327,7 @@ module Increase
314
327
  # submitted to the network.
315
328
  #
316
329
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackSubmitted, nil]
317
- required :chargeback_submitted,
330
+ optional :chargeback_submitted,
318
331
  -> { Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted },
319
332
  nil?: true
320
333
 
@@ -326,23 +339,10 @@ module Increase
326
339
  # out in the user's favor.
327
340
  #
328
341
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackTimedOut, nil]
329
- required :chargeback_timed_out,
342
+ optional :chargeback_timed_out,
330
343
  -> { Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut },
331
344
  nil?: true
332
345
 
333
- # @!attribute created_at
334
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
335
- # the Visa Card Dispute Network Event was created.
336
- #
337
- # @return [Time]
338
- required :created_at, Time
339
-
340
- # @!attribute dispute_financial_transaction_id
341
- # The dispute financial transaction that resulted from the network event, if any.
342
- #
343
- # @return [String, nil]
344
- required :dispute_financial_transaction_id, String, nil?: true
345
-
346
346
  # @!attribute merchant_prearbitration_decline_submitted
347
347
  # A Card Dispute Merchant Pre-Arbitration Decline Submitted Visa Network Event
348
348
  # object. This field will be present in the JSON response if and only if
@@ -352,7 +352,7 @@ module Increase
352
352
  # merchant's request for a prearbitration request decision in their favor.
353
353
  #
354
354
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted, nil]
355
- required :merchant_prearbitration_decline_submitted,
355
+ optional :merchant_prearbitration_decline_submitted,
356
356
  -> { Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted },
357
357
  nil?: true
358
358
 
@@ -364,7 +364,7 @@ module Increase
364
364
  # the merchant has issued a prearbitration request in the user's favor.
365
365
  #
366
366
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived, nil]
367
- required :merchant_prearbitration_received,
367
+ optional :merchant_prearbitration_received,
368
368
  -> { Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived },
369
369
  nil?: true
370
370
 
@@ -377,7 +377,7 @@ module Increase
377
377
  # prearbitration request.
378
378
  #
379
379
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut, nil]
380
- required :merchant_prearbitration_timed_out,
380
+ optional :merchant_prearbitration_timed_out,
381
381
  -> { Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut },
382
382
  nil?: true
383
383
 
@@ -389,7 +389,7 @@ module Increase
389
389
  # chargeback and has re-presented the payment.
390
390
  #
391
391
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::Represented, nil]
392
- required :represented, -> { Increase::CardDispute::Visa::NetworkEvent::Represented }, nil?: true
392
+ optional :represented, -> { Increase::CardDispute::Visa::NetworkEvent::Represented }, nil?: true
393
393
 
394
394
  # @!attribute representment_timed_out
395
395
  # A Card Dispute Re-presentment Timed Out Visa Network Event object. This field
@@ -399,7 +399,7 @@ module Increase
399
399
  # respond to the re-presentment by the merchant within the time limit.
400
400
  #
401
401
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut, nil]
402
- required :representment_timed_out,
402
+ optional :representment_timed_out,
403
403
  -> { Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut },
404
404
  nil?: true
405
405
 
@@ -411,7 +411,7 @@ module Increase
411
411
  # the merchant has accepted the user's prearbitration request in the user's favor.
412
412
  #
413
413
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted, nil]
414
- required :user_prearbitration_accepted,
414
+ optional :user_prearbitration_accepted,
415
415
  -> { Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted },
416
416
  nil?: true
417
417
 
@@ -423,7 +423,7 @@ module Increase
423
423
  # the merchant has declined the user's prearbitration request.
424
424
  #
425
425
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined, nil]
426
- required :user_prearbitration_declined,
426
+ optional :user_prearbitration_declined,
427
427
  -> { Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined },
428
428
  nil?: true
429
429
 
@@ -435,7 +435,7 @@ module Increase
435
435
  # the user's request for prearbitration has been submitted to the network.
436
436
  #
437
437
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted, nil]
438
- required :user_prearbitration_submitted,
438
+ optional :user_prearbitration_submitted,
439
439
  -> { Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted },
440
440
  nil?: true
441
441
 
@@ -447,7 +447,7 @@ module Increase
447
447
  # the merchant has timed out responding to the user's prearbitration request.
448
448
  #
449
449
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut, nil]
450
- required :user_prearbitration_timed_out,
450
+ optional :user_prearbitration_timed_out,
451
451
  -> { Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut },
452
452
  nil?: true
453
453
 
@@ -459,11 +459,11 @@ module Increase
459
459
  # request to withdraw the dispute has been submitted to the network.
460
460
  #
461
461
  # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted, nil]
462
- required :user_withdrawal_submitted,
462
+ optional :user_withdrawal_submitted,
463
463
  -> { Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted },
464
464
  nil?: true
465
465
 
466
- # @!method initialize(attachment_files:, category:, chargeback_accepted:, chargeback_submitted:, chargeback_timed_out:, created_at:, dispute_financial_transaction_id:, merchant_prearbitration_decline_submitted:, merchant_prearbitration_received:, merchant_prearbitration_timed_out:, represented:, representment_timed_out:, user_prearbitration_accepted:, user_prearbitration_declined:, user_prearbitration_submitted:, user_prearbitration_timed_out:, user_withdrawal_submitted:)
466
+ # @!method initialize(attachment_files:, category:, created_at:, dispute_financial_transaction_id:, chargeback_accepted: nil, chargeback_submitted: nil, chargeback_timed_out: nil, merchant_prearbitration_decline_submitted: nil, merchant_prearbitration_received: nil, merchant_prearbitration_timed_out: nil, represented: nil, representment_timed_out: nil, user_prearbitration_accepted: nil, user_prearbitration_declined: nil, user_prearbitration_submitted: nil, user_prearbitration_timed_out: nil, user_withdrawal_submitted: nil)
467
467
  # Some parameter documentations has been truncated, see
468
468
  # {Increase::Models::CardDispute::Visa::NetworkEvent} for more details.
469
469
  #
@@ -471,16 +471,16 @@ module Increase
471
471
  #
472
472
  # @param category [Symbol, Increase::Models::CardDispute::Visa::NetworkEvent::Category] The category of the user submission. We may add additional possible values for t
473
473
  #
474
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
475
+ #
476
+ # @param dispute_financial_transaction_id [String, nil] The dispute financial transaction that resulted from the network event, if any.
477
+ #
474
478
  # @param chargeback_accepted [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackAccepted, nil] A Card Dispute Chargeback Accepted Visa Network Event object. This field will be
475
479
  #
476
480
  # @param chargeback_submitted [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackSubmitted, nil] A Card Dispute Chargeback Submitted Visa Network Event object. This field will b
477
481
  #
478
482
  # @param chargeback_timed_out [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackTimedOut, nil] A Card Dispute Chargeback Timed Out Visa Network Event object. This field will b
479
483
  #
480
- # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
481
- #
482
- # @param dispute_financial_transaction_id [String, nil] The dispute financial transaction that resulted from the network event, if any.
483
- #
484
484
  # @param merchant_prearbitration_decline_submitted [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted, nil] A Card Dispute Merchant Pre-Arbitration Decline Submitted Visa Network Event obj
485
485
  #
486
486
  # @param merchant_prearbitration_received [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived, nil] A Card Dispute Merchant Pre-Arbitration Received Visa Network Event object. This
@@ -1569,15 +1569,6 @@ module Increase
1569
1569
  # @return [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Category]
1570
1570
  required :category, enum: -> { Increase::CardDispute::Visa::UserSubmission::Category }
1571
1571
 
1572
- # @!attribute chargeback
1573
- # A Visa Card Dispute Chargeback User Submission Chargeback Details object. This
1574
- # field will be present in the JSON response if and only if `category` is equal to
1575
- # `chargeback`. Contains the details specific to a Visa chargeback User Submission
1576
- # for a Card Dispute.
1577
- #
1578
- # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback, nil]
1579
- required :chargeback, -> { Increase::CardDispute::Visa::UserSubmission::Chargeback }, nil?: true
1580
-
1581
1572
  # @!attribute created_at
1582
1573
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1583
1574
  # the Visa Card Dispute User Submission was created.
@@ -1606,17 +1597,6 @@ module Increase
1606
1597
  # @return [String, nil]
1607
1598
  required :further_information_requested_reason, String, nil?: true
1608
1599
 
1609
- # @!attribute merchant_prearbitration_decline
1610
- # A Visa Card Dispute Merchant Pre-Arbitration Decline User Submission object.
1611
- # This field will be present in the JSON response if and only if `category` is
1612
- # equal to `merchant_prearbitration_decline`. Contains the details specific to a
1613
- # merchant prearbitration decline Visa Card Dispute User Submission.
1614
- #
1615
- # @return [Increase::Models::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline, nil]
1616
- required :merchant_prearbitration_decline,
1617
- -> { Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline },
1618
- nil?: true
1619
-
1620
1600
  # @!attribute status
1621
1601
  # The status of the Visa Card Dispute User Submission.
1622
1602
  #
@@ -1630,6 +1610,26 @@ module Increase
1630
1610
  # @return [Time]
1631
1611
  required :updated_at, Time
1632
1612
 
1613
+ # @!attribute chargeback
1614
+ # A Visa Card Dispute Chargeback User Submission Chargeback Details object. This
1615
+ # field will be present in the JSON response if and only if `category` is equal to
1616
+ # `chargeback`. Contains the details specific to a Visa chargeback User Submission
1617
+ # for a Card Dispute.
1618
+ #
1619
+ # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback, nil]
1620
+ optional :chargeback, -> { Increase::CardDispute::Visa::UserSubmission::Chargeback }, nil?: true
1621
+
1622
+ # @!attribute merchant_prearbitration_decline
1623
+ # A Visa Card Dispute Merchant Pre-Arbitration Decline User Submission object.
1624
+ # This field will be present in the JSON response if and only if `category` is
1625
+ # equal to `merchant_prearbitration_decline`. Contains the details specific to a
1626
+ # merchant prearbitration decline Visa Card Dispute User Submission.
1627
+ #
1628
+ # @return [Increase::Models::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline, nil]
1629
+ optional :merchant_prearbitration_decline,
1630
+ -> { Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline },
1631
+ nil?: true
1632
+
1633
1633
  # @!attribute user_prearbitration
1634
1634
  # A Visa Card Dispute User-Initiated Pre-Arbitration User Submission object. This
1635
1635
  # field will be present in the JSON response if and only if `category` is equal to
@@ -1637,11 +1637,11 @@ module Increase
1637
1637
  # pre-arbitration Visa Card Dispute User Submission.
1638
1638
  #
1639
1639
  # @return [Increase::Models::CardDispute::Visa::UserSubmission::UserPrearbitration, nil]
1640
- required :user_prearbitration,
1640
+ optional :user_prearbitration,
1641
1641
  -> { Increase::CardDispute::Visa::UserSubmission::UserPrearbitration },
1642
1642
  nil?: true
1643
1643
 
1644
- # @!method initialize(accepted_at:, amount:, attachment_files:, category:, chargeback:, created_at:, explanation:, further_information_requested_at:, further_information_requested_reason:, merchant_prearbitration_decline:, status:, updated_at:, user_prearbitration:)
1644
+ # @!method initialize(accepted_at:, amount:, attachment_files:, category:, created_at:, explanation:, further_information_requested_at:, further_information_requested_reason:, status:, updated_at:, chargeback: nil, merchant_prearbitration_decline: nil, user_prearbitration: nil)
1645
1645
  # Some parameter documentations has been truncated, see
1646
1646
  # {Increase::Models::CardDispute::Visa::UserSubmission} for more details.
1647
1647
  #
@@ -1653,8 +1653,6 @@ module Increase
1653
1653
  #
1654
1654
  # @param category [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Category] The category of the user submission. We may add additional possible values for t
1655
1655
  #
1656
- # @param chargeback [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback, nil] A Visa Card Dispute Chargeback User Submission Chargeback Details object. This f
1657
- #
1658
1656
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
1659
1657
  #
1660
1658
  # @param explanation [String, nil] The free-form explanation provided to Increase to provide more context for the u
@@ -1663,12 +1661,14 @@ module Increase
1663
1661
  #
1664
1662
  # @param further_information_requested_reason [String, nil] The reason for Increase requesting further information from the user for the Vis
1665
1663
  #
1666
- # @param merchant_prearbitration_decline [Increase::Models::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline, nil] A Visa Card Dispute Merchant Pre-Arbitration Decline User Submission object. Thi
1667
- #
1668
1664
  # @param status [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Status] The status of the Visa Card Dispute User Submission.
1669
1665
  #
1670
1666
  # @param updated_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
1671
1667
  #
1668
+ # @param chargeback [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback, nil] A Visa Card Dispute Chargeback User Submission Chargeback Details object. This f
1669
+ #
1670
+ # @param merchant_prearbitration_decline [Increase::Models::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline, nil] A Visa Card Dispute Merchant Pre-Arbitration Decline User Submission object. Thi
1671
+ #
1672
1672
  # @param user_prearbitration [Increase::Models::CardDispute::Visa::UserSubmission::UserPrearbitration, nil] A Visa Card Dispute User-Initiated Pre-Arbitration User Submission object. This
1673
1673
 
1674
1674
  class AttachmentFile < Increase::Internal::Type::BaseModel
@@ -1703,6 +1703,28 @@ module Increase
1703
1703
  # @return [Array<Symbol>]
1704
1704
  end
1705
1705
 
1706
+ # The status of the Visa Card Dispute User Submission.
1707
+ #
1708
+ # @see Increase::Models::CardDispute::Visa::UserSubmission#status
1709
+ module Status
1710
+ extend Increase::Internal::Type::Enum
1711
+
1712
+ # The User Submission was abandoned.
1713
+ ABANDONED = :abandoned
1714
+
1715
+ # The User Submission was accepted.
1716
+ ACCEPTED = :accepted
1717
+
1718
+ # Further information is requested, please resubmit with the requested information.
1719
+ FURTHER_INFORMATION_REQUESTED = :further_information_requested
1720
+
1721
+ # The User Submission is pending review.
1722
+ PENDING_REVIEWING = :pending_reviewing
1723
+
1724
+ # @!method self.values
1725
+ # @return [Array<Symbol>]
1726
+ end
1727
+
1706
1728
  # @see Increase::Models::CardDispute::Visa::UserSubmission#chargeback
1707
1729
  class Chargeback < Increase::Internal::Type::BaseModel
1708
1730
  # @!attribute authorization
@@ -5131,28 +5153,6 @@ module Increase
5131
5153
  # @param reason [String] The reason the user declined the merchant's request for pre-arbitration in their
5132
5154
  end
5133
5155
 
5134
- # The status of the Visa Card Dispute User Submission.
5135
- #
5136
- # @see Increase::Models::CardDispute::Visa::UserSubmission#status
5137
- module Status
5138
- extend Increase::Internal::Type::Enum
5139
-
5140
- # The User Submission was abandoned.
5141
- ABANDONED = :abandoned
5142
-
5143
- # The User Submission was accepted.
5144
- ACCEPTED = :accepted
5145
-
5146
- # Further information is requested, please resubmit with the requested information.
5147
- FURTHER_INFORMATION_REQUESTED = :further_information_requested
5148
-
5149
- # The User Submission is pending review.
5150
- PENDING_REVIEWING = :pending_reviewing
5151
-
5152
- # @!method self.values
5153
- # @return [Array<Symbol>]
5154
- end
5155
-
5156
5156
  # @see Increase::Models::CardDispute::Visa::UserSubmission#user_prearbitration
5157
5157
  class UserPrearbitration < Increase::Internal::Type::BaseModel
5158
5158
  # @!attribute category_change