Removing the total attribute in Cashier. total is the local variable not
class variable.
update Bag