public class CommerceStockLevelStatusStrategy extends java.lang.Object implements StockLevelStatusStrategy
| Constructor and Description |
|---|
CommerceStockLevelStatusStrategy() |
| Modifier and Type | Method and Description |
|---|---|
StockLevelStatus |
checkStatus(java.util.Collection<StockLevelModel> stockLevels)
Checks the status of the specified
StockLevels. |
StockLevelStatus |
checkStatus(StockLevelModel stockLevel)
Checks the status of the specified
StockLevel. |
protected CommerceAvailabilityCalculationStrategy |
getCommerceStockLevelCalculationStrategy() |
protected int |
getDefaultLowStockThreshold() |
void |
setCommerceStockLevelCalculationStrategy(CommerceAvailabilityCalculationStrategy commerceStockLevelCalculationStrategy) |
void |
setDefaultLowStockThreshold(int lowStockThreshold) |
public StockLevelStatus checkStatus(StockLevelModel stockLevel)
StockLevelStatusStrategyStockLevel.checkStatus in interface StockLevelStatusStrategystockLevel - the stock level to be checkedpublic StockLevelStatus checkStatus(java.util.Collection<StockLevelModel> stockLevels)
StockLevelStatusStrategyStockLevels.checkStatus in interface StockLevelStatusStrategystockLevels - the stock levels to be checkedprotected int getDefaultLowStockThreshold()
public void setDefaultLowStockThreshold(int lowStockThreshold)
protected CommerceAvailabilityCalculationStrategy getCommerceStockLevelCalculationStrategy()
public void setCommerceStockLevelCalculationStrategy(CommerceAvailabilityCalculationStrategy commerceStockLevelCalculationStrategy)
Copyright © 2018 SAP SE. All Rights Reserved.