Abstract Class Ticket

This class represents the data of a ticket as stored in the database.

Enums

enum TicketState

SymbolValueDocu
Reserved785The ticket is reserved for a customer, it blocks the seat, but is not to be paid yet.
Ordered786The ticket is ordered/sold and possibly paid for (payment is stored in its order).
Used771The ticket has been used.
Cancelled4The ticket has been given back for some reason and needs to be re-imbursed (if paid already).
Refund4Alias for Cancelled
MaskBlock256Masking value: if this bit is set the ticket blocks a seat.
MaskPay512Masking value: if this bit is set the ticket must be paid by the customer.
MaskUsable768Masking value: combines Block+Pay - the ticket can be used to watch a show or is already being used.
MaskReturnable16Masking value: if this bit is set the ticket can still be cancelled.
MaskChangeable16Masking value: if this bit is set the ticket can still be changed (price, event, etc.). Currently an alias for MaskReturnable.

Properties

Mapping for Table ticket

PropertyColumn
eventideventid
orderidorderid
priceprice
pricecategorypricecategory
pricecategoryidpricecategoryid
seatseat
statusstatus
tagstags
ticketidticketid