withTax = $withTax; $this->ruleId = $ruleId; } public function getRuleId(): int { return $this->ruleId; } /** * @return bool */ public function isWithTax(): bool { return $this->withTax; } }