Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
InventoryRequestInterface.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
16 {
22  public function getStockId(): int;
23 
29  public function getItems(): array;
30 
37  public function setStockId(int $stockId): void;
38 
45  public function setItems(array $items): void;
46 
52  public function getExtensionAttributes(): ?InventoryRequestExtensionInterface;
53 
60  public function setExtensionAttributes(
61  \Magento\InventorySourceSelectionApi\Api\Data\InventoryRequestExtensionInterface $extensionAttributes
62  ): void;
63 }
setExtensionAttributes(\Magento\InventorySourceSelectionApi\Api\Data\InventoryRequestExtensionInterface $extensionAttributes)
$extensionAttributes
Definition: payment.php:22
$items