ProductPriceReadServiceInterface
in
Interface ProductPriceReadServiceInterface
Tags
Table of Contents
- getById() : ProductPriceInterface
- Returns product price by given id.
- getByQuantity() : GraduatedPriceInterface
- Returns the product quantity price.
Methods
getById()
Returns product price by given id.
public
getById(IdType $productId) : ProductPriceInterface
Parameters
- $productId : IdType
-
Product id.
Return values
ProductPriceInterface —getByQuantity()
Returns the product quantity price.
public
getByQuantity(IdType $productId, IdType $customerGroupId, DecimalType $quantity) : GraduatedPriceInterface
Parameters
- $productId : IdType
-
Product id.
- $customerGroupId : IdType
-
Customer group id.
- $quantity : DecimalType
-
Quantity.