increase 1.127.0 → 1.129.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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/README.md +1 -1
  4. data/lib/increase/internal/transport/base_client.rb +7 -1
  5. data/lib/increase/models/card_dispute.rb +311 -66
  6. data/lib/increase/models/card_dispute_create_params.rb +102 -30
  7. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +104 -30
  8. data/lib/increase/models/card_payment.rb +60 -15
  9. data/lib/increase/models/declined_transaction.rb +21 -6
  10. data/lib/increase/models/export_create_params.rb +8 -3
  11. data/lib/increase/models/pending_transaction.rb +21 -6
  12. data/lib/increase/models/real_time_decision.rb +24 -6
  13. data/lib/increase/models/simulations/card_dispute_action_params.rb +97 -27
  14. data/lib/increase/models/transaction.rb +23 -6
  15. data/lib/increase/models/wire_drawdown_request.rb +3 -3
  16. data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
  17. data/lib/increase/resources/exports.rb +1 -1
  18. data/lib/increase/version.rb +1 -1
  19. data/rbi/increase/internal/transport/base_client.rbi +5 -0
  20. data/rbi/increase/internal/type/base_model.rbi +8 -4
  21. data/rbi/increase/models/card_dispute.rbi +1038 -88
  22. data/rbi/increase/models/card_dispute_create_params.rbi +364 -40
  23. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +364 -40
  24. data/rbi/increase/models/card_payment.rbi +211 -20
  25. data/rbi/increase/models/declined_transaction.rbi +78 -8
  26. data/rbi/increase/models/export_create_params.rbi +25 -4
  27. data/rbi/increase/models/pending_transaction.rbi +78 -8
  28. data/rbi/increase/models/real_time_decision.rbi +90 -8
  29. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +333 -36
  30. data/rbi/increase/models/transaction.rbi +76 -8
  31. data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
  32. data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
  33. data/rbi/increase/resources/exports.rbi +1 -1
  34. data/sig/increase/internal/transport/base_client.rbs +2 -0
  35. data/sig/increase/models/card_dispute.rbs +264 -88
  36. data/sig/increase/models/card_dispute_create_params.rbs +150 -50
  37. data/sig/increase/models/card_dispute_submit_user_submission_params.rbs +150 -50
  38. data/sig/increase/models/card_payment.rbs +60 -20
  39. data/sig/increase/models/declined_transaction.rbs +24 -8
  40. data/sig/increase/models/export_create_params.rbs +15 -5
  41. data/sig/increase/models/pending_transaction.rbs +24 -8
  42. data/sig/increase/models/real_time_decision.rbs +24 -8
  43. data/sig/increase/models/simulations/card_dispute_action_params.rbs +135 -45
  44. data/sig/increase/models/transaction.rbs +24 -8
  45. data/sig/increase/models/wire_drawdown_request.rbs +4 -4
  46. data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
  47. data/sig/increase/resources/exports.rbs +1 -1
  48. metadata +2 -2
@@ -205,8 +205,8 @@ module Increase
205
205
  # If the category of this Transaction source is equal to `other`, this field will
206
206
  # contain an empty object, otherwise it will contain null.
207
207
  #
208
- # @return [Object, nil]
209
- required :other, Increase::Internal::Type::Unknown, nil?: true
208
+ # @return [Increase::Models::CardPayment::Element::Other, nil]
209
+ required :other, -> { Increase::CardPayment::Element::Other }, nil?: true
210
210
 
211
211
  # @!method initialize(card_authentication:, card_authorization:, card_authorization_expiration:, card_decline:, card_financial:, card_fuel_confirmation:, card_increment:, card_refund:, card_reversal:, card_settlement:, card_validation:, category:, created_at:, other:)
212
212
  # Some parameter documentations has been truncated, see
@@ -238,7 +238,7 @@ module Increase
238
238
  #
239
239
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
240
240
  #
