BinLocation

Extends \Shopware\Components\Model\ModelEntity

ORM\Entity
ORM\Table

(name="pickware_erp_bin_locations", uniqueConstraints={ @ORM\UniqueConstraint(name="warehouseId_code", columns={ "warehouseId", "code" }) })

package

Default

Methods

__construct

__construct(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse $warehouse, string $code) 

equals

equals(mixed $binLocation) : boolean

Arguments

$binLocation

mixed

Response

boolean

Fetch all ArticleDetailBinLocationMappings.

getArticleDetailBinLocationMappings() : \Doctrine\Common\Collections\ArrayCollection

Calling this is potentially very expensive. In particular, NEVER call this on the default BinLocation.

Response

\Doctrine\Common\Collections\ArrayCollection

getCode

getCode() : string

Response

string

getId

getId() : integer

Response

integer

getStockSnapshots

getStockSnapshots() : \Doctrine\Common\Collections\ArrayCollection

Response

\Doctrine\Common\Collections\ArrayCollection

getWarehouse

getWarehouse() : \Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse

isNullBinLocation

isNullBinLocation() : boolean

Response

boolean

setCode

setCode(string $code) 

Arguments

$code

string

Constants

The code used for a warehouse's default bin location.

CODE