Develop a class diagram for a shopping cart.
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, 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 shopping cart product. The credit card object contains the secure method for checking that the charge is authentic.
Figure1.( Satzinger et al, 2009).Class Diagram of Shopping Cart
Reference
Satzinger, J.,& Jackson, R.,& Burd,S.(2009). System analysis & design in a changing world . (5th ed,PP386-427) Boston,MA:USA
No comments:
Post a Comment