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-inventory-api
Api
Data
StockSourceLinkInterface.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\InventoryApi\Api\Data
;
9
17
interface
StockSourceLinkInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
18
{
22
const
STOCK_ID
=
'stock_id'
;
23
const
SOURCE_CODE
=
'source_code'
;
24
const
PRIORITY
=
'priority'
;
32
public
function
getStockId
(): ?int;
33
40
public
function
setStockId
(?
int
$stockId): void;
41
47
public
function
getSourceCode
(): ?string;
48
56
public
function
setSourceCode
(?
string
$sourceCode
): void;
57
63
public
function
getPriority
(): ?int;
64
72
public
function
setPriority
(?
int
$priority): void;
73
79
public
function
getExtensionAttributes
(): ?\
Magento
\InventoryApi\Api\Data\StockSourceLinkExtensionInterface;
80
87
public
function
setExtensionAttributes
(
88
\
Magento
\InventoryApi\Api\Data\StockSourceLinkExtensionInterface
$extensionAttributes
89
): void;
90
}
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\getPriority
getPriority()
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\setStockId
setStockId(?int $stockId)
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\setPriority
setPriority(?int $priority)
Magento\InventoryApi\Api\Data\StockSourceLinkInterface
Definition:
StockSourceLinkInterface.php:17
$sourceCode
$sourceCode
Definition:
inventory.phtml:11
Magento\InventoryApi\Api\Data
Definition:
SourceCarrierLinkInterface.php:8
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\setSourceCode
setSourceCode(?string $sourceCode)
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\getExtensionAttributes
getExtensionAttributes()
Magento
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\STOCK_ID
const STOCK_ID
Definition:
StockSourceLinkInterface.php:22
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\getStockId
getStockId()
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\SOURCE_CODE
const SOURCE_CODE
Definition:
StockSourceLinkInterface.php:23
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\PRIORITY
const PRIORITY
Definition:
StockSourceLinkInterface.php:24
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\getSourceCode
getSourceCode()
Magento\InventoryApi\Api\Data\StockSourceLinkInterface\setExtensionAttributes
setExtensionAttributes(\Magento\InventoryApi\Api\Data\StockSourceLinkExtensionInterface $extensionAttributes)