phpDocumentor

ProductPriceReaderInterface

Interface ProductPriceReaderInterface

Tags
category

System

subpackage

Repositories

Table of Contents

fetchById()  : array<string|int, mixed>
Fetches product price data by the given id.
fetchByQuantity()  : array<string|int, mixed>
Fetches product price data by the given conditions.

Methods

fetchById()

Fetches product price data by the given id.

public fetchById(IdType $productId) : array<string|int, mixed>
Parameters
$productId : IdType

product id.

Return values
array<string|int, mixed>

Raw data of product prices.

fetchByQuantity()

Fetches product price data by the given conditions.

public fetchByQuantity(IdType $productId, IdType $customerGroupId, DecimalType $quantity) : array<string|int, mixed>
Parameters
$productId : IdType

Product id.

$customerGroupId : IdType

Customer group id.

$quantity : DecimalType

Quantity.

Return values
array<string|int, mixed>

Raw data of product prices.

Search results