Sha256: c498dfcf8a6a34d62f47922ca10572152b62da45f6a94439424188c0b55928a5
Contents?: true
Size: 685 Bytes
Versions: 7
Compression:
Stored size: 685 Bytes
Contents
# frozen_string_literal: true module PaypalAPI # # Refunds APIs `/v2/payments/refunds` # # @see https://developer.paypal.com/docs/api/payments/v2 # class Refunds < APICollection # # Common class and instance methods # module APIs # # Show refund details # # @see https://developer.paypal.com/docs/api/payments/v2/#refunds_get # # @param refund_id [String] # @macro request # def show(refund_id, query: nil, body: nil, headers: nil) client.get("/v2/payments/refunds/#{encode(refund_id)}", query: query, body: body, headers: headers) end end include APIs extend APIs end end
Version data entries
7 entries across 7 versions & 1 rubygems