241
- # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
241
+ # @param other [Increase::Models::CardPayment::Element::Other, nil] If the category of this Transaction source is equal to `other`, this field will
242
242
 
243
243
  # @see Increase::Models::CardPayment::Element#card_authentication
244
244
  class CardAuthentication < Increase::Internal::Type::BaseModel
@@ -1374,8 +1374,10 @@ module Increase
1374
1374
  # @!attribute pulse
1375
1375
  # Fields specific to the `pulse` network.
1376
1376
  #
1377
- # @return [Object, nil]
1378
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
1377
+ # @return [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, nil]
1378
+ required :pulse,
1379
+ -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse },
1380
+ nil?: true
1379
1381
 
1380
1382
  # @!attribute visa
1381
1383
  # Fields specific to the `visa` network.
@@ -1392,7 +1394,7 @@ module Increase
1392
1394
  #
1393
1395
  # @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization.
1394
1396
  #
1395
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
1397
+ # @param pulse [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
1396
1398
  #
1397
1399
  # @param visa [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
1398
1400
 
@@ -1412,6 +1414,12 @@ module Increase
1412
1414
  # @return [Array<Symbol>]
1413
1415
  end
1414
1416
 
1417
+ # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#pulse
1418
+ class Pulse < Increase::Internal::Type::BaseModel
1419
+ # @!method initialize
1420
+ # Fields specific to the `pulse` network.
1421
+ end
1422
+
1415
1423
  # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#visa
1416
1424
  class Visa < Increase::Internal::Type::BaseModel
1417
1425
  # @!attribute electronic_commerce_indicator
@@ -2684,8 +2692,12 @@ module Increase
2684
2692
  # @!attribute pulse
2685
2693
  # Fields specific to the `pulse` network.
2686
2694
  #
2687
- # @return [Object, nil]
2688
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
2695
+ # @return [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Pulse, nil]
2696
+ required :pulse,
2697
+ -> {
2698
+ Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse
2699
+ },
2700
+ nil?: true
2689
2701
 
2690
2702
  # @!attribute visa
2691
2703
  # Fields specific to the `visa` network.
@@ -2702,7 +2714,7 @@ module Increase
2702
2714
  #
2703
2715
  # @param category [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization.
2704
2716
  #
2705
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
2717
+ # @param pulse [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
2706
2718
  #
2707
2719
  # @param visa [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
2708
2720
 
@@ -2722,6 +2734,12 @@ module Increase
2722
2734
  # @return [Array<Symbol>]
2723
2735
  end
2724
2736
 
2737
+ # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#pulse
2738
+ class Pulse < Increase::Internal::Type::BaseModel
2739
+ # @!method initialize
2740
+ # Fields specific to the `pulse` network.
2741
+ end
2742
+
2725
2743
  # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#visa
2726
2744
  class Visa < Increase::Internal::Type::BaseModel
2727
2745
  # @!attribute electronic_commerce_indicator
@@ -3940,8 +3958,12 @@ module Increase
3940
3958
  # @!attribute pulse
3941
3959
  # Fields specific to the `pulse` network.
3942
3960
  #
3943
- # @return [Object, nil]
3944
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
3961
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, nil]
3962
+ required :pulse,
3963
+ -> {
3964
+ Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse
3965
+ },
3966
+ nil?: true
3945
3967
 
3946
3968
  # @!attribute visa
3947
3969
  # Fields specific to the `visa` network.
@@ -3958,7 +3980,7 @@ module Increase
3958
3980
  #
3959
3981
  # @param category [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Category] The payment network used to process this card authorization.
3960
3982
  #
3961
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
3983
+ # @param pulse [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
3962
3984
  #
3963
3985
  # @param visa [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
3964
3986
 
@@ -3978,6 +4000,12 @@ module Increase
3978
4000
  # @return [Array<Symbol>]
3979
4001
  end
3980
4002
 
