The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Google::Checkout::General::Shipping

DESCRIPTION

Parent class of Google::Checkout::General::FlatRateShipping, Google::Checkout::General::Pickup, and Google::Checkout::General::MerchantCalculatedShipping. Normally, you won't need to use this module directly.

new NAME => ..., SHIPPING_NAME => ..., PRICE => ..., RESTRICTION => ...

Constructor. NAME is used internally. SHIPPING_NAME is the name of the shipping method. RPICE is the shipping charge and RESTRICTION is an object of Google::Checkout::General::ShippingRestrictions where shipping restrictions are defined. Again, you probably won't need to use this module directly.

get_name

Returns the internally used name.

set_name NAME

Sets the internal name.

get_shipping_name

Returns the name of the shipping method.

set_shipping_name NAME

Sets the name of the shipping method.

get_price

Returns the charging price for this shipping method.

set_price PRICE

Sets the charging price for this shipping method.

get_restriction

Returns the shipping restrictions: An object of Google::Checkout::General::ShippingRestrictions.

set_restriction RESTRICTION

Sets the shipping restriction to RESTRICTION: An object of Google::Checkout::General::ShippingRestrictions.

COPYRIGHT

Copyright 2006 Google. All rights reserved.

SEE ALSO

Google::Checkout::General::ShippingRestrictions