Table of Contents
Interfaces
- FilesImportProcessorInterface
- Interface FilesImportProcessorInterface
Properties
-
$_messages
: mixed
-
$container
: ContainerInterface
-
$historyService
: PriceHistoryService
-
$productService
: ProductService
Methods
-
__construct()
: mixed
-
execute()
: mixed
-
convertExcelDate()
: string|null
-
getBuyingPrice()
: float|int
-
getDiffPrice()
: float|int
-
validateDate()
: bool
$_messages
private
mixed
$_messages
= []
$container
private
ContainerInterface
$container
$historyService
private
PriceHistoryService
$historyService
$productService
private
ProductService
$productService
__construct()
public
__construct(ContainerInterface $container, ProductService $productService, PriceHistoryService $historyService) : mixed
Parameters
-
$container
: ContainerInterface
-
-
$productService
: ProductService
-
-
$historyService
: PriceHistoryService
-
execute()
public
execute(mixed $filesimport) : mixed
Parameters
-
$filesimport
: mixed
-
convertExcelDate()
private
convertExcelDate(mixed $excelDateValue) : string|null
Parameters
-
$excelDateValue
: mixed
-
Return values
string|null
getBuyingPrice()
private
getBuyingPrice(mixed $curentWholeSalePrice, mixed $newWholeSalePrice[, mixed $getMenzzoPrice = true ]) : float|int
Parameters
-
$curentWholeSalePrice
: mixed
-
-
$newWholeSalePrice
: mixed
-
-
$getMenzzoPrice
: mixed
= true
-
getDiffPrice()
private
getDiffPrice(mixed $price) : float|int
Parameters
-
$price
: mixed
-
validateDate()
private
validateDate(mixed $date[, string $format = 'Y-m-d' ]) : bool
Parameters
-
$date
: mixed
-
-
$format
: string
= 'Y-m-d'
-