4003
+ # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#pulse
4004
+ class Pulse < Increase::Internal::Type::BaseModel
4005
+ # @!method initialize
4006
+ # Fields specific to the `pulse` network.
4007
+ end
4008
+
3981
4009
  # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#visa
3982
4010
  class Visa < Increase::Internal::Type::BaseModel
3983
4011
  # @!attribute electronic_commerce_indicator
@@ -9026,8 +9054,12 @@ module Increase
9026
9054
  # @!attribute pulse
9027
9055
  # Fields specific to the `pulse` network.
9028
9056
  #
9029
- # @return [Object, nil]
9030
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
9057
+ # @return [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Pulse, nil]
9058
+ required :pulse,
9059
+ -> {
9060
+ Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse
9061
+ },
9062
+ nil?: true
9031
9063
 
9032
9064
  # @!attribute visa
9033
9065
  # Fields specific to the `visa` network.
@@ -9044,7 +9076,7 @@ module Increase
9044
9076
  #
9045
9077
  # @param category [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Category] The payment network used to process this card authorization.
9046
9078
  #
9047
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
9079
+ # @param pulse [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
9048
9080
  #
9049
9081
  # @param visa [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
9050
9082
 
@@ -9064,6 +9096,12 @@ module Increase
9064
9096
  # @return [Array<Symbol>]
9065
9097
  end
9066
9098
 
9099
+ # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#pulse
9100
+ class Pulse < Increase::Internal::Type::BaseModel
9101
+ # @!method initialize
9102
+ # Fields specific to the `pulse` network.
9103
+ end
9104
+
9067
9105
  # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#visa
9068
9106
  class Visa < Increase::Internal::Type::BaseModel
9069
9107
  # @!attribute electronic_commerce_indicator
@@ -9480,6 +9518,13 @@ module Increase
9480
9518
  # @!method self.values
9481
9519
  # @return [Array<Symbol>]
9482
9520
  end
9521
+
9522
+ # @see Increase::Models::CardPayment::Element#other
9523
+ class Other < Increase::Internal::Type::BaseModel
9524
+ # @!method initialize
9525
+ # If the category of this Transaction source is equal to `other`, this field will
9526
+ # contain an empty object, otherwise it will contain null.
9527
+ end
9483
9528
  end
9484
9529
 
9485
9530
  # @see Increase::Models::CardPayment#state
@@ -214,8 +214,8 @@ module Increase
214
214
  # If the category of this Transaction source is equal to `other`, this field will
215
215
  # contain an empty object, otherwise it will contain null.
216
216
  #
217
- # @return [Object, nil]
218
- required :other, Increase::Internal::Type::Unknown, nil?: true
217
+ # @return [Increase::Models::DeclinedTransaction::Source::Other, nil]
218
+ required :other, -> { Increase::DeclinedTransaction::Source::Other }, nil?: true
219
219
 
220
220
  # @!attribute wire_decline
221
221
  # A Wire Decline object. This field will be present in the JSON response if and
@@ -248,7 +248,7 @@ module Increase
248
248
  #
249
249
  # @param inbound_real_time_payments_transfer_decline [Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen
250
250
  #
251
- # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
251
+ # @param other [Increase::Models::DeclinedTransaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will
252
252
  #
253
253
  # @param wire_decline [Increase::Models::DeclinedTransaction::Source::WireDecline, nil] A Wire Decline object. This field will be present in the JSON response if and on
254
254
 
@@ -1185,8 +1185,10 @@ module Increase
1185
1185
  # @!attribute pulse
1186
1186
  # Fields specific to the `pulse` network.
1187
1187
  #
1188
- # @return [Object, nil]
1189
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
1188
+ # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, nil]
1189
+ required :pulse,
1190
+ -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse },
1191
+ nil?: true
1190
1192
 
1191
1193
  # @!attribute visa
1192
1194
  # Fields specific to the `visa` network.
@@ -1201,7 +1203,7 @@ module Increase
1201
1203
  #
