PackingSlipFactory

Implements \PackingSlipFactoryInterface

Class PackingSlipFactory

package

Default

Methods

PackingSlipFactory constructor.

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Creates a packing slip instance.

createPackingSlip(\IdType $id, \StringType $number, \DateTime $date, \FilenameStringType $filename, \IdType $orderId) : boolean|\PackingSlip

Arguments

$id

\IdType

$number

\StringType

$date

\DateTime

$orderId

\IdType

Response

boolean|\PackingSlip

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder