public function getConstraints(): array
{ return [ 'customerGroupIds' => RuleConstraints::
uuids(),
'operator' => RuleConstraints::
uuidOperators(false
),
];
} public function getConfig(): RuleConfig
{ return (new RuleConfig()) ->
operatorSet(RuleConfig::OPERATOR_SET_STRING, false, true
) ->
entitySelectField('customerGroupIds', CustomerGroupDefinition::ENTITY_NAME, true
);
}}