Logidav Docs

ProductStockValueCommand extends ContainerAwareCommand uses LockableTrait

FinalYes

Class ProductStockValueCommand

Table of Contents

Properties

$currencyService  : CurrencyService|null
$dbConnection  : Connection
$em  : EntityManagerInterface
$productStockValueService  : ProductStockValueService

Methods

__construct()  : mixed
ProductStockValueCommand constructor.
configure()  : mixed
Configure command
execute()  : mixed
getContainerForProduct()  : array<string|int, mixed>
get Container for product
getQtyInTranzitForProductById()  : array<string|int, mixed>
get Container for shipped product
getQtyInTranzitValueForProductById()  : array<string|int, mixed>
get Container for shipped product
getRateDay()  : mixed
insertStockValueQtybyDate()  : mixed

Properties

Methods

execute()

protected execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
$input : InputInterface
$output : OutputInterface

getContainerForProduct()

get Container for product

private getContainerForProduct(mixed $productId[, bool $beforeDate = false ][, mixed $currentContainerId = null ][, mixed $processedContainerIds = [] ]) : array<string|int, mixed>
Parameters
$productId : mixed
$beforeDate : bool = false
$currentContainerId : mixed = null
$processedContainerIds : mixed = []
Tags
throws
DBALException
Return values
array<string|int, mixed>

getQtyInTranzitForProductById()

get Container for shipped product

private getQtyInTranzitForProductById(mixed $productId) : array<string|int, mixed>
Parameters
$productId : mixed
Tags
throws
DBALException
Return values
array<string|int, mixed>

getQtyInTranzitValueForProductById()

get Container for shipped product

private getQtyInTranzitValueForProductById(mixed $product, mixed $date) : array<string|int, mixed>
Parameters
$product : mixed
$date : mixed
Tags
throws
DBALException
Return values
array<string|int, mixed>

insertStockValueQtybyDate()

private insertStockValueQtybyDate(mixed $datetime) : mixed
Parameters
$datetime : mixed

        
On this page

Search results