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/AddMerchantOrderNumber.pm

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


NAME

Google::Checkout::Command::AddMerchantOrderNumber


SYNOPSIS


  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";


DESCRIPTION

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

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