Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Draw a class diagram for an order processing system. An order consists of a number of order items. Each order item has the attributes of
Draw a class diagram for an order processing system. An order consists of a number of order items.
Each order item has the attributes of product id quantity, unit price and subtotal for the order. An
order will be shipped to the customers address. Each customer address is composed of three lines
of string. The order may be paid by a cheque or a credit card. A cheque is identified by its cheque
number. A credit card payment can only be processed if we know the card type Visa MasterCard,
etc. card number, card holders name, card identification number and expiry date. The class
diagram should show appropriate data attributes including but not limited to the ones mentioned in
the question. You are not required to specify the data types for the attributes. You dont need to
show the operations of the classes in the diagram. The diagram should contain an inheritance
relationship and a wholepart relationship. Also specify appropriate multiplicities on the
associations.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started