Logidav Docs

ProductSaleStockCommand extends ContainerAwareCommand uses LockableTrait

Class ProductSaleStockCommand

Table of Contents

Properties

$limit  : mixed
$page  : mixed

Methods

getStockByDate()  : int
Get stock by date
getStockByPrice()  : float
Get price by date
configure()  : mixed
execute()  : int|null
getProducts()  : mixed

Properties

Methods

getStockByDate()

Get stock by date

public getStockByDate(mixed $id, mixed $period) : int
Parameters
$id : mixed
$period : mixed
Tags
throws
Exception
Return values
int

getStockByPrice()

Get price by date

public getStockByPrice(mixed $id, mixed $period) : float
Parameters
$id : mixed
$period : mixed
Tags
throws
Exception
Return values
float

execute()

protected execute(InputInterface $input, OutputInterface $output) : int|null
Parameters
$input : InputInterface
$output : OutputInterface
Tags
throws
Exception
Return values
int|null

        
On this page

Search results