Package com.ateam.webstore.model

Examples of com.ateam.webstore.model.ItemsOrdered


   
    Orders order = new Orders(cart.getProducts().size(), 0.0, 0.0, 0.0, v.getCustomer(), null, null, null);
   
    Collection<ItemsOrdered> items = new ArrayList<ItemsOrdered>();
    for (ProductsInCart prod : cart.getProducts()) {
      ItemsOrdered item = new ItemsOrdered(prod.getProduct().getSalesPrice(), prod.getQuantity(), false, null, prod.getProduct());
      items.add(item);
      order.addItemPrice(prod.getProduct().getSalesPrice());
    }
   
   
View Full Code Here

TOP

Related Classes of com.ateam.webstore.model.ItemsOrdered

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.