Saturday, May 22, 2010

Exercise 13 - Shopping cart specifications

Develop the class diagram for the following shopping cart specifications.
  • shoppingCart object associated with only one creditCard and customer and to items in itemToBuy object.
  • persistent customer information stored in customer object (name, billing address, delivery address, email address, credit rating).
  • creditCard object associated with frequentShopper discount object if credit rating for customer is good.
  • customer can make or cancel orders as well as add/delete items to shopping cart.
  • creditCard object contains secure method for checking charge is authentic.
Im using the Visio 2003 diagramming tool to do the class diagram, as I have used this previously before in other jobs and subjects. Below is the class diagram for the shopping cart.



No comments:

Post a Comment