22 $this->mapperInterfaceName = $mapper ?: StockItemCriteriaMapper::class;
23 $this->data[
'initial_condition'] = [
true];
31 $this->data[
'stock_status'] = func_get_args();
40 $this->data[
'stock_filter'] = [
$stock];
49 $this->data[
'website_filter'] = [$scope];
58 $this->data[
'products_filter'] = [
$products];
67 $this->data[
'managed_filter'] = [$isStockManagedInConfig];
76 $this->data[
'qty_filter'] = [$comparisonMethod, $qty];
setStockStatus($storeId=null)
setQtyFilter($comparisonMethod, $qty)
setProductsFilter($products)
setManagedFilter($isStockManagedInConfig)
addCriteria(\Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria)