internal
|
Use the service pickware.erp.stock_change_list_factory_service to generte stock change lists instead.
|
package
|
Default
|
Methods
__construct
__construct(array<mixed,\Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\BinLocationStockChange> $changes)
inherited
|
|
Throws |
- \InvalidArgumentException
|
Arguments
getBinLocationStockChanges
getBinLocationStockChanges() : array<mixed,\Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\BinLocationStockChange>
inherited
getChangedLocations
getChangedLocations() : array<mixed,\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation>
inherited
getChangedWarehouse
getChangedWarehouse() : \Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse
inherited
getStockChangeForLocation
getStockChangeForLocation(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\BinLocation $binLocation) : \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\BinLocationStockChange|null
inherited
getTotalStockChange
getTotalStockChange() : integer
inherited
Generates a new change list of the same class as this list, by reducing the total stock change
of this list by the given $delta. The total stock change of the new list equals the given $delta
and contains only as many changed bin locations as necessary to achieve this reduction.
reduceAbsoluteTotalStockChange(integer $delta) : self
inherited
Throws |
- \InvalidArgumentException
|
Arguments
Response
self