Class: GoogleCheckout::ChargeAmountNotification

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

Instance Method Summary collapse

Methods inherited from Notification

#acknowledgment_xml, #doc, #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



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

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

#total_charge_amountObject



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

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