Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
OrderStatusHistoryRepositoryInterface Interface Reference
Inheritance diagram for OrderStatusHistoryRepositoryInterface:
HistoryRepository

Public Member Functions

 getList (\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)
 
 get ($id)
 
 delete (\Magento\Sales\Api\Data\OrderStatusHistoryInterface $entity)
 
 save (\Magento\Sales\Api\Data\OrderStatusHistoryInterface $entity)
 

Detailed Description

Order status history repository 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

Since
100.0.2

Definition at line 18 of file OrderStatusHistoryRepositoryInterface.php.

Member Function Documentation

◆ delete()

Deletes a specified order status comment.

Parameters
\Magento\Sales\Api\Data\OrderStatusHistoryInterface$entityThe order status comment.
Returns
bool
Exceptions

◆ get()

get (   $id)

Loads a specified order status comment.

Parameters
int$idThe order status comment ID.
Returns
\Magento\Sales\Api\Data\OrderStatusHistoryInterface Order status history interface.

Implemented in HistoryRepository.

◆ getList()

getList ( \Magento\Framework\Api\SearchCriteriaInterface  $searchCriteria)

Lists order status history comments that match specified search criteria.

Parameters
\Magento\Framework\Api\SearchCriteriaInterface$searchCriteriaThe search criteria.
Returns
\Magento\Sales\Api\Data\OrderStatusHistorySearchResultInterface Order status history search result interface.

◆ save()

Performs persist operations for a specified order status comment.

Parameters
\Magento\Sales\Api\Data\OrderStatusHistoryInterface$entityThe order status comment.
Returns
\Magento\Sales\Api\Data\OrderStatusHistoryInterface Order status history interface.
Exceptions

The documentation for this interface was generated from the following file: