Copied!

AbstractPriceCriterion

AbstractPriceCriterion.php : 15
Implements CriterionInterface

Properties

protected $operator

AbstractPriceCriterion.php : 19
protected string $operator

protected $value

AbstractPriceCriterion.php : 17
protected Money $value

Methods

public__construct()

AbstractPriceCriterion.php : 21
public __construct(Money $value[, string $operator = Operator::EQ ])

Parameters

Name Type Default value Description
$value Money - -
$operator string Operator::EQ -

publicgetCurrency()

AbstractPriceCriterion.php : 37
public getCurrency() : Currency

Return values

Currency

publicgetOperator()

AbstractPriceCriterion.php : 32
public getOperator() : string

Return values

string

publicgetValue()

AbstractPriceCriterion.php : 27
public getValue() : Money

Return values

Money