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-asynchronous-operations
Api
Data
ItemStatusInterface.php
Go to the documentation of this file.
1
<?php
7
declare(strict_types=1);
8
9
namespace
Magento\AsynchronousOperations\Api\Data
;
10
18
interface
ItemStatusInterface
19
{
20
const
ENTITY_ID
=
'entity_id'
;
21
const
DATA_HASH
=
'data_hash'
;
22
const
STATUS
=
'status'
;
23
const
ERROR_MESSAGE
=
'error_message'
;
24
const
ERROR_CODE
=
'error_code'
;
25
26
const
STATUS_ACCEPTED
=
'accepted'
;
27
const
STATUS_REJECTED
=
'rejected'
;
28
34
public
function
getId
();
35
42
public
function
setId
($entityId);
43
49
public
function
getDataHash
();
50
57
public
function
setDataHash
($hash);
58
64
public
function
getStatus
();
65
72
public
function
setStatus
(
$status
= self::STATUS_ACCEPTED);
73
79
public
function
getErrorMessage
();
80
87
public
function
setErrorMessage
($error =
null
);
88
94
public
function
getErrorCode
();
95
102
public
function
setErrorCode
($errorCode =
null
);
103
}
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface
Definition:
ItemStatusInterface.php:18
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\setErrorCode
setErrorCode($errorCode=null)
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\setStatus
setStatus($status=self::STATUS_ACCEPTED)
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\DATA_HASH
const DATA_HASH
Definition:
ItemStatusInterface.php:21
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\getErrorMessage
getErrorMessage()
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\STATUS_REJECTED
const STATUS_REJECTED
Definition:
ItemStatusInterface.php:27
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\STATUS
const STATUS
Definition:
ItemStatusInterface.php:22
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\setDataHash
setDataHash($hash)
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\setId
setId($entityId)
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\getErrorCode
getErrorCode()
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\getStatus
getStatus()
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\ENTITY_ID
const ENTITY_ID
Definition:
ItemStatusInterface.php:20
$status
$status
Definition:
order_status.php:8
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\ERROR_MESSAGE
const ERROR_MESSAGE
Definition:
ItemStatusInterface.php:23
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\STATUS_ACCEPTED
const STATUS_ACCEPTED
Definition:
ItemStatusInterface.php:26
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\getId
getId()
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\setErrorMessage
setErrorMessage($error=null)
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\ERROR_CODE
const ERROR_CODE
Definition:
ItemStatusInterface.php:24
Magento\AsynchronousOperations\Api\Data\ItemStatusInterface\getDataHash
getDataHash()
Magento\AsynchronousOperations\Api\Data
Definition:
AsyncResponseInterface.php:9