ProductPriceReadServiceInterface

Extends

Interface ProductPriceReadServiceInterface

category

System

package

ProductPrice

subpackage

Services

Methods

Returns product price by given id.

getById(\IdType $productId) : \ProductPriceInterface

Arguments

$productId

\IdType

Product id.

Response

\ProductPriceInterface

Returns the product quantity price.

getByQuantity(\IdType $productId, \IdType $customerGroupId, \DecimalType $quantity) : \GraduatedPriceInterface

Arguments

$productId

\IdType

Product id.

$customerGroupId

\IdType

Customer group id.

$quantity

\DecimalType

Quantity.

Response

\GraduatedPriceInterface