Move TransactionItem to Moose.
This commit is contained in:
parent
3bc6548a9f
commit
d28397fd65
3 changed files with 286 additions and 167 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue