Question: Question 2 (13 Marks): Create a UML Class Diagram using Microsoft Visio or any drawing tools. This class diagram for Amazon E-commerce platform. The customer
Question 2 (13 Marks): Create a UML Class Diagram using Microsoft Visio or any drawing tools. This class diagram for Amazon E-commerce platform. The customer has a unique email and password, address, and mobile number and he can set his username password to log in the web site/mobile app, and Set mobile number, email, and address. An account owns shopping cart and orders. An account is specified by id, wallet status, and address_information. An account cannot exist without users and be linked to a shopping cart. Shopping cart belongs to account and have the date of creation. Each shopping cart has only one user. With an account we can apply many orders: number, ordered date, shipped date, destination_address, status and the total_amount. The total_amount is calculated by the calculate_Total function. An order contains many Items. Each Item contains the number of items and the price of the order and get the price. Each order has many lineltem and Payment, but each payment has only one order. The payment is attached with one account and one order. It has Payment_id, date of payment, total and details. Each account has many payments including none. You are required to show the following in your diagram: Classes and their attributes including primary keys. Operations of each classes, if any: Associations between classes and multiplicity. Generalization, aggregation, and composition relationships, if any
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