1202
1204
  # @param category [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization.
1203
1205
  #
1204
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
1206
+ # @param pulse [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
1205
1207
  #
1206
1208
  # @param visa [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
1207
1209
 
@@ -1221,6 +1223,12 @@ module Increase
1221
1223
  # @return [Array<Symbol>]
1222
1224
  end
1223
1225
 
1226
+ # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#pulse
1227
+ class Pulse < Increase::Internal::Type::BaseModel
1228
+ # @!method initialize
1229
+ # Fields specific to the `pulse` network.
1230
+ end
1231
+
1224
1232
  # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#visa
1225
1233
  class Visa < Increase::Internal::Type::BaseModel
1226
1234
  # @!attribute electronic_commerce_indicator
@@ -2225,6 +2233,13 @@ module Increase
2225
2233
  end
2226
2234
  end
2227
2235
 
2236
+ # @see Increase::Models::DeclinedTransaction::Source#other
2237
+ class Other < Increase::Internal::Type::BaseModel
2238
+ # @!method initialize
2239
+ # If the category of this Transaction source is equal to `other`, this field will
2240
+ # contain an empty object, otherwise it will contain null.
2241
+ end
2242
+
2228
2243
  # @see Increase::Models::DeclinedTransaction::Source#wire_decline
2229
2244
  class WireDecline < Increase::Internal::Type::BaseModel
2230
2245
  # @!attribute inbound_wire_transfer_id
@@ -58,8 +58,8 @@ module Increase
58
58
  # @!attribute vendor_csv
59
59
  # Options for the created export. Required if `category` is equal to `vendor_csv`.
60
60
  #
61
- # @return [Object, nil]
62
- optional :vendor_csv, Increase::Internal::Type::Unknown
61
+ # @return [Increase::Models::ExportCreateParams::VendorCsv, nil]
62
+ optional :vendor_csv, -> { Increase::ExportCreateParams::VendorCsv }
63
63
 
64
64
  # @!method initialize(category:, account_statement_bai2: nil, account_statement_ofx: nil, balance_csv: nil, bookkeeping_account_balance_csv: nil, entity_csv: nil, transaction_csv: nil, vendor_csv: nil, request_options: {})
65
65
  # Some parameter documentations has been truncated, see
@@ -81,7 +81,7 @@ module Increase
81
81
  # @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to
82
82
  # `transaction\_
83
83
  #
84
- # @param vendor_csv [Object] Options for the created export. Required if `category` is equal to `vendor_csv`.
84
+ # @param vendor_csv [Increase::Models::ExportCreateParams::VendorCsv] Options for the created export. Required if `category` is equal to `vendor_csv`.
85
85
  #
86
86
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
87
87
 
@@ -489,6 +489,11 @@ module Increase
489
489
  # @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86
490
490
  end
491
491
  end
492
+
493
+ class VendorCsv < Increase::Internal::Type::BaseModel
494
+ # @!method initialize
495
+ # Options for the created export. Required if `category` is equal to `vendor_csv`.
496
+ end
492
497
  end
493
498
  end
494
499
  end
@@ -284,8 +284,8 @@ module Increase
284
284
  # If the category of this Transaction source is equal to `other`, this field will
285
285
  # contain an empty object, otherwise it will contain null.
286
286
  #
287
- # @return [Object, nil]
288
- required :other, Increase::Internal::Type::Unknown, nil?: true
287
+ # @return [Increase::Models::PendingTransaction::Source::Other, nil]
288
+ required :other, -> { Increase::PendingTransaction::Source::Other }, nil?: true
289
289
 
290
290
  # @!attribute real_time_payments_transfer_instruction
291
291
  # A Real-Time Payments Transfer Instruction object. This field will be present in
@@ -353,7 +353,7 @@ module Increase
353
353
  #
354
354
  # @param inbound_wire_transfer_reversal [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal object. This field will be present in the JSON
355
355
  #
