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.
Class Diagram for shopping cart

No comments:
Post a Comment