PackingSlipRepository

Implements \PackingSlipRepositoryInterface

Class PackingSlipRepository

package

Default

Methods

PackingSlipRepository constructor.

__construct(\PackingSlipReader $packingSlipReader, \PackingSlipDeleter $packingSlipDeleter) 

Arguments

$packingSlipReader

\PackingSlipReader

$packingSlipDeleter

\PackingSlipDeleter

Deletes all packing slips by a given order ID.

deletePackingSlipsByOrderId(\IdType $orderId) 

Arguments

$orderId

\IdType

Gets all file names of packing slips for a given order ID.

getPackingSlipFilenameCollectionByOrderId(\IdType $orderId) : \StringCollection
Throws
\InvalidArgumentException

Arguments

$orderId

\IdType

Response

\StringCollection

Gets all packing slips for a specific order.

getPackingSlipsByOrderId(\IdType $orderId) : \PackingSlipCollection

Arguments

$orderId

\IdType

Response

\PackingSlipCollection

Properties

packingSlipReader

packingSlipReader : \PackingSlipReader
var

Type(s)

\PackingSlipReader

packingSlipDeleter

packingSlipDeleter : \PackingSlipDeleter
var

Type(s)

\PackingSlipDeleter