rate = $rate; $this->internalRate = $internalRate; $this->fixedRate = $fixedRate; $this->hourlyRate = $hourlyRate; } public function getRate(): float { return $this->rate; } public function getInternalRate(): float { return $this->internalRate; } public function getFixedRate(): ?float { return $this->fixedRate; } public function getHourlyRate(): ?float { return $this->hourlyRate; } }