StockLocationFactoryService

package

Default

Methods

__construct

__construct(\Shopware\Components\Model\ModelManager $entityManager, \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\StockChangeListFactory $stockChangeListFactory, \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockUpdater $stockUpdater, \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockLedgerService $stockLedgerService, \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\ArticleDetailStockInfoProvider $articleDetailStockInfoProvider) 

createStockLocationFromArray

createStockLocationFromArray(array $stockLocationArray) : \Shopware\Plugins\ViisonPickwareERP\Components\StockMovement\AbstractStockLocation
Throws
\Shopware\Plugins\ViisonPickwareERP\Components\StockMovement\StockMovementException

Arguments

$stockLocationArray

array

Response

\Shopware\Plugins\ViisonPickwareERP\Components\StockMovement\AbstractStockLocation

validateStockLocationArray

validateStockLocationArray(array $stockLocationArray, string $path = '') 
static
Throws
\Shopware\Plugins\ViisonCommon\Classes\Exceptions\ValidationExceptions\AbstractValidationException

Arguments

$stockLocationArray

array

$path

string

validateWarehouseStockLocationArray

validateWarehouseStockLocationArray(array $stockLocationArray, string $path = '') 
static
Throws
\Shopware\Plugins\ViisonCommon\Classes\Exceptions\ValidationExceptions\AbstractValidationException

Arguments

$stockLocationArray

array

$path

string