Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
