Use-case - Use-case diagram.

kkhhaa50
Use-caseexamples.docx

Use-case Examples

Use Case Name:

Place Order

Actors:

· Registered Shopper (Has an existing account, possibly with billing and shipping information)

· Non-registered Shopper (Does not have an existing account)

· Fulfillment System (processes orders for delivery to customers)

· Billing System (bills customers for orders that have been placed)

Triggers:

The user indicates that she wants to purchase items that she has selected.

Preconditions:

User has selected the items to be purchased.

Post-conditions:

· The order will be placed in the system.

· The user will have a tracking ID for the order.

· The user will know the estimated delivery date for the order.

Normal Flow:

· The user will indicate that she wants to order the items that have already been selected.

· The system will present the billing and shipping information that the user previously stored.

· The user will confirm that the existing billing and shipping information should be used for this order.

· The system will present the amount that the order will cost, including applicable taxes and shipping charges.

· The user will confirm that the order information is accurate.

· The system will provide the user with a tracking ID for the order.

· The system will submit the order to the fulfillment system for evaluation.

· The fulfillment system will provide the system with an estimated delivery date.

· The system will present the estimated delivery date to the user.

· The user will indicate that the order should be placed.

· The system will request that the billing system should charge the user for the order.

· The billing system will confirm that the charge has been placed for the order.

· The system will submit the order to the fulfillment system for processing.

· The fulfillment system will confirm that the order is being processed.

· The system will indicate to the user that the user has been charged for the order.

· The system will indicate to the user that the order has been placed.

· The user will exit the system.

Alternate Flows:

A. The user enters billing and shipping information for the order. The user desires to use shipping and billing information that differs from the information stored in her account. This alternate flow also applies if the user does not maintain billing and / or shipping information in their account, or if the user does not have an account.

1. The user will indicate that this order should use alternate billing or shipping information.

2. The user will enter billing and shipping information for this order.

3. The system will validate the billing and shipping information.

4. The use case continues

B. The user will discover an error in the billing or shipping information associated with their account, and will change it.

1. The user will indicate that the billing and shipping information is incorrect.

2. The user will edit the billing and shipping information associated with their account.

3. The system will validate the billing and shipping information.

4. The use case returns to step 2 and continues.

C. The user will discover an error in the billing or shipping information that is uniquely being used for this order, and will change it.

1. The user will indicate that the billing and shipping information is incorrect.

2. The user will edit the billing and shipping information for this order.

3. The use case returns to step A3.

D. The user will determine that the order is not acceptable (perhaps due to dissatisfaction with the estimated delivery date) and will cancel the order.

1. The user will request that the order be cancelled.

2. The system will confirm that the order has been cancelled.

3. The use case ends.