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
SalesChannelInterface.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\InventorySalesApi\Api\Data
;
9
17
interface
SalesChannelInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
18
{
22
const
TYPE
=
'type'
;
23
const
CODE
=
'code'
;
29
const
TYPE_WEBSITE
=
'website'
;
30
36
public
function
getType
(): ?string;
37
44
public
function
setType
(
string
$type
): void;
45
51
public
function
getCode
(): ?string;
52
59
public
function
setCode
(
string
$code
): void;
60
66
public
function
getExtensionAttributes
(): ?\
Magento
\InventorySalesApi\Api\Data\SalesChannelExtensionInterface;
67
74
public
function
setExtensionAttributes
(
75
\
Magento
\InventorySalesApi\Api\Data\SalesChannelExtensionInterface
$extensionAttributes
76
): void;
77
}
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\getType
getType()
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\CODE
const CODE
Definition:
SalesChannelInterface.php:23
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\TYPE_WEBSITE
const TYPE_WEBSITE
Definition:
SalesChannelInterface.php:29
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\setType
setType(string $type)
$type
$type
Definition:
item.phtml:13
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\setCode
setCode(string $code)
Magento\InventorySalesApi\Api\Data\SalesChannelInterface
Definition:
SalesChannelInterface.php:17
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\setExtensionAttributes
setExtensionAttributes(\Magento\InventorySalesApi\Api\Data\SalesChannelExtensionInterface $extensionAttributes)
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\TYPE
const TYPE
Definition:
SalesChannelInterface.php:22
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\getExtensionAttributes
getExtensionAttributes()
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\InventorySalesApi\Api\Data
Definition:
ItemToSellInterface.php:8
$code
$code
Definition:
info.phtml:12
Magento\InventorySalesApi\Api\Data\SalesChannelInterface\getCode
getCode()