Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
StockSourceLinkInterface.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
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 }
$sourceCode
Definition: inventory.phtml:11
$extensionAttributes
Definition: payment.php:22