companyId = $companyId; $this->voucherCode = $voucherCode; $this->amount = $amount; $this->serviceCharge = $serviceCharge; $this->user = $user; $this->isNewOrder = $isNewOrder; } /** * @return int */ public function getCompanyId(): int { return $this->companyId; } /** * @return string */ public function getVoucherCode(): string { return $this->voucherCode; } /** * @return float */ public function getAmount(): float { return $this->amount; } /** * @return float */ public function getServiceCharge(): float { return $this->serviceCharge; } /** * @return User */ public function getUser(): User { return $this->user; } /** * @return bool|null */ public function getIsNewOrder(): ?bool { return $this->isNewOrder; } }