Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
StockInterface.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 NAME = 'name';
31  public function getStockId(): ?int;
32 
39  public function setStockId(?int $stockId): void;
40 
46  public function getName(): ?string;
47 
54  public function setName(?string $name): void;
55 
61  public function getExtensionAttributes(): ?\Magento\InventoryApi\Api\Data\StockExtensionInterface;
62 
69  public function setExtensionAttributes(
71  ): void;
72 }
setExtensionAttributes(\Magento\InventoryApi\Api\Data\StockExtensionInterface $extensionAttributes)
$extensionAttributes
Definition: payment.php:22
if(!isset($_GET['name'])) $name
Definition: log.php:14