Copied!

CustomerGroupId

CustomerGroupId.php : 16
Extends Criterion
Implements FilteringCriterion

Properties

public $operator

Criterion.php : 23

The operator used by the Criterion.

public string $operator

public $target

Criterion.php : 37

The target used by the criteria (field, metadata...).

public string $target

public $value

Criterion.php : 30

The value(s) matched by the criteria.

public array<string|int, scalar>|scalar $value

public $valueData

Criterion.php : 44

Additional value data, required by some criterions, MapLocationDistance for instance.

public Value $valueData

Methods

public__construct()

CustomerGroupId.php : 21

Performs operator validation based on the Criterion specifications returned by {@see getSpecifications()}.

public __construct(int|array<string|int, int> $value)

Parameters

Name Type Default value Description
$value int|array<string|int, int> - -

publicgetSpecifications()

CustomerGroupId.php : 29

Criterion description function.

public getSpecifications() : array<string|int, Specifications>

Return values

array<string|int, Specifications>