BinLocationStockSnapshot

Extends \Shopware\Components\Model\ModelEntity

ORM\Entity
ORM\Table

(name="pickware_erp_bin_location_stock_snapshots", uniqueConstraints={ @ORM\UniqueConstraint(name="stockEntryId_binLocationId", columns={ "stockLedgerEntryId", "binLocationId" }) })

package

Default

Methods

__construct

__construct(\Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry $stockLedgerEntry, \Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation $binLocation, integer $stock) 

getBinLocation

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

getId

getId() : integer

Response

integer

getStock

getStock() : integer

Response

integer

getStockLedgerEntry

getStockLedgerEntry() : \Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry

setStock

setStock(integer $stock) 

Arguments

$stock

integer