center; } /** * Get code. * * @return string */ public function getCode() { return $this->code; } /** * Get country. * * @return Country */ public function getCountry() { return $this->country; } /** * Get id. * * @return int */ public function getId() { return $this->id; } /** * Get name. * * @return string */ public function getName() { return $this->name; } /** * Get origin. * * @return int */ public function getOrigin() { return $this->origin; } public function getPostalCodeSource(): ?string { return $this->postalCodeSource; } public function getRefPostalCodeId(): ?string { return $this->refPostalCodeId; } public function setCenter(?Point $center): self { $this->center = $center; return $this; } /** * Set code. * * @param string $code * * @return PostalCode */ public function setCode($code) { $this->code = $code; return $this; } /** * Set country. * * @param Country $country * * @return PostalCode */ public function setCountry(?Country $country = null) { $this->country = $country; return $this; } /** * Set name. * * @param string $name * * @return PostalCode */ public function setName($name) { $this->name = $name; return $this; } /** * Set origin. * * @param int $origin * * @return PostalCode */ public function setOrigin($origin) { $this->origin = $origin; return $this; } public function setPostalCodeSource(?string $postalCodeSource): self { $this->postalCodeSource = $postalCodeSource; return $this; } public function setRefPostalCodeId(?string $refPostalCodeId): self { $this->refPostalCodeId = $refPostalCodeId; return $this; } }