Move TransactionItem to Moose.

This commit is contained in:
Colin Kuskie 2010-07-15 14:28:22 -07:00
parent 3bc6548a9f
commit d28397fd65
3 changed files with 286 additions and 167 deletions

View file

@ -501,7 +501,8 @@ A reference to a subclass of WebGUI::Shop::CartItem.
sub addItem {
my ($self, $cartItem) = @_;
my $item = WebGUI::Shop::TransactionItem->create( $self, $cartItem);
my $item = WebGUI::Shop::TransactionItem->new( $self, $cartItem);
$item->write;
return $item;
}