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-sales-api
Api
Data
ItemToSellInterface.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\InventorySalesApi\Api\Data
;
9
16
interface
ItemToSellInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
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
}
Magento\InventorySalesApi\Api\Data\ItemToSellInterface\getSku
getSku()
Magento\InventorySalesApi\Api\Data\ItemToSellInterface\setSku
setSku(string $sku)
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento
Magento\InventorySalesApi\Api\Data\ItemToSellInterface\getQuantity
getQuantity()
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\InventorySalesApi\Api\Data\ItemToSellInterface\setQuantity
setQuantity(float $qty)
Magento\InventorySalesApi\Api\Data\ItemToSellInterface\setExtensionAttributes
setExtensionAttributes(\Magento\InventorySalesApi\Api\Data\ItemToSellExtensionInterface $extensionAttributes)
Magento\InventorySalesApi\Api\Data
Definition:
ItemToSellInterface.php:8
Magento\InventorySalesApi\Api\Data\ItemToSellInterface
Definition:
ItemToSellInterface.php:16
Magento\InventorySalesApi\Api\Data\ItemToSellInterface\getExtensionAttributes
getExtensionAttributes()