Google::Checkout::Command::AddMerchantOrderNumber
use Google::Checkout::General::GCO use Google::Checkout::General::AddMerchantOrderNumber; use Google::Checkout::General::Util qw/is_gco_error/; my $add_merchant_order = AddMerchantOrderNumber->new( order_number => 156310171628413, merchant_order_number => 12345); my $response = $gco->command($add_merchant_order, $run_diagnose); die $response if is_gco_error($response); print $response,"\n\n";
A sub-class of Google::Checkout::Command::GCOCommand. This module is used to add custom merchant order number.
Google::Checkout::Command::GCOCommand
Constructor. Takes a Google order number and a custom merchant order number.
Returns the merchant order number.
Sets the merchant order number.
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 GCO object internally.
GCO
Copyright 2006 Google. All rights reserved.
Google::Checkout::General::GCO Google::Checkout::Command::DeliverOrder
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.