Class: Payture::Ewallet::Responses::Refund

Inherits:
Base
  • Object
show all
Defined in:
lib/payture/ewallet/responses/refund.rb

Instance Attribute Summary

Attributes inherited from Base

#body

Instance Method Summary collapse

Methods inherited from Base

#error?, #error_code, #initialize, #success?

Constructor Details

This class inherits a constructor from Payture::Ewallet::Responses::Base

Instance Method Details

#actual_amountObject



6
7
8
# File 'lib/payture/ewallet/responses/refund.rb', line 6

def actual_amount
  @actual_amount ||= money(body['NewAmount'])
end