Index
All Classes and Interfaces|All Packages|Constant Field Values
P
- perPoundCost() - Method in class cs2110.BulkItem
-
Return the per-pound cost (in cents) of this item's product.
- processCartAdd(String[]) - Method in class cs2110.GrocerySimulator
-
Process an "addtocart" command.
- processCartList() - Method in class cs2110.GrocerySimulator
-
Process a "listcart" command by listing the items currently in the cart.
- processCartRemove(String[]) - Method in class cs2110.GrocerySimulator
-
Process a "removefromcart" command.
- processCheckout() - Method in class cs2110.GrocerySimulator
-
Process the "checkout" command by initializing the register transaction with the current cart contents.
- processCommands(Scanner, boolean) - Method in class cs2110.GrocerySimulator
-
Read commands from a Scanner and execute them.
- processCouponList() - Method in class cs2110.GrocerySimulator
-
Process a "listcoupon" command by listing the coupons that have not been scanned.
- processCouponScan(String[]) - Method in class cs2110.GrocerySimulator
-
Process a "scancoupon" command.
- processPay() - Method in class cs2110.GrocerySimulator
-
Process the "pay" command by printing the (sorted) receipt and exiting the simulator.
All Classes and Interfaces|All Packages|Constant Field Values