increase 1.116.0 → 1.118.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.
@@ -300,7 +300,13 @@ module Increase
300
300
  required :category,
301
301
  enum: -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category }
302
302
 
303
- # @!method initialize(category:)
303
+ # @!attribute refund
304
+ # Details related to refund authorizations.
305
+ #
306
+ # @return [Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund, nil]
307
+ optional :refund, -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund }
308
+
309
+ # @!method initialize(category:, refund: nil)
304
310
  # Some parameter documentations has been truncated, see
305
311
  # {Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory}
306
312
  # for more details.
@@ -309,6 +315,8 @@ module Increase
309
315
  # Dispensers, Refund Authorizations, or Cash Disbursements.
310
316
  #
311
317
  # @param category [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category] The processing category describes the intent behind the authorization, such as w
318
+ #
319
+ # @param refund [Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund] Details related to refund authorizations.
312
320
 
313
321
  # The processing category describes the intent behind the authorization, such as
314
322
  # whether it was used for bill payments or an automatic fuel dispenser.
@@ -344,6 +352,20 @@ module Increase
344
352
  # @!method self.values
345
353
  # @return [Array<Symbol>]
346
354
  end
355
+
356
+ # @see Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory#refund
357
+ class Refund < Increase::Internal::Type::BaseModel
358
+ # @!attribute original_card_payment_id
359
+ # The card payment to link this refund to.
360
+ #
361
+ # @return [String, nil]
362
+ optional :original_card_payment_id, String
363
+
364
+ # @!method initialize(original_card_payment_id: nil)
365
+ # Details related to refund authorizations.
366
+ #
367
+ # @param original_card_payment_id [String] The card payment to link this refund to.
368
+ end
347
369
  end
348
370
  end
349
371
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.116.0"
4
+ VERSION = "1.118.0"
5
5
  end