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
StockRepositoryInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CatalogInventory\Api
;
7
17
interface
StockRepositoryInterface
18
{
25
public
function
save
(\
Magento
\CatalogInventory\Api\Data\StockInterface
$stock
);
26
33
public
function
get
($stockId);
34
41
public
function
getList
(
StockCriteriaInterface
$collectionBuilder);
42
49
public
function
delete
(
\Magento\CatalogInventory\Api\Data\StockInterface
$stock
);
50
}
Magento\CatalogInventory\Api\StockRepositoryInterface\save
save(\Magento\CatalogInventory\Api\Data\StockInterface $stock)
Magento\CatalogInventory\Api\Data\StockInterface
Definition:
StockInterface.php:19
Magento
Magento\CatalogInventory\Api
Definition:
LowStockItemsTest.php:6
$stock
$stock
Definition:
product_alert.php:22
Magento\CatalogInventory\Api\StockRepositoryInterface
Definition:
StockRepositoryInterface.php:17
Magento\CatalogInventory\Api\StockRepositoryInterface\getList
getList(StockCriteriaInterface $collectionBuilder)
Magento\CatalogInventory\Api\StockCriteriaInterface
Definition:
StockCriteriaInterface.php:17