Class: Mundipagg::Refund::Response

Inherits:
Mundipagg::Response show all
Defined in:
lib/mundipagg/refund.rb

Instance Attribute Summary

Attributes inherited from Mundipagg::Response

#body

Instance Method Summary collapse

Methods inherited from Mundipagg::Response

#error, #initialize, #success?

Constructor Details

This class inherits a constructor from Mundipagg::Response

Instance Method Details

#error_itemObject



23
24
25
# File 'lib/mundipagg/refund.rb', line 23

def error_item
  payload[:error_report][:error_item_collection][:error_item]
end

#payloadObject



19
20
21
# File 'lib/mundipagg/refund.rb', line 19

def payload
  body[:manage_order_response][:manage_order_result]
end