Class QuickEditProductSpecialPricesRepository
Class QuickEditProductSpecialPricesRepository
- QuickEditProductSpecialPricesRepository implements QuickEditProductSpecialPricesRepositoryInterface
Package: QuickEdit\Repositories
Category: System
Located at Services/Core/QuickEdit/Repositories/QuickEditProductSpecialPricesRepository.inc.php
Category: System
Located at Services/Core/QuickEdit/Repositories/QuickEditProductSpecialPricesRepository.inc.php
Methods summary
public
__construct( QuickEditProductSpecialPricesReaderInterface $specialPricesReader, QuickEditProductSpecialPricesWriterInterface $specialPricesWriter )
QuickEditProductSpecialPricesRepository constructor.
public
getFilteredSpecialPrices( array $productIds, array $filterParameters )
: array
Returns the special prices of the indicated products.
public
getFilteredSpecialPricesCount( array $productIds, array $filterParameters )
: integer
Returns the record number of the filtered special prices.
public
setSpecialPriceById( array $specialPrice )
: boolean
Saves the changed data regarding the special price.
public
paginateSpecialPrices( IntType $start = null, IntType $length = null )
: QuickEditProductSpecialPricesRepository
Sets the starting point of the pagination and the number of special prices.
public
sortSpecialPrices( StringType $orderBy = null )
: QuickEditProductSpecialPricesRepository
Sets the sorting order of the special prices.
protected
_collectionContentArray( array $specialPrices )
: array
Returns an array of QuickEditProductSpecialPriceListItem.