Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Google-Checkout-1.1.1/lib/Google/Checkout/Notification/RefundAmount.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Google-Checkout-1.1.1/lib/Google/Checkout/Notification/RefundAmount.pm


NAME

Google::Checkout::Notification::RefundAmount


SYNOPSIS


  use Google::Checkout::General::GCO;

  use Google::Checkout::Notification::RefundAmount;

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

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

  #--

  #-- $xml can either be a file or a complete XML doc string

  #--

  my $refund = Google::Checkout::Notification::RefundAmount->new(xml => $xml);

  die $refund if is_gco_error $refund;

  print $refund->get_latest_refund_amount, "\n",

        $refund->get_total_refund_amount, "\n";


DESCRIPTION

Sub-class of Google::Checkout::Notification::GCONotification. This module can be used to extract various refund information when the refund 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), C<Google::Checkout::General::Error> 

is returned.
type
Always return Google::Checkout::XML::Constants::REFUND_AMOUNT_NOTIFICATION.

get_latest_refund_amount
Returns the latest refund amount.

get_total_refund_amount
Returns the total refund amount.


COPYRIGHT

Copyright 2006 Google. All rights reserved.


SEE ALSO

Google::Checkout::Notification::GCONotification

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy