Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getList (\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria) | |
get ($id) | |
delete (\Magento\Sales\Api\Data\ShipmentInterface $entity) | |
save (\Magento\Sales\Api\Data\ShipmentInterface $entity) | |
create () | |
Shipment repository interface.
A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This document lists the products and their quantities in the delivery package. @api
Definition at line 16 of file ShipmentRepositoryInterface.php.
create | ( | ) |
Creates new shipment instance.
Implemented in ShipmentRepository.
delete | ( | \Magento\Sales\Api\Data\ShipmentInterface | $entity | ) |
Deletes a specified shipment.
\Magento\Sales\Api\Data\ShipmentInterface | $entity | The shipment. |
get | ( | $id | ) |
Loads a specified shipment.
int | $id | The shipment ID. |
getList | ( | \Magento\Framework\Api\SearchCriteriaInterface | $searchCriteria | ) |
Lists shipments that match specified search criteria.
This call returns an array of objects, but detailed information about each object’s attributes might not be included. See http://devdocs.magento.com/codelinks/attributes.html#ShipmentRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.
\Magento\Framework\Api\SearchCriteriaInterface | $searchCriteria | The search criteria. |
save | ( | \Magento\Sales\Api\Data\ShipmentInterface | $entity | ) |
Performs persist operations for a specified shipment.
\Magento\Sales\Api\Data\ShipmentInterface | $entity | The shipment. |