TopSellersParametersGroup extends ParametersGroup

This is the product model (top sellers resource) parameters group class.

Table of Contents

$brandId  : int
$categoryIdList  : string
$date  : string
$productsNumber  : int
$validator  : ParametersValidator
setBrandId() Sets a brand internal identifier for this parameters group.  : void
setCategoryIdList() Sets a list of categories internal identifiers for this parameters group.  : void
setDate() Sets a start date for this parameters group.  : void
setProductsNumber() Sets the total expected products number for this parameters group.  : void
toArray() Returns the object data on array format.  : array<string|int, mixed>
filter()  : array<string|int, mixed>
getInstantiatedValidator()  : ParametersValidator
getValidator()  : TopSellersParametersValidator

Properties

Methods

setBrandId()

Sets a brand internal identifier for this parameters group.

public setBrandId(int $brandId) : void
Parameters
$brandId : int
Return values
void

setCategoryIdList()

Sets a list of categories internal identifiers for this parameters group.

public setCategoryIdList(string $categoryIdList) : void
Parameters
$categoryIdList : string
Return values
void

setDate()

Sets a start date for this parameters group.

public setDate(DateTime $date) : void
Parameters
$date : DateTime
Return values
void

setProductsNumber()

Sets the total expected products number for this parameters group.

public setProductsNumber(int $productsNumber) : void
Parameters
$productsNumber : int
Return values
void

toArray()

Returns the object data on array format.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

filter()

protected filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results