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