QuickEditProductSpecialPricesRepositoryInterface

Extends

Interface QuickEditProductSpecialPricesRepositoryInterface

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 special prices.

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

Arguments

$start

\IntType|null

Pagination start index.

$length

\IntType|null

Page length value.

Response

\QuickEditProductSpecialPricesRepository

QuickEdit products special price repository for chained method calls.

Saves the changed data regarding the special price.

setSpecialPriceById(array $specialPrice) : boolean

Arguments

$specialPrice

array

Contains the special prices data.

Response

boolean

Returns the operation result.

Sets the sorting order of the special prices.

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

Arguments

$orderBy

\StringType|null

Sorting order (ASC or DESC)

Response

\QuickEditProductSpecialPricesRepository

QuickEdit products special price repository for chained method calls.