Logidav Docs

ProductStockValue0104202231082023Command 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

__construct()

ProductStockValueCommand constructor.

public __construct([null $name = null ][, ProductStockValueService|null $productStockValueService = null ][, CurrencyService|null $currencyService = null ]) : mixed
Parameters
$name : null = null
$productStockValueService : ProductStockValueService|null = null
$currencyService : CurrencyService|null = null

getContainerForProduct()

get Container for product

private getContainerForProduct(mixed $productId[, bool $beforeDate = false ][, mixed $currentContainerId = null ]) : array<string|int, mixed>
Parameters
$productId : mixed
$beforeDate : bool = false
$currentContainerId : mixed = null
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>

        
On this page

Search results