Sha256: a73a183283a776f673edba6f43f16189c1755cfcfb587ae510740d69160ff06a

Contents?: true

Size: 523 Bytes

Versions: 10

Compression:

Stored size: 523 Bytes

Contents

# frozen_string_literal: false

require 'cgi'

module PayPalCheckoutSdk
  module Payments
    #
    # Shows details for a refund, by ID.
    #
    class RefundsGetRequest
      attr_accessor :path, :body, :headers, :verb

      def initialize(refund_id)
        @headers = {}
        @body = nil
        @verb = "GET"
        @path = "/v2/payments/refunds/{refund_id}?"

        @path = @path.gsub("{refund_id}", CGI.escape(refund_id.to_s))
        @headers["Content-Type"] = "application/json"
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-1.0.3 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-1.0.2 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-0.7.1 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-1.0.1 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-1.0.0 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-0.7.0 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-1.0.0.beta3 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-1.0.0.beta2 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-1.0.0.beta1 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb
solidus_paypal_commerce_platform-0.6.0 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb