David Shao Lin Zhuo

NAME

Google::Checkout::Command::UnarchiveOrder

SYNOPSIS

  use Google::Checkout::General::GCO;
  use Google::Checkout::Command::UnarchiveOrder;
  use Google::Checkout::General::Util qw/is_gco_error/;

  my $gco = Google::Checkout::General::GCO->new;

  my $unarchive = Google::Checkout::Command::UnarchiveOrder->new(
                  order_number => 156310171628413);
  my $response = $gco->command($unarchive);
  die $response if is_gco_error($response);
  print $response,"\n\n";

DESCRIPTION

A sub-class of Google::Checkout::Command::GCOCommand. This module is used to unarchive an order.

new ORDER_NUMBER => ...

Constructor. Takes a Google 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 Google::Checkout::General::GCO object internally.

COPYRIGHT

Copyright 2006 Google. All rights reserved.

SEE ALSO

Google::Checkout::Command::GCOCommand