Project:
|
![]() Figure C.03b - Shopping Cart and Shopping Cart Item Business Entities : Class diagram
ShoppingCart looks like CustomerProductOrder except relationships with BillingAccount, Payment and SalesChannel that do not exit for ShoppingCart.<br/>In the same way ShoppingCartItem looks like CustomerProductOrderItem except elationships with BillingAccount and Payment that do not exit for ShoppingCartItem.<br/>It isn't mandatory to use ShoppingCart, CustomerProductOrder is enough to cover all the Customer Order Handling process. But some CSP might prefer to keep the view of what the customer decided to buy seperated from the final order. In this case, we can instanciate an instance of ShoppingCart and when the customer is identified, instanciate a CustomerOrder refering to the ShoppingCart.<br/>
|