Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-catalog-inventory
Api
StockItemRepositoryInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CatalogInventory\Api
;
7
17
interface
StockItemRepositoryInterface
18
{
25
public
function
save
(\
Magento
\CatalogInventory\Api\Data\
StockItemInterface
$stockItem
);
26
33
public
function
get
($stockItemId);
34
41
public
function
getList
(\
Magento
\CatalogInventory\Api\
StockItemCriteriaInterface
$criteria);
42
49
public
function
delete
(
\Magento\CatalogInventory\Api\Data\StockItemInterface
$stockItem
);
50
55
public
function
deleteById
(
$id
);
56
}
Magento\CatalogInventory\Api\StockItemRepositoryInterface\getList
getList(\Magento\CatalogInventory\Api\StockItemCriteriaInterface $criteria)
Magento\CatalogInventory\Api\Data\StockItemInterface
Definition:
StockItemInterface.php:19
Magento\CatalogInventory\Api\StockItemCriteriaInterface
Definition:
StockItemCriteriaInterface.php:17
Magento\CatalogInventory\Api\StockItemRepositoryInterface\deleteById
deleteById($id)
$id
$id
Definition:
fieldset.phtml:14
$stockItem
$stockItem
Definition:
configurable_options_advanced_inventory.php:24
Magento
Magento\CatalogInventory\Api
Definition:
LowStockItemsTest.php:6
Magento\CatalogInventory\Api\StockItemRepositoryInterface\save
save(\Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem)
Magento\CatalogInventory\Api\StockItemRepositoryInterface
Definition:
StockItemRepositoryInterface.php:17