356
- # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
356
+ # @param other [Increase::Models::PendingTransaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will
357
357
  #
358
358
  # @param real_time_payments_transfer_instruction [Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil] A Real-Time Payments Transfer Instruction object. This field will be present in
359
359
  #
@@ -1211,8 +1211,10 @@ module Increase
1211
1211
  # @!attribute pulse
1212
1212
  # Fields specific to the `pulse` network.
1213
1213
  #
1214
- # @return [Object, nil]
1215
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
1214
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse, nil]
1215
+ required :pulse,
1216
+ -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse },
1217
+ nil?: true
1216
1218
 
1217
1219
  # @!attribute visa
1218
1220
  # Fields specific to the `visa` network.
@@ -1227,7 +1229,7 @@ module Increase
1227
1229
  #
1228
1230
  # @param category [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization.
1229
1231
  #
1230
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
1232
+ # @param pulse [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
1231
1233
  #
1232
1234
  # @param visa [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
1233
1235
 
@@ -1247,6 +1249,12 @@ module Increase
1247
1249
  # @return [Array<Symbol>]
1248
1250
  end
1249
1251
 
1252
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#pulse
1253
+ class Pulse < Increase::Internal::Type::BaseModel
1254
+ # @!method initialize
1255
+ # Fields specific to the `pulse` network.
1256
+ end
1257
+
1250
1258
  # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#visa
1251
1259
  class Visa < Increase::Internal::Type::BaseModel
1252
1260
  # @!attribute electronic_commerce_indicator
@@ -2059,6 +2067,13 @@ module Increase
2059
2067
  # @param inbound_wire_transfer_id [String] The ID of the Inbound Wire Transfer that is being reversed.
2060
2068
  end
2061
2069
 
2070
+ # @see Increase::Models::PendingTransaction::Source#other
2071
+ class Other < Increase::Internal::Type::BaseModel
2072
+ # @!method initialize
2073
+ # If the category of this Transaction source is equal to `other`, this field will
2074
+ # contain an empty object, otherwise it will contain null.
2075
+ end
2076
+
2062
2077
  # @see Increase::Models::PendingTransaction::Source#real_time_payments_transfer_instruction
2063
2078
  class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel
2064
2079
  # @!attribute amount
@@ -945,8 +945,12 @@ module Increase
945
945
  # @!attribute pulse
946
946
  # Fields specific to the `pulse` network.
947
947
  #
948
- # @return [Object, nil]
949
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
948
+ # @return [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse, nil]
949
+ required :pulse,
950
+ -> {
951
+ Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse
952
+ },
953
+ nil?: true
950
954
 
951
955
  # @!attribute visa
952
956
  # Fields specific to the `visa` network.
@@ -963,7 +967,7 @@ module Increase
963
967
  #
964
968
  # @param category [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization.
965
969
  #
966
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
970
+ # @param pulse [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
967
971
  #
968
972
  # @param visa [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
969
973
 
@@ -983,6 +987,12 @@ module Increase
983
987
  # @return [Array<Symbol>]
984
988
  end
985
989
 
990
+ # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails#pulse
991
+ class Pulse < Increase::Internal::Type::BaseModel
992
+ # @!method initialize
993
+ # Fields specific to the `pulse` network.
994
+ end
995
+
986
996
  # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails#visa
987
997
  class Visa < Increase::Internal::Type::BaseModel
988
998
  # @!attribute electronic_commerce_indicator
@@ -1253,8 +1263,10 @@ module Increase
1253
1263
  # @!attribute initial_authorization
1254
1264
  # Fields specific to the category `initial_authorization`.
1255
1265
  #
1256
- # @return [Object, nil]
1257
- required :initial_authorization, Increase::Internal::Type::Unknown, nil?: true
1266
+ # @return [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization, nil]
1267
+ required :initial_authorization,
1268
+ -> { Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization },
1269
+ nil?: true
1258
1270
 
