Class: GoogleCheckout::ChargeAmountNotification

Inherits:
Notification
  • Object
show all
Defined in:
lib/google-checkout/notification.rb

Instance Attribute Summary

Attributes inherited from Notification

#doc

Instance Method Summary collapse

Methods inherited from Notification

#acknowledgment_xml, #error?, #initialize, #method_missing, parse, #serial_number, #state

Constructor Details

This class inherits a constructor from GoogleCheckout::Notification

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class GoogleCheckout::Notification

Instance Method Details

#latest_charge_amountObject



149
150
151
# File 'lib/google-checkout/notification.rb', line 149

def latest_charge_amount
  (@doc/"latest-charge-amount").to_money
end

#total_charge_amountObject



153
154
155
# File 'lib/google-checkout/notification.rb', line 153

def total_charge_amount
  (@doc/"total-charge-amount").to_money
end