id; } /** * @param int $id * @return Ticket */ public function setId($id) { $this->propertyChanged('id', $this->id, $id); $this->id = $id; return $this; } /** * @return \DateTime */ public function getDate() { return $this->date; } /** * @param \DateTime $date * @return Ticket */ public function setDate(\DateTime $date) { $this->propertyChanged('date', $this->date, $date); $this->date = $date; return $this; } /** * @return string */ public function getReference() { return $this->reference; } /** * @param string $reference * @return Ticket */ public function setReference($reference) { $this->propertyChanged('reference', $this->reference, $reference); $this->reference = $reference; return $this; } /** * @return string */ public function getVoucher() { return $this->voucher; } /** * @param string $voucher * @return Ticket */ public function setVoucher($voucher) { $this->propertyChanged('voucher', $this->voucher, $voucher); $this->voucher = $voucher; return $this; } /** * @return int */ public function getTicketTypeId() { return $this->ticketTypeId; } /** * @param int $ticketTypeId * @return Ticket */ public function setTicketTypeId($ticketTypeId) { $this->propertyChanged('ticketTypeId', $this->ticketTypeId, $ticketTypeId); $this->ticketTypeId = $ticketTypeId; return $this; } /** * @return TicketEventType */ public function getTicketEventType() { return $this->ticketEventType; } /** * @param TicketEventType $ticketEventType * @return Ticket */ public function setTicketEventType(TicketEventType $ticketEventType) { $this->ticketEventType = $ticketEventType; $this->ticketTypeId = $ticketEventType->getTicketTypeId(); return $this; } /** * @return int */ public function getAmount() { return $this->amount; } /** * @param int $amount * @return Ticket */ public function setAmount($amount) { $this->propertyChanged('amount', $this->amount, $amount); $this->amount = $amount; return $this; } /** * @return string */ public function getPaymentInfo() { return $this->paymentInfo; } /** * @param string $paymentInfo * @return Ticket */ public function setPaymentInfo($paymentInfo) { $this->propertyChanged('paymentInfo', $this->paymentInfo, $paymentInfo); $this->paymentInfo = $paymentInfo; return $this; } /** * @return string */ public function getCivility() { return $this->civility; } /** * @param string $civility * @return Ticket */ public function setCivility($civility) { $this->propertyChanged('civility', $this->civility, $civility); $this->civility = $civility; return $this; } /** * @return string */ public function getFirstname() { return $this->firstname; } /** * @param string $firstname * @return Ticket */ public function setFirstname($firstname) { $this->propertyChanged('firstname', $this->firstname, $firstname); $this->firstname = $firstname; return $this; } /** * @return string */ public function getLastname() { return $this->lastname; } /** * @param string $lastname * @return Ticket */ public function setLastname($lastname) { $this->propertyChanged('lastname', $this->lastname, $lastname); $this->lastname = $lastname; return $this; } /** * @return string */ public function getEmail() { return $this->email; } /** * @param string $email * @return Ticket */ public function setEmail($email) { $this->propertyChanged('email', $this->email, $email); $this->email = $email; return $this; } /** * @return string */ public function getPhoneNumber() { return $this->phoneNumber; } /** * @param string $phoneNumber * @return Ticket */ public function setPhoneNumber($phoneNumber) { $this->propertyChanged('phoneNumber', $this->phoneNumber, $phoneNumber); $this->phoneNumber = $phoneNumber; return $this; } /** * @return bool */ public function getCompanyCitation() { return $this->companyCitation; } /** * @param bool $companyCitation * @return Ticket */ public function setCompanyCitation($companyCitation) { $this->propertyChanged('companyCitation', $this->companyCitation, $companyCitation); $this->companyCitation = $companyCitation; return $this; } /** * @return bool */ public function getNewsletter() { return $this->newsletter; } /** * @param bool $newsletter * @return Ticket */ public function setNewsletter($newsletter) { $this->propertyChanged('newsletter', $this->newsletter, $newsletter); $this->newsletter = $newsletter; return $this; } /** * @return bool */ public function getOptin() { return $this->optin; } /** * @param bool $optin * @return Ticket */ public function setOptin($optin) { $this->propertyChanged('optin', $this->optin, $optin); $this->optin = $optin; return $this; } /** * @return string */ public function getComments() { return $this->comments; } /** * @param string $comments * @return Ticket */ public function setComments($comments) { $this->propertyChanged('comments', $this->comments, $comments); $this->comments = $comments; return $this; } /** * @return int */ public function getStatus() { return $this->status; } /** * @param int $status * @return Ticket */ public function setStatus($status) { $this->propertyChanged('status', $this->status, $status); $this->status = $status; return $this; } /** * @return int */ public function getInvoiceStatus() { return $this->invoiceStatus; } /** * @param int $invoiceStatus * @return Ticket */ public function setInvoiceStatus($invoiceStatus) { $this->propertyChanged('invoiceStatus', $this->invoiceStatus, $invoiceStatus); $this->invoiceStatus = $invoiceStatus; return $this; } /** * @return int */ public function getForumId() { return $this->forumId; } /** * @param int $forumId * @return Ticket */ public function setForumId($forumId) { $this->propertyChanged('forumId', $this->forumId, $forumId); $this->forumId = $forumId; return $this; } /** * @return int */ public function getMemberType() { return $this->memberType; } /** * @param int $memberType * @return Ticket */ public function setMemberType($memberType) { $memberType = (int) $memberType; $this->propertyChanged('memberType', $this->memberType, $memberType); $this->memberType = $memberType; return $this; } /** * @return int */ public function getMemberId() { return $this->memberId; } /** * @param int $memberId * @return Ticket */ public function setMemberId($memberId) { $memberId = (int) $memberId; $this->propertyChanged('memberId', $this->memberId, $memberId); $this->memberId = $memberId; return $this; } /** * @return bool */ public function getDay1Checkin() { return $this->day1Checkin; } /** * @param bool $day1Checkin * @return Ticket */ public function setDay1Checkin($day1Checkin) { $this->propertyChanged('day1Checkin', $this->day1Checkin, $day1Checkin); $this->day1Checkin = $day1Checkin; return $this; } /** * @return bool */ public function getDay2Checkin() { return $this->day2Checkin; } /** * @param bool $day2Checkin * @return Ticket */ public function setDay2Checkin($day2Checkin) { $this->propertyChanged('day2Checkin', $this->day2Checkin, $day2Checkin); $this->day2Checkin = $day2Checkin; return $this; } /** * @return string */ public function getLabel() { return $this->firstname . ' ' . $this->lastname; } /** * @return array */ public function getTags() { return [$this->tag1, $this->tag2, $this->tag3]; } /** * @return null|string */ public function getSpecialPriceToken() { return $this->specialPriceToken; } /** * @param null|string $specialPriceToken * * @return Ticket */ public function setSpecialPriceToken($specialPriceToken) { $this->propertyChanged('specialPriceToken', $this->specialPriceToken, $specialPriceToken); $this->specialPriceToken = $specialPriceToken; return $this; } /** * @return null|string */ public function getNearestOffice() { return $this->nearestOffice; } /** * @param null|string $nearestOffice * * @return $this */ public function setNearestOffice($nearestOffice) { $this->propertyChanged('nearestOffice', $this->nearestOffice, $nearestOffice); $this->nearestOffice = $nearestOffice; return $this; } }