src/Domain/Site/Model/BillingInformation.php line 7

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Domain\Site\Model;
  4. class BillingInformation
  5. {
  6.     public function __construct(
  7.         private string $name,
  8.         private string $country,
  9.         private string $city,
  10.         private string $street,
  11.         private string $streetNumber,
  12.         private string $postalCode,
  13.         private string $iban,
  14.         private bool $isBankWebhook
  15.     ) {
  16.     }
  17.     public function getName(): string
  18.     {
  19.         return $this->name;
  20.     }
  21.     public function setName(string $name): void
  22.     {
  23.         $this->name $name;
  24.     }
  25.     public function getCountry(): string
  26.     {
  27.         return $this->country;
  28.     }
  29.     public function setCountry(string $country): void
  30.     {
  31.         $this->country $country;
  32.     }
  33.     public function getCity(): string
  34.     {
  35.         return $this->city;
  36.     }
  37.     public function setCity(string $city): void
  38.     {
  39.         $this->city $city;
  40.     }
  41.     public function getStreet(): string
  42.     {
  43.         return $this->street;
  44.     }
  45.     public function setStreet(string $street): void
  46.     {
  47.         $this->street $street;
  48.     }
  49.     public function getStreetNumber(): string
  50.     {
  51.         return $this->streetNumber;
  52.     }
  53.     public function setStreetNumber(string $streetNumber): void
  54.     {
  55.         $this->streetNumber $streetNumber;
  56.     }
  57.     public function getPostalCode(): string
  58.     {
  59.         return $this->postalCode;
  60.     }
  61.     public function setPostalCode(string $postalCode): void
  62.     {
  63.         $this->postalCode $postalCode;
  64.     }
  65.     public function getIban(): string
  66.     {
  67.         return $this->iban;
  68.     }
  69.     public function setIban(string $iban): void
  70.     {
  71.         $this->iban $iban;
  72.     }
  73.     public function getIsBankWebhook(): bool
  74.     {
  75.         return $this->isBankWebhook;
  76.     }
  77.     public function setIsBankWebhook(bool $flag): self
  78.     {
  79.         $this->isBankWebhook $flag;
  80.         return $this;
  81.     }
  82. }