Module: Simpal::Payment::Refund
- Defined in:
- lib/simpal/payment/refund.rb
Overview
Class Method Summary collapse
-
.retrieve(id, headers: {}, client: nil) ⇒ Simpal::PayPalObject
Retrieve a refund for a payment.
Class Method Details
.retrieve(id, headers: {}, client: nil) ⇒ Simpal::PayPalObject
Retrieve a refund for a payment.
18 19 20 21 |
# File 'lib/simpal/payment/refund.rb', line 18 def self.retrieve(id, headers: {}, client: nil) resource = API::Payments::Refunds.retrieve(id, headers: headers, client: client) PayPalObject.new(resource) end |