Question: Create specified classes with following requirements. Class PizzaOrder Ability to add/remove pizza(s) An order can have more than one pizza. Ability to specify the store

Create specified classes with following requirements.

Class PizzaOrder

Ability to add/remove pizza(s) An order can have more than one pizza.

Ability to specify the store for which the order is made

Ability to apply special promotion code

Ability to check the order status Possible statuses are ORDER_CREATED, ORDER_CANCELED, ORDER_READY, ORDER_ON_DELIVERY, ORDER_COMPLETE

Has customer information

Class Pizza

Ability to specify toppings Ability to add/remove toppings

Ability to specify price

Ability to specify crust type (thin/thick)

Class Store

Ability to hold a list of employees Ability to add/remove employees

Needs to have address including zip code

Needs to have phone number

Needs to be able to show monthly pizza sales

Class Employee

Has first name, last name

Class Customer

Has first name, last name, phone number, zip code, frequent mileage number

Note:

sort PizzaOrder by order date and total order amount

search PizzaOrder by customer

search PizzaOrder by order date

pull list of PizzaOrder prior to a certain date in sorted order by date

pull list of PizzaOrder after a certain date in sorted order by date

A customer must be able to find one of stores in the same zip code

For searching and sorting above, explain time/space computation complexity using Big O Notation.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!