Logidav Docs

ImportPromoFileProcessor
in package
implements FilesImportProcessorInterface

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

Properties

Methods

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
Return values
float|int

getDiffPrice()

private getDiffPrice(mixed $price) : float|int
Parameters
$price : mixed
Return values
float|int

validateDate()

private validateDate(mixed $date[, string $format = 'Y-m-d' ]) : bool
Parameters
$date : mixed
$format : string = 'Y-m-d'
Return values
bool

        
On this page

Search results