Sha256: 4c5096645e196ba30a6d4434d9d2e23ceb8c75491f7b7f39a500e438f5297804

Contents?: true

Size: 645 Bytes

Versions: 1

Compression:

Stored size: 645 Bytes

Contents

# frozen_string_literal: false

# This class was generated on Mon, 27 Aug 2018 13:52:18 PDT by version 0.1.0-dev+904328-dirty of Braintree SDK Generator

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

1 entries across 1 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-0.5.0 lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb