Each customer has a unique id and is linked to exactly one account. Account owns shopping cart and orders. The customer could register as a web user to be able to buy items online. The customer is not required to be a web user because purchases could also be made by phone or by ordering from catalogs. The web user has a login name which also serves as a unique id. Web users could be in several states - new, active, temporarily blocked, or banned, and be linked to a shopping cart. The shopping cart belongs to the account. Account owns customer orders. The customer may have no orders. Customer orders are sorted and unique. Each order could refer to several payments, possibly none. Every payment has a unique id and is related to exactly one account. Each order has current order status. Both order and the shopping carts have line items linked to a specific product. Each line item is related to exactly one product. A product could be associated with many line items or no item at all.   Provide a class diagram for online shopping. Identify the classes, their relationships, and multiplicity.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Each customer has a unique id and is linked to exactly one account. Account owns shopping cart and orders. The customer could register as a web user to be able to buy items online. The customer is not required to be a web user because purchases could also be made by phone or by ordering from catalogs. The web user has a login name which also serves as a unique id. Web users could be in several states - new, active, temporarily blocked, or banned, and be linked to a shopping cart. The shopping cart belongs to the account.

Account owns customer orders. The customer may have no orders. Customer orders are sorted and unique. Each order could refer to several payments, possibly none. Every payment has a unique id and is related to exactly one account.

Each order has current order status. Both order and the shopping carts have line items linked to a specific product. Each line item is related to exactly one product. A product could be associated with many line items or no item at all.

 

Provide a class diagram for online shopping. Identify the classes, their relationships, and multiplicity.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY