Develop the 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 itemToBuy. Persistent customer information such as name, billing address, delivery 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 shoppingCart product. The credit card object contains the secure method for checking that the charge is authentic.


No comments:
Post a Comment