Professional Documents
Culture Documents
–––
Group Members
1. Insia Sharafat_010
2. Barira Akbar_021
2
Table of Contents
1. Introduction 4
1.1 Purpose 4
2.3 Checkout 8
3. Class Diagram 10
3.1 Explanation 10
4. Sequence Diagram 11
4.3 Checkout 13
4.4 Review 13
4.5 Payment 14
5. Package Diagram 15
5.1 Explanation 18
6. Communication diagram 17
6.1Place Order 18
6.3 Checkout 19
6.4 Review 19
6.5 Payment 20
7.3 Checkout 24
7.4 Review 24
7.5 Payment 25
8. Deployment Diagram 25
8.3 Checkout 27
8.4 Review 27
8.5 Payment 28
4
1. Introduction
Food panda is an application which processes and sends orders to the partners (restaurants, shops),
where the people can order food and grocery items online from their favorite restaurants or shops,
and have them delivered at their doorstep. Customer can simply select city & area or select on the
location feature in the food panda app & browse through a list of quality restaurants. These are the
basic stages of food panda to deliver the food to the customer.
Placing of an order by the customer via web/mobile
PLACE AN ORDER
ORDER RECEIVED
ORDER CONFIRMATION
DELIVERED MESSAGE
ORDEPREPARE
1.1 Purpose
Instead of going to the specific restaurant, the customer can make an order and receive the food or
grocery items which he/she has ordered. Their purpose is to serve people a splendid meal without
any difficulty for all the food lovers and the one who doesn’t want to step out to do the shopping
from grocery stores.
5
Actors
Customer
Admin
Accountant
Delivery man
6
1. Download App: If the person wants to order something from foodpanda he/she will have to
download it.
2. Area/location: Foodpanda will ask for the specific location of the area to give options
regarding available outlets near your home or the address customer has provided.
3. Log in: The customer must log in to the website through their email address.
4. Filter / choose: Customer filters out their choices according to their taste.
5. Pick restaurant: The customer can choose the restaurant of their demand by clicking this
option.
6. Add to cart: If the food is decided, customer can add it to cart and follow the next steps.
7. Place order: Customer can order the specific food after confirming it.
8. Cancel: If the customer is confused or do not have money, they can cancel the order.
9. Sale: There can be a discount on delivery or food.
10. Payment: Payment can be done through PayPal or on receiving the delivery.
11. Review: Customers are allowed to give their reviews on the website.
12. Checkout: App confirms at the end from the customer to check out the list.
13. Delivery: Delivery boy delivers the food at the given address.
14. Refund: Customer has the right to refund their cash if their food is not up to the mark.
15. Delivery Fee: Delivery fee can be collected by delivery man or through online system.
16. Billing Address: For the verification of credit card, there is a need of providing the exact
billing address that is written in the credit card statement.
17. Complain: Customer can complain about the food or late delivery to the branch and admin
can access (views) that complain.
Login use case is included use case not available by itself login is part of Download app.
Pick restaurant use case is included use case not available by itself login is part of
Location.
Refund, payment, pick restaurant, cancel use cases are extended by several optional use
cases because they provide some optional functions allowing customer to find food item.
7
1. View items
View Items use case is extended by several optional use cases because they provide some
optional functions allowing customer to find item.
Customer Authentication use case is included in offers and Add to cart because both
require the customer to be authenticated. At the same time, item could be added to the
shopping cart without customer authentication.
2. Checkout
Stakeholder: Restaurants
Stakeholder: Restaurants
9
Preconditions: Customer must have a valid account, password and have selected food item.
Stakeholder: Bank
Stakeholder: Restaurants
Success scenario: Successfully checked out number of items and payment details.
Stakeholder: Restaurants
Preconditions: Customer must have received an order after that he/she will review about
restaurant, order and services.
Explanation:
There are fifteen classes used in this diagram to show the ordering of items (food/grocery)
from Foodpanda
Relationships have been used in the diagram to make the link clearer between the classes
11
1. Place order
2. Review
13
3. Cancel order
4. Checkout
14
5. Payment
Explanation:
All of the use cases discussed above have different scenarios and all of them are communicating
with the help of lifelines. The lifelines used in these diagrams are:
Customer
Foodpanda
Cart
Order
15
6. Package diagram
Explanation:
The package diagram of Foodpanda above shows that there are five packages along with their
models.
1. Customer
Models: Name, Address, Contact
16
2. Foodpanda
Models: Item, Price
3. Shops
Models: Item_qty, Item_price
4. Restaurant
Models: Item_qty, Item_price
5. Order
Models: Item_id, Item_name, price, Customer_name, Customer_id, Date
6. Cart
Models: Total_items, Amount, Item_description
7. Payment
Models: Customer_info, Total_Bill, Items_info
8. Delivery
Models: Customer_name, Address, Amount
9. Credit
Models: Card_number, Amount
10. Delivery
Models: Bank Account, Amount
Dependencies:
Foodpanda can only be accessed when it will allow the customer to log in
If there will be a customer, then the order will be placed
If there will be a customer and items, then the customer will add items to the cart
If there will be no customer, no one will give payment. So here payment depends on customer
Conforms:
Delivery
Credit
PayPal
17
Above mentioned packages are conformed from payment showing that these payment methods are
driven from payment, and payment can be done through them.
Containments:
Foodpanda contains shops through which customers can order simple grocery items
Foodpanda contains restaurants through which customers can order foods from different
restaurants
Foodpanda contains cart to handle the orders
7. Communication diagram
This diagram represents the whole performance of communication diagram without being divided
into use cases, and the ones divided are given below:
18
1. Place Order
2. Cancel Order
19
3. Checkout
4. Review
20
5. Payment
Explanation
This communication diagram explains the communications between different lifelines. Forward
and reverse messages are used respectively by simply displaying the sequence of messages.
Customer
Foodpanda
Item
Cart
Order
Delivery
These are the lifelines which are used in different use cases.
21
8. Activity diagram
Explanation:
This diagram represents the whole procedure of Foodpanda with the help of activity diagram in
swim lanes.
Customer
Website
Database
22
These are the vertical swim lanes which are used in the diagram to represent the activities of
Foodpanda.
This is the general activity diagram showing the activities of foodpanda just like swim lanes
without actually using it.
1. Place Order
23
2. Cancel Order
3. Checkout
24
4. Review Order
25
5. Payment
6. Deployment diagram
1. Place Order
26
2. Cancel Order
3. Checkout
27
4. Review Order
5. Payment
28
Explanations:
Similarly deployment diagram shows the hardware or software systems, their communication link
and the placement of software files on them.
Customer Desktop
Web service
Database storage
Foodpanda server
Nested nodes
Shops
Restaurants
Whereas these are the artifacts, which have been deployed from Foodpanda. Without their
existence there would be no working of foodpanda.