5/05/2009

Exercise 21

Exercise 21 .Develop the class diagram for the following shopping cart specifications:

A shoppingCart object is associated with only one creditCard and customer and to items in itemToBuy object, Persistent customer information such as name, billing address, delivert address, e-mail address and credit rating is stored in the customer object. The credit card object is associated with a 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 producti. The credit card object contains the secure method for checking that the charge is authentic.

My class diagram is showed in the following:

沒有留言:

發佈留言