src/Message/GenerateAdditionalPropertiesMandateMessage.php line 7

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Message;
  4. final class GenerateAdditionalPropertiesMandateMessage
  5. {
  6.     private ?int $mandateId null;
  7.     private ?array $propertyIds = [];
  8.     /**
  9.      * @param int|null   $mandateId
  10.      * @param array|null $propertyIds
  11.      */
  12.     public function __construct(?int $mandateId, ?array $propertyIds)
  13.     {
  14.         $this->mandateId $mandateId;
  15.         $this->propertyIds $propertyIds;
  16.     }
  17.     /**
  18.      * @return int|null
  19.      */
  20.     public function getMandateId(): ?int
  21.     {
  22.         return $this->mandateId;
  23.     }
  24.     /**
  25.      * @return array|null
  26.      */
  27.     public function getPropertyIds(): ?array
  28.     {
  29.         return $this->propertyIds;
  30.     }
  31. }