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());
}