Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Google-Checkout-1.1.1/lib/Google/Checkout/Command/AddTrackingData.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Google-Checkout-1.1.1/lib/Google/Checkout/Command/AddTrackingData.pm


NAME

Google::Checkout::Command::AddTrackingData


SYNOPSIS


  use Google::Checkout::General::GCO;

  use Google::Checkout::Command::AddTrackingData;

  use Google::Checkout::XML::Constants;

  use Google::Checkout::General::Util qw/is_gco_error/;

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

  #--

  #-- Create a add trcking data (DHL carrier with tracking number 5678) command

  #--

  my $add_tracking = Google::Checkout::Command::AddTrackingData->new(

                     order_number    => 156310171628413,

                     carrier         => Google::Checkout::XML::Constants::DHL,

                     tracking_number => 5678);

  my $response = $gco->command($add_tracking, $run_diagnose);

  die $response if is_gco_error($response);

  print $response,"\n\n";


DESCRIPTION

A sub-class of Google::Checkout::Command::DeliverOrder. This module is used to add tracking data to an order.

new ORDER_NUMBER => ..., CARRIER => ..., TRACKING_NUMBER => ...
Constructor. Takes a Google order number, a tracking number and a carrier.

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::General::GCO Google::Checkout::Command::DeliverOrder

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy