Class QuickEditProductGraduatedPricesReader

Class QuickEditProductGraduatedPricesReader

QuickEditProductGraduatedPricesReader implements QuickEditProductGraduatedPricesReaderInterface

Methods summary

public __construct( CI_DB_query_builder $db )

QuickEditProductGraduatedPricesReader constructor.

public getGraduatedPrices( array $productIds = null ) : array

Returns the graduated prices of a product or an empty array nothing was found.

protected _getPersonalOffersByProductId( integer|null $productId = null ) : array

Provides customer-specific product offers.

protected _getCustomerStatuses( void ) : array

Returns the names of the existing customer groups.

protected _getTaxRateByProductId( integer $productId ) : array

Returns the tax rate for the specified product.

Properties summary

protected $db : CI_DB_query_builder