View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
David Shao Lin Zhuo > Google-Checkout-1.1.1 > Google::Checkout::Command::ArchiveOrder

Download:
Google-Checkout-1.1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  1
View/Report Bugs
Source  

NAME ^

Google::Checkout::Command::ArchiveOrder

SYNOPSIS ^

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

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

  my $archive = Google::Checkout::Command::ArchiveOrder->new(order_number => 1234);
  my $response = $gco->command($archive);
  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 archive an order.

new ORDER_NUMER => ...

Constructor. Takes a Google order number

to_xml

Returns 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

syntax highlighting: