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
SalesEventInterface.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\InventorySalesApi\Api\Data
;
9
15
interface
SalesEventInterface
extends
\Magento\Framework\Api\ExtensibleDataInterface
16
{
20
const
EVENT_ORDER_PLACED
=
'order_placed'
;
21
const
EVENT_ORDER_CANCELED
=
'order_canceled'
;
22
const
EVENT_SHIPMENT_CREATED
=
'shipment_created'
;
23
const
EVENT_CREDITMEMO_CREATED
=
'creditmemo_created'
;
24
const
EVENT_INVOICE_CREATED
=
'invoice_created'
;
30
const
OBJECT_TYPE_ORDER
=
'order'
;
36
public
function
getType
(): string;
37
41
public
function
getObjectType
(): string;
42
46
public
function
getObjectId
(): string;
47
53
public
function
getExtensionAttributes
(): ?\
Magento
\InventorySalesApi\Api\Data\SalesEventExtensionInterface;
54
61
public
function
setExtensionAttributes
(
62
\
Magento
\InventorySalesApi\Api\Data\SalesEventExtensionInterface
$extensionAttributes
63
): void;
64
}
Magento\InventorySalesApi\Api\Data\SalesEventInterface\getType
getType()
Magento\InventorySalesApi\Api\Data\SalesEventInterface\getObjectType
getObjectType()
Magento\InventorySalesApi\Api\Data\SalesEventInterface\OBJECT_TYPE_ORDER
const OBJECT_TYPE_ORDER
Definition:
SalesEventInterface.php:30
Magento\InventorySalesApi\Api\Data\SalesEventInterface\getExtensionAttributes
getExtensionAttributes()
Magento\InventorySalesApi\Api\Data\SalesEventInterface\getObjectId
getObjectId()
Magento\InventorySalesApi\Api\Data\SalesEventInterface\EVENT_ORDER_PLACED
const EVENT_ORDER_PLACED
Definition:
SalesEventInterface.php:20
Magento\InventorySalesApi\Api\Data\SalesEventInterface\EVENT_INVOICE_CREATED
const EVENT_INVOICE_CREATED
Definition:
SalesEventInterface.php:24
Magento\InventorySalesApi\Api\Data\SalesEventInterface\EVENT_SHIPMENT_CREATED
const EVENT_SHIPMENT_CREATED
Definition:
SalesEventInterface.php:22
Magento\InventorySalesApi\Api\Data\SalesEventInterface\EVENT_CREDITMEMO_CREATED
const EVENT_CREDITMEMO_CREATED
Definition:
SalesEventInterface.php:23
Magento\InventorySalesApi\Api\Data\SalesEventInterface\setExtensionAttributes
setExtensionAttributes(\Magento\InventorySalesApi\Api\Data\SalesEventExtensionInterface $extensionAttributes)
Magento\InventorySalesApi\Api\Data\SalesEventInterface\EVENT_ORDER_CANCELED
const EVENT_ORDER_CANCELED
Definition:
SalesEventInterface.php:21
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\InventorySalesApi\Api\Data
Definition:
ItemToSellInterface.php:8
Magento\InventorySalesApi\Api\Data\SalesEventInterface
Definition:
SalesEventInterface.php:15