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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +1420 -237
- data/lib/increase/models/simulations/card_authorization_create_params.rb +23 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +2510 -250
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +58 -3
- data/sig/increase/models/card_payment.rbs +1046 -248
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +24 -3
- metadata +2 -2
| @@ -300,7 +300,13 @@ module Increase | |
| 300 300 | 
             
                      required :category,
         | 
| 301 301 | 
             
                               enum: -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category }
         | 
| 302 302 |  | 
| 303 | 
            -
                      # @! | 
| 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
         | 
    
        data/lib/increase/version.rb
    CHANGED