Google::Checkout::Command::AddMerchantOrderNumber
use Google::Checkout::General::GCO
use Google::Checkout::Command::AddMerchantOrderNumber;
use Google::Checkout::General::Util qw/is_gco_error/;
my $add_merchant_order = Google::Checkout::Command::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.
- new ORDER_NUMBER => ..., MERCHANT_ORDER_NUMBER=> ...
- Constructor. Takes a Google order number and a custom merchant order
number.
- get_merchant_order_number
- Returns the merchant order number.
- set_merchant_order_number MERCHANT_ORDER_NUMBER
- Sets the merchant order number.
- to_xml
- 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.
Copyright 2006 Google. All rights reserved.
Google::Checkout::General::GCO Google::Checkout::Command::DeliverOrder