GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Google::Checkout::Notification::ChargebackAmount(3) User Contributed Perl Documentation Google::Checkout::Notification::ChargebackAmount(3)

Google::Checkout::Notification::ChargebackAmount

  use Google::Checkout::Notification::ChargebackAmount;
  use Google::Checkout::General::Util qw/is_gco_error/;

  my $xml = "/xml/chargeback_amount_notification.xml";

  #--
  #-- $xml can either be a file or a complete XML doc string
  #--
  my $charge_amount = Google::Checkout::Notification::ChargebackAmount->new(xml => $xml);
  die $charge_amount if is_gco_error $charge_amount;

  print $charge_amount->get_latest_chargeback_amount,"\n",
        $charge_amount->get_total_chargeback_amount,"\n";

Sub-class of "Google::Checkout::Notification::GCONotification". This module can be used to extract the latest and the total charge back amount when the chargeback amount notification is received.
new XML => ...
Constructor. Takes either a XML file or XML doc as data string. If the XML is invalid (syntax error for example), "Google::Checkout::General::Error" is returned.
type
Always return "Google::Checkout::XML::Constants::CHARGE_BACK_NOTIFICATION".
get_latest_chargeback_amount
Returns the latest charge back amount.
get_total_chargeback_amount
Returns the total charge back amount.

Copyright 2006 Google. All rights reserved.

Google::Checkout::Notification::GCONotification
2007-09-28 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.