#ifdef SHOPPING_CART_H #define SHOPPING_CART_H #include <string> using namespace std; #include "ItemtoPurchase.h" class shoppingCart{ public: shoppingCart() shoppingCart(stringname,stringdate); stringGeCustomerName()const; "Customer Date"; void AddItem(ItemtoPurchaseItem); void RemoveItem(string name); void ModifyItem(ItemtoPurchaseItem); int GetNumItemsInCart(); double GetCostofCart(); void PrintTotal(); void PrintDescription(); private: string CustomerName; string CurrentDate; vector <ItemtoPurchase> CartItems; }; #endif
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more