David Shao Lin Zhuo

NAME

Google::Checkout::Command::GCOCommand

SYNOPSIS

DESCRIPTION

You usually won't need to use this class directly.

new ORDER_NUMBER => ..., NAME => ...

Constructor. Takes a Google order number and the name of the actual command that will eventually be sent to Google Checkout. Again, you will not need to use this class directly most of the time.

get_name

Returns the name of the command.

set_name NAME

Sets the name of the command.

get_order_number

Returns the Google order number.

set_order_number ORDER_NUMBER

Sets the Google order number.

to_xml

Writes the command name as well as the Google order number that are common to all the sub-command classes.

COPYRIGHT

Copyright 2006 Google. All rights reserved.

SEE ALSO