Copied!

PriceContext

PriceContext.php : 14

Methods

public__construct()

PriceContext.php : 20
public __construct([CurrencyInterface|null $currency = null ][, CustomerGroupInterface|null $customerGroup = null ])

Parameters

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

publicgetCurrency()

PriceContext.php : 28
public getCurrency() : CurrencyInterface|null

Return values

CurrencyInterface|null

publicgetCustomerGroup()

PriceContext.php : 38
public getCustomerGroup() : CustomerGroupInterface|null

Return values

CustomerGroupInterface|null

publicsetCurrency()

PriceContext.php : 33
public setCurrency(CurrencyInterface|null $currency) : void

Parameters

Name Type Default value Description
$currency CurrencyInterface|null - -

publicsetCustomerGroup()

PriceContext.php : 43
public setCustomerGroup(CustomerGroupInterface|null $customerGroup) : void

Parameters

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