diff --git a/init.php b/init.php index dc356b2..187c411 100644 --- a/init.php +++ b/init.php @@ -305,6 +305,7 @@ require_once __DIR__ . '/src/Component/Entity/ShipmentPackageWithHistory.php'; require_once __DIR__ . '/src/Component/Entity/ShipmentPackageWithHistory/History.php'; require_once __DIR__ . '/src/Component/Entity/ShipmentPrice.php'; +require_once __DIR__ . '/src/Component/Entity/ShipmentSenderRecipientAddress.php'; require_once __DIR__ . '/src/Component/Entity/Shipping.php'; require_once __DIR__ . '/src/Component/Entity/Stock.php'; require_once __DIR__ . '/src/Component/Entity/StockList.php'; diff --git a/src/Component/Entity/ShipmentSenderRecipientAddress.php b/src/Component/Entity/ShipmentSenderRecipientAddress.php new file mode 100644 index 0000000..54fbc7e --- /dev/null +++ b/src/Component/Entity/ShipmentSenderRecipientAddress.php @@ -0,0 +1,103 @@ +name; + } + + public function setName(?string $name): static + { + $this->name = $name; + return $this; + } + + public function getCompany(): ?string + { + return $this->company; + } + + public function setCompany(?string $company): static + { + $this->company = $company; + return $this; + } + + public function getStreet(): ?string + { + return $this->street; + } + + public function setStreet(?string $street): static + { + $this->street = $street; + return $this; + } + + public function getCity(): ?string + { + return $this->city; + } + + public function setCity(?string $city): static + { + $this->city = $city; + return $this; + } + + public function getZip(): ?string + { + return $this->zip; + } + + public function setZip(?string $zip): static + { + $this->zip = $zip; + return $this; + } + + public function getCountryCode(): ?string + { + return $this->countryCode; + } + + public function setCountryCode(?string $countryCode): static + { + $this->countryCode = $countryCode; + return $this; + } + + public function getPhone(): ?string + { + return $this->phone; + } + + public function setPhone(?string $phone): static + { + $this->phone = $phone; + return $this; + } + + public function getEmail(): ?string + { + return $this->email; + } + + public function setEmail(?string $email): static + { + $this->email = $email; + return $this; + } +}