createdAt; } public function getDeletedAt(): ?DateTimeImmutable { return $this->deletedAt; } public function getId(): ?int { return $this->id; } public function getMunicipalityCode(): string { return $this->municipalityCode; } public function getPoint(): ?Point { return $this->point; } /** * Get postcode. * * @return PostalCode */ public function getPostcode(): ?PostalCode { return $this->postcode; } public function getRefId(): string { return $this->refId; } public function getSource(): string { return $this->source; } public function getStreet(): string { return $this->street; } public function getStreetNumber(): string { return $this->streetNumber; } public function getUpdatedAt(): ?DateTimeImmutable { return $this->updatedAt; } public function hasPoint(): bool { return null !== $this->getPoint(); } public function setCreatedAt(?DateTimeImmutable $createdAt): self { $this->createdAt = $createdAt; return $this; } public function setDeletedAt(?DateTimeImmutable $deletedAt): self { $this->deletedAt = $deletedAt; return $this; } public function setMunicipalityCode(?string $municipalityCode): self { $this->municipalityCode = (string) $municipalityCode; return $this; } public function setPoint(?Point $point): self { $this->point = $point; return $this; } /** * Set postcode. * * @param PostalCode $postcode * * @return Address */ public function setPostcode(?PostalCode $postcode = null) { $this->postcode = $postcode; return $this; } public function setRefId(string $refId): self { $this->refId = $refId; return $this; } public function setSource(?string $source): self { $this->source = (string) $source; return $this; } public function setStreet(?string $street): self { $this->street = (string) $street; return $this; } public function setStreetNumber(?string $streetNumber): self { $this->streetNumber = (string) $streetNumber; return $this; } public function setUpdatedAt(?DateTimeImmutable $updatedAt): self { $this->updatedAt = $updatedAt; return $this; } }