Use Case Model

Use Case:                               Process Order

Primary Actor:                       Cashier

Secondary Actors:                 Cook, Payment Authorization Service

Stakeholders and Interests:

Customer – Customer places order with Cashier.  The Customer orders a number of items, pays sufficient funds for the order, and then receives the food items ordered.

Frequency of Occurrence:     Nearly constantly while restaurant is open

Main Success Scenario:

 

 

 

 

3 (*). Register displays a running total on its customer display panel.

 

 

5 (*). The system processes debit and credit payments using the Payment Authorization Service.  Cash payments are handled directly using the cash drawer.

 

 

 

7. Register generates a printed receipt.

 

 

9. The list of food items ordered is sent to the kitchen for preparation.

1. Customer arrives at the register ready to place an order.

2 (*). Casher enters an item, requested by the Customer, into the register.

 

 

4 (*). Customer makes a payment, using cash, debit, or credit.

 

 

 

 

6. When sufficient funds have been submitted by the Customer, the Cashier indicates that payment is complete.

 

8. Customer takes receipt as proof of purchase.

 

 

10. Cooks prepare the food items, until the order is fully prepared.  When prepared, food items are placed on the waiting rack.

11. Cashier takes prepared food items, and places them on the tray when all items are present on the waiting rack.

12. Customer takes the food items either into the dining room, or home to eat.

Alternative Flows:

2-3a. Customer changes his/her mind about the food item ordered, and the Cashier voids the item from the current order.

6a. Customer is unable to make sufficient funds available through payments.  The Cashier cancels the sale, and tendered payments are reimbursed.

Technical Issues:

  • The cashier uses a customized register which has buttons for each food item offered by the restaurant, as well as complete meals.

 

 

Figure 1:  Basic Use Cases for MacDermitt’s Restaurant

 

Figure 2:  System Sequence Diagram for the Process Order Use Case