diff --git a/serializer/RegionalChapter.yaml b/serializer/RegionalChapter.yaml index a00b34e..35fa34a 100644 --- a/serializer/RegionalChapter.yaml +++ b/serializer/RegionalChapter.yaml @@ -6,5 +6,7 @@ Netzbegruenung\Api\Model\RegionalChapter: type: string type: type: string + zipCode: + type: string organization: type: Netzbegruenung\Api\Model\Organization diff --git a/src/RegionalChapter.php b/src/RegionalChapter.php index 811c178..d3a12de 100644 --- a/src/RegionalChapter.php +++ b/src/RegionalChapter.php @@ -24,6 +24,11 @@ class RegionalChapter */ protected $organization; + /** + * @var string|null + */ + protected $zipCode; + /** * @return string */ @@ -87,4 +92,20 @@ class RegionalChapter { $this->organization = $organization; } + + /** + * @return string|null + */ + public function getZipCode() : ?string + { + return $this->zipCode; + } + + /** + * @param string|null $zipCode + */ + public function setZipCode(?string $zipCode): void + { + $this->zipCode = $zipCode; + } }