|
NAMEGoogle::Checkout::Notification::OrderStateChange SYNOPSIS use Google::Checkout::General::GCO;
use Google::Checkout::Notification::OrderStateChange;
use Google::Checkout::General::Util qw/is_gco_error/;
my $xml = "/xml/order_state_change_notification.xml";
#--
#-- $xml can either be a file or a complete XML doc string
#--
my $state_change = Google::Checkout::Notification::OrderStateChange->new(xml => $xml);
die $state_change if is_gco_error $state_change;
print $state_change->get_new_fulfillment_order_state, "\n",
$state_change->get_previous_fulfillment_order_state, "\n",
$state_change->get_new_financial_order_state, "\n",
$state_change->get_previous_financial_order_state, "\n",
$state_change->get_reason,"\n";
DESCRIPTIONSub-class of "google::Checkout::Notification::GCONotification". This module can be used to extract various state change information when the order state change notification is received.
COPYRIGHTCopyright 2006 Google. All rights reserved. SEE ALSOGoogle::Checkout::Notification::GCONotification
|