Class CartTicket

Encapsulates tickets for a specific event in a specific price category as they are stored in the cart. One instance of CartTicket can contain several tickets. This class is used by the client to tell the server about new orders and by the Web UI to actually store its cart.

Enums

enum TicketValidationState

Used when checking orders: tells us whether a ticket can be sold or not.

SymbolValueDocu
Ok0The tickets can be sold
EventOver1The event is already over
TooLate2The event is not yet over, but normal sale is no longer possible, you need the CreateOrder:LateSale privilege
Exhausted3There are not enough tickets for this event
Invalid4There is an inherent mismatch in the ticket (eg. non-existent event or price category), it can't possibly be sold.

Properties

Mapping for Table cartticket

PropertyColumn
amountamount
cartidcartid
eventevent
eventideventid
eventpriceeventprice
origeventpriceorigeventprice
origpricecategoryidorigpricecategoryid
priceprice
pricecategoryidpricecategoryid