
Topic 9 Exercise 13
Develop a class diagram for the following shopping cart specifications:
A shopping cart object is associated with only one credit card and customer and to items in the Item_to_Buy object. Persistent customer information such as name, billing address, delivery address, e-mail address, and credit rating is stored in customer object. The credit card object is associated with FrequentShopper discount object, if the credit rating for the customer is good. The customer can make or cancel orders as well as add and delete items to the shopping cart product. The Credit_Card object contains the secure method for checking that the charge is authentic.
No comments:
Post a Comment