56 $scopeId = $this->stockConfiguration->getDefaultScopeId();
59 return $this->stockStateProvider->verifyStock(
$stockItem);
70 $scopeId = $this->stockConfiguration->getDefaultScopeId();
73 return $this->stockStateProvider->verifyNotification(
$stockItem);
88 $scopeId = $this->stockConfiguration->getDefaultScopeId();
91 return $this->stockStateProvider->checkQty(
$stockItem, $qty);
106 $scopeId = $this->stockConfiguration->getDefaultScopeId();
109 return $this->stockStateProvider->suggestQty(
$stockItem, $qty);
122 $scopeId = $this->stockConfiguration->getDefaultScopeId();
125 return $this->stockStateProvider->getStockQty(
$stockItem);
137 $websiteId = $this->stockConfiguration->getDefaultScopeId();
140 return $this->stockStateProvider->checkQtyIncrements(
$stockItem, $qty);
154 $scopeId = $this->stockConfiguration->getDefaultScopeId();
157 return $this->stockStateProvider->checkQuoteItemQty(
$stockItem, $itemQty, $qtyToCheck, $origQty);
__construct(StockStateProviderInterface $stockStateProvider, StockRegistryProviderInterface $stockRegistryProvider, StockConfigurationInterface $stockConfiguration)
suggestQty($productId, $qty, $scopeId=null)
verifyNotification($productId, $scopeId=null)
checkQtyIncrements($productId, $qty, $websiteId=null)
verifyStock($productId, $scopeId=null)
checkQuoteItemQty($productId, $itemQty, $qtyToCheck, $origQty, $scopeId=null)
getStockQty($productId, $scopeId=null)
checkQty($productId, $qty, $scopeId=null)