PHP Класс Smalot\Magento\Order\OrderShipment

Наследование: extends Smalot\Magento\MagentoModuleAbstract
Показать файл Открыть проект

Открытые методы

Метод Описание
addComment ( string $shipmentIncrementId, string $comment = null, string $email = null, string $includeInEmail = null ) : Smalot\Magento\ActionInterface Allows you to add a new comment to the order shipment.
addTrack ( string $shipmentIncrementId, string $carrier, string $title, string $trackNumber ) : Smalot\Magento\ActionInterface Allows you to add a new tracking number to the order shipment.
create ( string $orderIncrementId, string $itemsQty = null, string $comment = null, integer $email = null, integer $includeComment = null ) : Smalot\Magento\ActionInterface Allows you to create a new shipment for an order.
getCarriers ( string $orderIncrementId ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of allowed carriers for an order.
getInfo ( $shipmentIncrementId ) : Smalot\Magento\ActionInterface Allows you to retrieve the shipment information.
getList ( array $filters ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of order shipments.
removeTrack ( string $shipmentIncrementId, string $trackId ) : Smalot\Magento\ActionInterface Allows you to remove a tracking number from the order shipment.

Описание методов

addComment() публичный Метод

Allows you to add a new comment to the order shipment.
public addComment ( string $shipmentIncrementId, string $comment = null, string $email = null, string $includeInEmail = null ) : Smalot\Magento\ActionInterface
$shipmentIncrementId string
$comment string
$email string
$includeInEmail string
Результат Smalot\Magento\ActionInterface

addTrack() публичный Метод

Allows you to add a new tracking number to the order shipment.
public addTrack ( string $shipmentIncrementId, string $carrier, string $title, string $trackNumber ) : Smalot\Magento\ActionInterface
$shipmentIncrementId string
$carrier string
$title string
$trackNumber string
Результат Smalot\Magento\ActionInterface

create() публичный Метод

Allows you to create a new shipment for an order.
public create ( string $orderIncrementId, string $itemsQty = null, string $comment = null, integer $email = null, integer $includeComment = null ) : Smalot\Magento\ActionInterface
$orderIncrementId string
$itemsQty string
$comment string
$email integer
$includeComment integer
Результат Smalot\Magento\ActionInterface

getCarriers() публичный Метод

Allows you to retrieve the list of allowed carriers for an order.
public getCarriers ( string $orderIncrementId ) : Smalot\Magento\ActionInterface
$orderIncrementId string
Результат Smalot\Magento\ActionInterface

getInfo() публичный Метод

Allows you to retrieve the shipment information.
public getInfo ( $shipmentIncrementId ) : Smalot\Magento\ActionInterface
$shipmentIncrementId
Результат Smalot\Magento\ActionInterface

getList() публичный Метод

Additional filters can be applied.
public getList ( array $filters ) : Smalot\Magento\ActionInterface
$filters array
Результат Smalot\Magento\ActionInterface

removeTrack() публичный Метод

Allows you to remove a tracking number from the order shipment.
public removeTrack ( string $shipmentIncrementId, string $trackId ) : Smalot\Magento\ActionInterface
$shipmentIncrementId string
$trackId string
Результат Smalot\Magento\ActionInterface