1259
1271
  # @!method initialize(category:, incremental_authorization:, initial_authorization:)
1260
1272
  # Some parameter documentations has been truncated, see
@@ -1267,7 +1279,7 @@ module Increase
1267
1279
  #
1268
1280
  # @param incremental_authorization [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization, nil] Fields specific to the category `incremental_authorization`.
1269
1281
  #
1270
- # @param initial_authorization [Object, nil] Fields specific to the category `initial_authorization`.
1282
+ # @param initial_authorization [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization, nil] Fields specific to the category `initial_authorization`.
1271
1283
 
1272
1284
  # The type of this request (e.g., an initial authorization or an incremental
1273
1285
  # authorization).
@@ -1312,6 +1324,12 @@ module Increase
1312
1324
  #
1313
1325
  # @param original_card_authorization_id [String] The identifier of the card authorization this request is attempting to increment
1314
1326
  end
1327
+
1328
+ # @see Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails#initial_authorization
1329
+ class InitialAuthorization < Increase::Internal::Type::BaseModel
1330
+ # @!method initialize
1331
+ # Fields specific to the category `initial_authorization`.
1332
+ end
1315
1333
  end
1316
1334
 
1317
1335
  # @see Increase::Models::RealTimeDecision::CardAuthorization#verification
@@ -56,36 +56,39 @@ module Increase
56
56
  # The parameters for accepting the chargeback. Required if and only if `action` is
57
57
  # `accept_chargeback`.
58
58
  #
59
- # @return [Object, nil]
60
- optional :accept_chargeback, Increase::Internal::Type::Unknown
59
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::AcceptChargeback, nil]
60
+ optional :accept_chargeback, -> { Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback }
61
61
 
62
62
  # @!attribute accept_user_submission
63
63
  # The parameters for accepting the user submission. Required if and only if
64
64
  # `action` is `accept_user_submission`.
65
65
  #
66
- # @return [Object, nil]
67
- optional :accept_user_submission, Increase::Internal::Type::Unknown
66
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission, nil]
67
+ optional :accept_user_submission,
68
+ -> { Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission }
68
69
 
69
70
  # @!attribute decline_user_prearbitration
70
71
  # The parameters for declining the prearbitration. Required if and only if
71
72
  # `action` is `decline_user_prearbitration`.
72
73
  #
73
- # @return [Object, nil]
74
- optional :decline_user_prearbitration, Increase::Internal::Type::Unknown
74
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration, nil]
75
+ optional :decline_user_prearbitration,
76
+ -> { Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration }
75
77
 
76
78
  # @!attribute receive_merchant_prearbitration
77
79
  # The parameters for receiving the prearbitration. Required if and only if
78
80
  # `action` is `receive_merchant_prearbitration`.
79
81
  #
80
- # @return [Object, nil]
81
- optional :receive_merchant_prearbitration, Increase::Internal::Type::Unknown
82
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration, nil]
83
+ optional :receive_merchant_prearbitration,
84
+ -> { Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration }
82
85
 
83
86
  # @!attribute represent
84
87
  # The parameters for re-presenting the dispute. Required if and only if `action`
85
88
  # is `represent`.
86
89
  #
87
- # @return [Object, nil]
88
- optional :represent, Increase::Internal::Type::Unknown
90
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::Represent, nil]
91
+ optional :represent, -> { Increase::Simulations::CardDisputeActionParams::Visa::Represent }
89
92
 
90
93
  # @!attribute request_further_information
91
94
  # The parameters for requesting further information from the user. Required if and
@@ -99,29 +102,33 @@ module Increase
99
102
  # The parameters for timing out the chargeback. Required if and only if `action`
100
103
  # is `time_out_chargeback`.
101
104
  #
102
- # @return [Object, nil]
103
- optional :time_out_chargeback, Increase::Internal::Type::Unknown
105
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback, nil]
106
+ optional :time_out_chargeback,
107
+ -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback }
104
108
 
