ticketItem = $ticketItem; $this->action = $action; if (!is_null($messageId)) $this->messageId = $messageId; } /** * @return TicketItemInterface */ public function getTicketItem(): TicketItemInterface { return $this->ticketItem; } /** * @return int */ public function getAction(): int { return $this->action; } /** * @return int */ public function getMessageId(): int { return $this->messageId; } }