class PayPal::SDK::REST::DataTypes::Refund
Public Class Methods
find(resource_id)
click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 1015 def find(resource_id) raise ArgumentError.new("id required") if resource_id.to_s.strip.empty? path = "v1/payments/refund/#{resource_id}" self.new(api.get(path)) end
load_members()
click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 996 def self.load_members object_of :id, String object_of :amount, Amount object_of :state, String object_of :reason, String object_of :invoice_number, String object_of :sale_id, String object_of :capture_id, String object_of :parent_payment, String object_of :description, String object_of :create_time, String object_of :update_time, String object_of :reason_code, String array_of :links, Links end