105
109
  # @!attribute time_out_merchant_prearbitration
106
110
  # The parameters for timing out the merchant prearbitration. Required if and only
107
111
  # if `action` is `time_out_merchant_prearbitration`.
108
112
  #
109
- # @return [Object, nil]
110
- optional :time_out_merchant_prearbitration, Increase::Internal::Type::Unknown
113
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration, nil]
114
+ optional :time_out_merchant_prearbitration,
115
+ -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration }
111
116
 
112
117
  # @!attribute time_out_representment
113
118
  # The parameters for timing out the re-presentment. Required if and only if
114
119
  # `action` is `time_out_representment`.
115
120
  #
116
- # @return [Object, nil]
117
- optional :time_out_representment, Increase::Internal::Type::Unknown
121
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment, nil]
122
+ optional :time_out_representment,
123
+ -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment }
118
124
 
119
125
  # @!attribute time_out_user_prearbitration
120
126
  # The parameters for timing out the user prearbitration. Required if and only if
121
127
  # `action` is `time_out_user_prearbitration`.
122
128
  #
123
- # @return [Object, nil]
124
- optional :time_out_user_prearbitration, Increase::Internal::Type::Unknown
129
+ # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration, nil]
130
+ optional :time_out_user_prearbitration,
131
+ -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration }
125
132
 
126
133
  # @!method initialize(action:, accept_chargeback: nil, accept_user_submission: nil, decline_user_prearbitration: nil, receive_merchant_prearbitration: nil, represent: nil, request_further_information: nil, time_out_chargeback: nil, time_out_merchant_prearbitration: nil, time_out_representment: nil, time_out_user_prearbitration: nil)
127
134
  # Some parameter documentations has been truncated, see
@@ -132,25 +139,25 @@ module Increase
132
139
  #
133
140
  # @param action [Symbol, Increase::Models::Simulations::CardDisputeActionParams::Visa::Action] The action to take. Details specific to the action are required under the sub-ob
134
141
  #
135
- # @param accept_chargeback [Object] The parameters for accepting the chargeback. Required if and only if `action` is
142
+ # @param accept_chargeback [Increase::Models::Simulations::CardDisputeActionParams::Visa::AcceptChargeback] The parameters for accepting the chargeback. Required if and only if `action` is
136
143
  #
137
- # @param accept_user_submission [Object] The parameters for accepting the user submission. Required if and only if `actio
144
+ # @param accept_user_submission [Increase::Models::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission] The parameters for accepting the user submission. Required if and only if `actio
138
145
  #
139
- # @param decline_user_prearbitration [Object] The parameters for declining the prearbitration. Required if and only if `action
146
+ # @param decline_user_prearbitration [Increase::Models::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration] The parameters for declining the prearbitration. Required if and only if `action
140
147
  #
141
- # @param receive_merchant_prearbitration [Object] The parameters for receiving the prearbitration. Required if and only if `action
148
+ # @param receive_merchant_prearbitration [Increase::Models::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration] The parameters for receiving the prearbitration. Required if and only if `action
142
149
  #
143
- # @param represent [Object] The parameters for re-presenting the dispute. Required if and only if `action` i
150
+ # @param represent [Increase::Models::Simulations::CardDisputeActionParams::Visa::Represent] The parameters for re-presenting the dispute. Required if and only if `action` i
144
151
  #
145
152
  # @param request_further_information [Increase::Models::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation] The parameters for requesting further information from the user. Required if and
146
153
  #
147
- # @param time_out_chargeback [Object] The parameters for timing out the chargeback. Required if and only if `action` i
154
+ # @param time_out_chargeback [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback] The parameters for timing out the chargeback. Required if and only if `action` i
148
155
  #
