Copied!

CustomPrice

CustomPrice.php : 14

Properties

protected $operator

AbstractPriceCriterion.php : 19
protected string $operator

protected $value

AbstractPriceCriterion.php : 17
protected Money $value

Methods

public__construct()

CustomPrice.php : 18
public __construct(Money $value[, string $operator = Operator::EQ ][, CustomerGroupInterface|null $customerGroup = null ])

Parameters

Name Type Default value Description
$value Money - -
$operator string Operator::EQ -
$customerGroup CustomerGroupInterface|null null -

publicgetCurrency()

AbstractPriceCriterion.php : 37
public getCurrency() : Currency

Return values

Currency

publicgetCustomerGroup()

CustomPrice.php : 28
public getCustomerGroup() : CustomerGroupInterface|null

Return values

CustomerGroupInterface|null

publicgetOperator()

AbstractPriceCriterion.php : 32
public getOperator() : string

Return values

string

publicgetValue()

AbstractPriceCriterion.php : 27
public getValue() : Money

Return values

Money

publicsetCustomerGroup()

CustomPrice.php : 33
public setCustomerGroup(CustomerGroupInterface|null $customerGroup) : void

Parameters

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