| 1 | <?php |
||
| 14 | class TicketPurchasePaid implements EventInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @Jms\Type("string") |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $id; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @Jms\Type("string") |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $purchaserEmail; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * TicketPurchasePaid constructor. |
||
| 30 | * @param string $id |
||
| 31 | * @param string $purchaserEmail |
||
| 32 | */ |
||
| 33 | public function __construct(string $id, string $purchaserEmail) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getId() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getPurchaserEmail(): string |
||
| 54 | } |