ProductPriceReaderInterface

Extends

Interface ProductPriceReaderInterface

category

System

package

ProductPrice

subpackage

Repositories

Methods

Fetches product price data by the given id.

fetchById(\IdType $productId) : array

Arguments

$productId

\IdType

product id.

Response

array

Raw data of product prices.

Fetches product price data by the given conditions.

fetchByQuantity(\IdType $productId, \IdType $customerGroupId, \DecimalType $quantity) : array

Arguments

$productId

\IdType

Product id.

$customerGroupId

\IdType

Customer group id.

$quantity

\DecimalType

Quantity.

Response

array

Raw data of product prices.