Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ItemToSellInterface.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
17 {
21  public function getSku(): string;
22 
26  public function getQuantity(): float;
27 
32  public function setSku(string $sku): void;
33 
38  public function setQuantity(float $qty): void;
39 
45  public function getExtensionAttributes(): ?\Magento\InventorySalesApi\Api\Data\ItemToSellExtensionInterface;
46 
53  public function setExtensionAttributes(
54  \Magento\InventorySalesApi\Api\Data\ItemToSellExtensionInterface $extensionAttributes
55  ): void;
56 }
$extensionAttributes
Definition: payment.php:22
setExtensionAttributes(\Magento\InventorySalesApi\Api\Data\ItemToSellExtensionInterface $extensionAttributes)