149
- # @param time_out_merchant_prearbitration [Object] The parameters for timing out the merchant prearbitration. Required if and only
156
+ # @param time_out_merchant_prearbitration [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration] The parameters for timing out the merchant prearbitration. Required if and only
150
157
  #
151
- # @param time_out_representment [Object] The parameters for timing out the re-presentment. Required if and only if `actio
158
+ # @param time_out_representment [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment] The parameters for timing out the re-presentment. Required if and only if `actio
152
159
  #
153
- # @param time_out_user_prearbitration [Object] The parameters for timing out the user prearbitration. Required if and only if `
160
+ # @param time_out_user_prearbitration [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration] The parameters for timing out the user prearbitration. Required if and only if `
154
161
 
155
162
  # The action to take. Details specific to the action are required under the
156
163
  # sub-object with the same identifier as the action.
@@ -193,6 +200,41 @@ module Increase
193
200
  # @return [Array<Symbol>]
194
201
  end
195
202
 
203
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#accept_chargeback
204
+ class AcceptChargeback < Increase::Internal::Type::BaseModel
205
+ # @!method initialize
206
+ # The parameters for accepting the chargeback. Required if and only if `action` is
207
+ # `accept_chargeback`.
208
+ end
209
+
210
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#accept_user_submission
211
+ class AcceptUserSubmission < Increase::Internal::Type::BaseModel
212
+ # @!method initialize
213
+ # The parameters for accepting the user submission. Required if and only if
214
+ # `action` is `accept_user_submission`.
215
+ end
216
+
217
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#decline_user_prearbitration
218
+ class DeclineUserPrearbitration < Increase::Internal::Type::BaseModel
219
+ # @!method initialize
220
+ # The parameters for declining the prearbitration. Required if and only if
221
+ # `action` is `decline_user_prearbitration`.
222
+ end
223
+
224
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#receive_merchant_prearbitration
225
+ class ReceiveMerchantPrearbitration < Increase::Internal::Type::BaseModel
226
+ # @!method initialize
227
+ # The parameters for receiving the prearbitration. Required if and only if
228
+ # `action` is `receive_merchant_prearbitration`.
229
+ end
230
+
231
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#represent
232
+ class Represent < Increase::Internal::Type::BaseModel
233
+ # @!method initialize
234
+ # The parameters for re-presenting the dispute. Required if and only if `action`
235
+ # is `represent`.
236
+ end
237
+
196
238
  # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#request_further_information
197
239
  class RequestFurtherInformation < Increase::Internal::Type::BaseModel
198
240
  # @!attribute reason
@@ -207,6 +249,34 @@ module Increase
207
249
  #
208
250
  # @param reason [String] The reason for requesting further information from the user.
209
251
  end
252
+
253
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#time_out_chargeback
254
+ class TimeOutChargeback < Increase::Internal::Type::BaseModel
255
+ # @!method initialize
256
+ # The parameters for timing out the chargeback. Required if and only if `action`
257
+ # is `time_out_chargeback`.
258
+ end
259
+
260
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#time_out_merchant_prearbitration
261
+ class TimeOutMerchantPrearbitration < Increase::Internal::Type::BaseModel
262
+ # @!method initialize
263
+ # The parameters for timing out the merchant prearbitration. Required if and only
264
+ # if `action` is `time_out_merchant_prearbitration`.
265
+ end
266
+
267
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#time_out_representment
268
+ class TimeOutRepresentment < Increase::Internal::Type::BaseModel
269
+ # @!method initialize
270
+ # The parameters for timing out the re-presentment. Required if and only if
271
+ # `action` is `time_out_representment`.
272
+ end
273
+
274
+ # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#time_out_user_prearbitration
275
+ class TimeOutUserPrearbitration < Increase::Internal::Type::BaseModel
276
+ # @!method initialize
277
+ # The parameters for timing out the user prearbitration. Required if and only if
278
+ # `action` is `time_out_user_prearbitration`.
279
+ end
210
280
  end
211
281
  end
212
282
  end