Class: GoogleCheckout::ChargebackAmountNotification

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_chargeback_amountObject



161
162
163
# File 'lib/google-checkout/notification.rb', line 161

def latest_chargeback_amount
  (@doc/"latest-chargeback-amount").to_money
end

#total_chargeback_amountObject



165
166
167
# File 'lib/google-checkout/notification.rb', line 165

def total_chargeback_amount
  (@doc/"total-chargeback-amount").to_money
end