Google::Checkout::Command::DeliverOrder
use Google::Checkout::General::GCO; use Google::Checkout::Command::DeliverOrder; use Google::Checkout::General::Util qw/is_gco_error/; my $gco = Google::Checkout::General::GCO->new; my $deliver_order = Google::Checkout::Command::DeliverOrder->new( order_number => 156310171628413, send_email => 1); my $response = $gco->command($deliver_order); die $response if is_gco_error($response); print $response,"\n\n";
A sub-class of Google::Checkout::Command::GCOCommand. This module is used to deliver an order.
Google::Checkout::Command::GCOCommand
Constructor. Takes a Google order number. If SEND_EMAIL is true, an email will also be sent to the user.
Returns the carrier that will be used to deliver the order.
Sets the carrier that will be used to deliver the order.
Returns the tracking number provided by the carrier.
Sets the tracking number provided by the carrier.
Returns true if email should be sent to user. Otherwise, returns false.
Sets the flag to send optional email to user or not.
Return the XML that will be sent to Google Checkout. Note that this function should not be used directly. Instead, it's called indirectly by the Google::Checkout::General::GCO object internally.
Google::Checkout::General::GCO
Copyright 2006 Google. All rights reserved.
To install Google::Checkout::XML::Writer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::Checkout::XML::Writer
CPAN shell
perl -MCPAN -e shell install Google::Checkout::XML::Writer
For more information on module installation, please visit the detailed CPAN module installation guide.