ArticleDetailBinLocationMapping

Extends \Shopware\Components\Model\ModelEntity

ORM\Entity
ORM\Table

(name="pickware_erp_article_detail_bin_location_mappings", uniqueConstraints={ @ORM\UniqueConstraint(name="binLocationId_articleDetailId", columns={ "binLocationId", "articleDetailId" }) })

package

Default

Methods

__construct

__construct(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation $binLocation, \Shopware\Models\Article\Detail $articleDetail) 

Arguments

$articleDetail

\Shopware\Models\Article\Detail

getArticleDetail

getArticleDetail() : \Shopware\Models\Article\Detail

Response

\Shopware\Models\Article\Detail

getBinLocation

getBinLocation() : \Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation

getId

getId() : integer

Response

integer

getLastStocktake

getLastStocktake() : \DateTime|null

Response

\DateTime|null

getReservedStock

getReservedStock() : integer

Response

integer

getStock

getStock() : integer

Response

integer

getStockReservations

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

Response

\Doctrine\Common\Collections\ArrayCollection

isDefaultMapping

isDefaultMapping() : boolean

Response

boolean

setArticleDetail

setArticleDetail(\Shopware\Models\Article\Detail $articleDetail) 

Arguments

$articleDetail

\Shopware\Models\Article\Detail

setBinLocation

setBinLocation(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation $binLocation) 

setDefaultMapping

setDefaultMapping(boolean $defaultMapping) 

Arguments

$defaultMapping

boolean

setLastStocktake

setLastStocktake(\DateTime|null $lastStocktake = null) 

Arguments

$lastStocktake

\DateTime|null

setReservedStock

setReservedStock(integer $reservedStock) 

Arguments

$reservedStock

integer

setStock

setStock(integer $stock) 

Arguments

$stock

integer