placeholder for calculate in Shop::Tax.pm

This commit is contained in:
Colin Kuskie 2008-03-01 04:54:21 +00:00
parent 67712c7302
commit 9d377193d3
2 changed files with 23 additions and 0 deletions

View file

@ -78,6 +78,23 @@ sub add {
#-------------------------------------------------------------------
=head2 calculate ( $cart )
Calculate the tax for the contents of the cart.
=cut
sub calculate {
my $self = shift;
my $cart = shift;
WebGUI::Error::InvalidParam->throw(error => 'Must pass in a WebGUI::Shop::Cart object')
unless ref($cart) eq 'WebGUI::Shop::Cart';
return $id;
}
#-------------------------------------------------------------------
=head2 delete ( [$params] )
Deletes data from the tax table by taxId.

View file

@ -378,6 +378,12 @@ sub _grabTaxData {
return @taxData;
}
#######################################################################
#
# calculate
#
#######################################################################
#----------------------------------------------------------------------------
# Cleanup
END {