PackingSlipService

Implements \PackingSlipServiceInterface

Class PackingSlipService

package

Default

Methods

PackingSlipService constructor.

__construct(\PackingSlipRepositoryInterface $packingSlipRepository, \AbstractFileStorage $fileStorage) 

Arguments

$packingSlipRepository

\PackingSlipRepositoryInterface

$fileStorage

\AbstractFileStorage

Deletes all packing slips by a given order ID.

deletePackingSlipsByOrderId(\IdType $orderId) 
Throws
\InvalidArgumentException

Arguments

$orderId

\IdType

Gets all packing slips for all orders of the given list.

getPackingSlipsByOrderList(\OrderListItemCollection $orderList) : \PackingSlipCollection
Throws
\InvalidArgumentException

Arguments

Response

\PackingSlipCollection

Properties

packingSlipRepository

packingSlipRepository : \PackingSlipRepositoryInterface

fileStorage

fileStorage : \AbstractFileStorage
var

Type(s)

\AbstractFileStorage