An online shop needs software for managing all the sales. Sales are classified as Basic or Business.
Question:
An online shop needs software for managing all the sales. Sales are classified as Basic or Business. The system works as follows: the user has to log in the system with username and password. Once the user is authenticated he can do the following:
1. Choose the type of purchase to perform (Basic or Business).
a. If the user chooses Business purchase he is given the possibility to pay with credit card or bank transfer.
i. If the user wants to pay with credit card he is redirected to the webpage where he can insert the data of the credit card
ii. If the user wants to pay with bank transfer he is redirected to the webpage where he can upload the copy of the bank transfer document.
b. If the user chooses Basic purchase he is redirected to the PayPal page to make a payment with PayPal. He has to login in PayPal to perform the transaction.
2. After the user chooses the type of purchase, he can select the products to insert in the shopping cart, their quantity and the address of shipping. There can be two scenarios:
a. The products may be available with the quantity indicated
b. There is not enough quantity in the shop (In this case the software should generate an automatic order for the product supplier. The order is not shown to the user but is sent by e-mail to the shop manager).
3. Print the number of purchases performed by the user on the website from the beginning of the year.
4. Print information about the status of previously purchased products which have been made by the user. The status can be: Ordered, Shipped or Not Available Yet.
a. In case the status is “Not Available Yet”, the user can cancel the purchase.
Design UML diagrams and complete the following:
1. Use Case diagrams.
a. Design a Use Case diagram for each functional requirement in the system
b. Give precise textual description for all the use cases