age; } public function setAge(?string $age): self { $this->age = $age; return $this; } public function getDeposit(): ?int { return $this->deposit; } public function setDeposit(?int $deposit): self { $this->deposit = $deposit; return $this; } public function getCurrency(): ?string { return $this->currency; } public function setCurrency(?string $currency): self { $this->currency = $currency; return $this; } public function getPreferredLoanDuration(): ?string { return $this->preferredLoanDuration; } public function setPreferredLoanDuration(?string $preferredLoanDuration): self { $this->preferredLoanDuration = $preferredLoanDuration; return $this; } public function getDepositReal(): ?int { if ($this->deposit === null) { return $this->deposit; } return $this->deposit / 100; } }