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.
Used when checking orders: tells us whether a ticket can be sold or not.
Symbol | Value | Docu |
Ok | 0 | The tickets can be sold |
EventOver | 1 | The event is already over |
TooLate | 2 | The event is not yet over, but normal sale is no longer possible, you need the CreateOrder:LateSale privilege |
Exhausted | 3 | There are not enough tickets for this event |
Invalid | 4 | There is an inherent mismatch in the ticket (eg. non-existent event or price category), it can't possibly be sold. |
Property | Column |
amount | amount |
cartid | cartid |
event | event |
eventid | eventid |
eventprice | eventprice |
origeventprice | origeventprice |
origpricecategoryid | origpricecategoryid |
price | price |
pricecategoryid | pricecategoryid |