Class QuickEditProductSpecialPricesRepository
category |
System |
---|---|
package |
QuickEdit |
subpackage |
Repositories |
__construct(\QuickEditProductSpecialPricesReaderInterface $specialPricesReader, \QuickEditProductSpecialPricesWriterInterface $specialPricesWriter)
_collectionContentArray(array $specialPrices) : array
array
An array containing the data required for a product.
array
Returns an array of QuickEditProductSpecialPriceListItem or an empty array.
getFilteredSpecialPrices(array $productIds, array $filterParameters) : array
array
Array containing the product IDs to be processed.
array
Contains filter parameters.
array
Returns the query result as a pure array, or an empty array when no result is produced.
getFilteredSpecialPricesCount(array $productIds, array $filterParameters) : integer
array
Array containing the product IDs to be processed.
array
Contains filter parameters.
integer
Returns the number of special prices found.
getSpecialPricesCount() : integer
integer
Returns the number of all special prices found.
paginateSpecialPrices(\IntType|null $start = null, \IntType|null $length = null) : \QuickEditProductSpecialPricesRepository
\QuickEditProductSpecialPricesRepository
QuickEdit products special price repository for chained method calls.
setSpecialPriceById(array $specialPrice) : boolean
array
Contains the special prices data.
boolean
Returns the operation result.
sortSpecialPrices(\StringType|null $orderBy = null) : \QuickEditProductSpecialPricesRepository
\QuickEditProductSpecialPricesRepository
QuickEdit products special price repository for chained method calls.
specialPriceReader : \QuickEditProductSpecialPricesReaderInterface
specialPriceWriter : \QuickEditProductSpecialPricesWriterInterface