$this->operator =
$operator;
$this->cartShippingCost =
$cartShippingCost;
} public function match(RuleScope
$scope): bool
{ if (!
$scope instanceof CartRuleScope
) { return false;
} return RuleComparison::
numeric($this->
fetchShippingCosts($scope->
getCart()),
$this->cartShippingCost,
$this->operator
);
} public function getConstraints(): array
{ return [ 'cartShippingCost' => RuleConstraints::
float(),
'operator' => RuleConstraints::
numericOperators(false
),
];
} public function getConfig(): RuleConfig
{