id = null; } public function getId(): ?int { return $this->id; } public function getAccommodation(): ?Accommodation { return $this->accommodation; } public function setAccommodation(?Accommodation $accommodation): self { $this->accommodation = $accommodation; return $this; } public function getDateFrom(): ?\DateTimeImmutable { return $this->dateFrom; } public function setDateFrom(\DateTimeImmutable $dateFrom): self { $this->dateFrom = $dateFrom; return $this; } public function getDateTo(): ?\DateTimeImmutable { return $this->dateTo; } public function setDateTo(\DateTimeImmutable $dateTo): self { $this->dateTo = $dateTo; return $this; } public function getIncludedPax(): ?int { return $this->includedPax; } public function setIncludedPax(int $includedPax): self { $this->includedPax = $includedPax; return $this; } public function getPricePerNight(): ?int { return $this->pricePerNight; } public function setPricePerNight(int $pricePerNight): self { $this->pricePerNight = $pricePerNight; return $this; } public function getPriceAdditionalPerson(): ?int { return $this->priceAdditionalPerson; } public function setPriceAdditionalPerson(int $priceAdditionalPerson): self { $this->priceAdditionalPerson = $priceAdditionalPerson; return $this; } public function getMinNights(): ?int { return $this->minNights; } public function setMinNights(int $minNights): self { $this->minNights = $minNights; return $this; } public function getPricePerNightOverride(): ?int { return $this->pricePerNightOverride; } public function setPricePerNightOverride(?int $pricePerNightOverride): self { $this->pricePerNightOverride = $pricePerNightOverride; return $this; } public function getEffectivePricePerNight(): int { return $this->pricePerNightOverride ?? $this->pricePerNight; } public function getPriceAdditionalPersonOverride(): ?int { return $this->priceAdditionalPersonOverride; } public function setPriceAdditionalPersonOverride(?int $priceAdditionalPersonOverride): self { $this->priceAdditionalPersonOverride = $priceAdditionalPersonOverride; return $this; } public function getEffectivePriceAdditionalPerson(): int { return $this->priceAdditionalPersonOverride ?? $this->priceAdditionalPerson; } public function isAcceptUndersubscription(): bool { return $this->acceptUndersubscription; } public function setAcceptUndersubscription(bool $acceptUndersubscription): self { $this->acceptUndersubscription = $acceptUndersubscription; return $this; } }