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
Data
StockInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CatalogInventory\Api\Data
;
7
8
use
Magento\Framework\Api\ExtensibleDataInterface
;
9
19
interface
StockInterface
extends
ExtensibleDataInterface
20
{
21
const
STOCK_ID
=
'stock_id'
;
22
23
const
STOCK_NAME
=
'stock_name'
;
24
30
public
function
getStockId
();
31
38
public
function
setStockId
($stockId);
39
45
public
function
getStockName
();
46
53
public
function
setStockName
($stockName);
54
60
public
function
getExtensionAttributes
();
61
68
public
function
setExtensionAttributes
(
69
\
Magento
\CatalogInventory\Api\Data\StockExtensionInterface
$extensionAttributes
70
);
71
}
Magento\CatalogInventory\Api\Data\StockInterface\setExtensionAttributes
setExtensionAttributes(\Magento\CatalogInventory\Api\Data\StockExtensionInterface $extensionAttributes)
Magento\CatalogInventory\Api\Data
Definition:
StockCollectionInterface.php:10
Magento\CatalogInventory\Api\Data\StockInterface\STOCK_ID
const STOCK_ID
Definition:
StockInterface.php:21
Magento\CatalogInventory\Api\Data\StockInterface\STOCK_NAME
const STOCK_NAME
Definition:
StockInterface.php:23
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento\CatalogInventory\Api\Data\StockInterface
Definition:
StockInterface.php:19
Magento\CatalogInventory\Api\Data\StockInterface\setStockId
setStockId($stockId)
Magento
Magento\CatalogInventory\Api\Data\StockInterface\getStockId
getStockId()
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\CatalogInventory\Api\Data\StockInterface\setStockName
setStockName($stockName)
Magento\CatalogInventory\Api\Data\StockInterface\getStockName
getStockName()
Magento\CatalogInventory\Api\Data\StockInterface\getExtensionAttributes
getExtensionAttributes()