Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getComment () | |
getCreatedAt () | |
setCreatedAt ($createdAt) | |
getEntityId () | |
setEntityId ($entityId) | |
getEntityName () | |
getIsCustomerNotified () | |
getIsVisibleOnFront () | |
getParentId () | |
getStatus () | |
setParentId ($id) | |
setIsCustomerNotified ($isCustomerNotified) | |
setIsVisibleOnFront ($isVisibleOnFront) | |
setComment ($comment) | |
setStatus ($status) | |
setEntityName ($entityName) | |
getExtensionAttributes () | |
setExtensionAttributes (\Magento\Sales\Api\Data\OrderStatusHistoryExtensionInterface $extensionAttributes) | |
Data Fields | |
const | ENTITY_ID = 'entity_id' |
const | PARENT_ID = 'parent_id' |
const | IS_CUSTOMER_NOTIFIED = 'is_customer_notified' |
const | IS_VISIBLE_ON_FRONT = 'is_visible_on_front' |
const | COMMENT = 'comment' |
const | STATUS = 'status' |
const | CREATED_AT = 'created_at' |
const | ENTITY_NAME = 'entity_name' |
![]() | |
const | EXTENSION_ATTRIBUTES_KEY = 'extension_attributes' |
Order status history interface.
An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as a purchase order, is emailed to the customer. @api
Definition at line 17 of file OrderStatusHistoryInterface.php.
getComment | ( | ) |
getCreatedAt | ( | ) |
Gets the created-at timestamp for the order status history.
Implemented in History.
getEntityId | ( | ) |
Gets the ID for the order status history.
Implemented in History.
getEntityName | ( | ) |
Gets the entity name for the order status history.
Implemented in History.
getExtensionAttributes | ( | ) |
Retrieve existing extension attributes object or create a new one.
Implemented in History.
getIsCustomerNotified | ( | ) |
Gets the is-customer-notified flag value for the order status history.
Implemented in History.
getIsVisibleOnFront | ( | ) |
Gets the is-visible-on-storefront flag value for the order status history.
Implemented in History.
getParentId | ( | ) |
getStatus | ( | ) |
setComment | ( | $comment | ) |
Sets the comment for the order status history.
string | $comment |
Implemented in History.
setCreatedAt | ( | $createdAt | ) |
Sets the created-at timestamp for the order status history.
string | $createdAt | timestamp |
Implemented in History.
setEntityId | ( | $entityId | ) |
Sets entity ID.
int | $entityId |
setEntityName | ( | $entityName | ) |
Sets the entity name for the order status history.
string | $entityName |
Implemented in History.
setExtensionAttributes | ( | \Magento\Sales\Api\Data\OrderStatusHistoryExtensionInterface | $extensionAttributes | ) |
Set an extension attributes object.
\Magento\Sales\Api\Data\OrderStatusHistoryExtensionInterface | $extensionAttributes |
setIsCustomerNotified | ( | $isCustomerNotified | ) |
Sets the is-customer-notified flag value for the order status history.
int | $isCustomerNotified |
Implemented in History.
setIsVisibleOnFront | ( | $isVisibleOnFront | ) |
Sets the is-visible-on-storefront flag value for the order status history.
int | $isVisibleOnFront |
Implemented in History.
setParentId | ( | $id | ) |
Sets the parent ID for the order status history.
int | $id |
Implemented in History.
setStatus | ( | $status | ) |
Sets the status for the order status history.
string | $status |
Implemented in History.
const COMMENT = 'comment' |
Definition at line 41 of file OrderStatusHistoryInterface.php.
const CREATED_AT = 'created_at' |
Definition at line 49 of file OrderStatusHistoryInterface.php.
const ENTITY_ID = 'entity_id' |
#+ Constants for keys of data array. Identical to the name of the getter in snake case.
Definition at line 25 of file OrderStatusHistoryInterface.php.
const ENTITY_NAME = 'entity_name' |
Definition at line 53 of file OrderStatusHistoryInterface.php.
const IS_CUSTOMER_NOTIFIED = 'is_customer_notified' |
Definition at line 33 of file OrderStatusHistoryInterface.php.
const IS_VISIBLE_ON_FRONT = 'is_visible_on_front' |
Definition at line 37 of file OrderStatusHistoryInterface.php.
const PARENT_ID = 'parent_id' |
Definition at line 29 of file OrderStatusHistoryInterface.php.
const STATUS = 'status' |
Definition at line 45 of file OrderStatusHistoryInterface.php.