public void decreaseStock() {
		ProductDAO dao = DAOFactory.getInstance().getProductDAO();
		int id;
		for (ProductInBasket product : basket.getAllProductsInBasket()) {
			id = product.getProduct().getId();
			dao.decreaseStock(id, basket.getProductInBasket(id).getQuantity());
		}
	}