Interface ShoppingStockCalculationStrategy
- All Known Implementing Classes:
DefaultShoppingStockCalculationStrategy,PROSProductStockCalculationStrategy
public interface ShoppingStockCalculationStrategy
The interface Shopping stock calculation strategy.
-
Method Summary
Modifier and TypeMethodDescriptioncalculateStock(ProductModel product, Collection<WarehouseModel> warehouses) Calculate stock level.
-
Method Details
-
calculateStock
Calculate stock level.- Parameters:
product- the productwarehouses- the warehouses- Returns:
- the double
-