This class can be used to manage a shopping cart. It can perform several types of operations like adding and removing items from the cart, empty the cart, get the cart items list, etc.. The class can save the cart contents to either a session variable or a cookie.