QuickEditProductSpecialPricesReaderInterface

Extends

Interface QuickEditProductSpecialPricesReaderInterface

category

System

package

QuickEdit

subpackage

Interfaces

Methods

Returns the special prices of the indicated products.

getFilteredSpecialPrices(array $productIds, array $filterParameters) : array

Arguments

$productIds

array

Array containing the product IDs to be processed.

$filterParameters

array

Contains filter parameters.

Response

array

Returns the query result as a pure array, or an empty array when no result is produced.

Returns the record number of the filtered special prices.

getFilteredSpecialPricesCount(array $productIds, array $filterParameters) : integer

Arguments

$productIds

array

Array containing the product IDs to be processed.

$filterParameters

array

Contains filter parameters.

Response

integer

Returns the number of special prices found.

Get special prices record count.

getSpecialPricesCount() : integer

Response

integer

Returns the number of all special prices found.

Sets the starting point of the pagination and the number of products.

paginateSpecialPrices(\IntType|null $start = null, \IntType|null $length = null) : \QuickEditProductSpecialPricesReaderInterface

Arguments

$start

\IntType|null

Starting point.

$length

\IntType|null

Number of products.

Response

\QuickEditProductSpecialPricesReaderInterface

Returns same instance for chained method calls.

Sets the sorting order of the products

sortSpecialPrices(\StringType|null $orderBy = null) : \QuickEditProductSpecialPricesReaderInterface

Arguments

$orderBy

\StringType|null

Sorting order (ASC or DESC)

Response

\QuickEditProductSpecialPricesReaderInterface

Returns same instance for chained method calls.