Copied!

CustomPriceStatsAggregation

CustomPriceStatsAggregation.php : 14

Properties

protected $currency

AbstractPriceStatsAggregation.php : 16
protected CurrencyInterface $currency

protected $name

AbstractStatsAggregation.php : 20

The name of the aggregation.

protected string $name

Methods

public__construct()

CustomPriceStatsAggregation.php : 18
public __construct(string $name, CurrencyInterface $currency[, CustomerGroupInterface|null $customerGroup = null ])

Parameters

Name Type Default value Description
$name string - -
$currency CurrencyInterface - -
$customerGroup CustomerGroupInterface|null null -

publicgetCurrency()

AbstractPriceStatsAggregation.php : 25
public getCurrency() : CurrencyInterface

Return values

CurrencyInterface

publicgetCustomerGroup()

CustomPriceStatsAggregation.php : 25
public getCustomerGroup() : CustomerGroupInterface|null

Return values

CustomerGroupInterface|null

publicgetName()

AbstractStatsAggregation.php : 27
public getName() : string

Return values

string

publicsetCustomerGroup()

CustomPriceStatsAggregation.php : 30
public setCustomerGroup(CustomerGroupInterface|null $customerGroup) : void

Parameters

Name Type Default value Description
$customerGroup CustomerGroupInterface|null - -