|
NAMEGoogle::Checkout::General::TaxRule SYNOPSIS use Google::Checkout::XML::Constants;
use Google::Checkout::General::TaxRule;
use Google::Checkout::General::TaxTableAreas;
#--
#-- Shipping tax set to 1 means shippings
#-- are taxable and the rate is 2.5%. This
#-- tax rule should apply to all 50 states
#--
my $tax_rule = Google::Checkout::General::TaxRule->new(
shipping_tax => 1,
rate => 0.025,
area => Google::Checkout::General::TaxTableAreas->new(
country => [Google::Checkout::XML::Constants::FULL_50_STATES]));
#--
#-- default tax table
#--
my $tax_table1 = Google::Checkout::General::TaxTable->new(
default => 1,
rules => [$tax_rule]);
DESCRIPTIONThis module is responsible for creating text rule which can then be added to a tax table ("Google::Checkout::General::TaxTable").
COPYRIGHTCopyright 2006 Google. All rights reserved. SEE ALSOGoogle::Checkout::General::TaxTableAreas
|