#include "appcore/cardevent/EventPrepaidTicket.h"
Go to the source code of this file.
◆ Clone()
◆ Deserialize()
| virtual void Deserialize |
( |
char * |
buffer | ) |
|
|
virtual |
◆ EventPrepaidTicketZone()
| EventPrepaidTicketZone |
( |
EventPrepaidTicketZone __EVALREF |
source | ) |
|
◆ GetClassID()
| virtual int GetClassID |
( |
| ) |
|
|
virtual |
◆ GetClassName()
◆ GetSize()
| virtual short GetSize |
( |
| ) |
|
|
virtual |
◆ GetZone()
| unsigned short GetZone |
( |
int |
value | ) |
|
Returns zone on specified position
- Parameters
-
| value | : int - position of zone [0..9] |
- See also
- SetZone
- Returns
- unsigned short - zone number
◆ IsWholeNetwork()
Returns if it is a network wide coupon
- See also
- SetWholeNetwork
- Returns
- bool
- true = it's network wide coupon
- false = it's not network wide coupon
◆ Serialize()
| virtual void Serialize |
( |
char * |
buffer | ) |
|
|
virtual |
◆ SetWholeNetwork()
| void SetWholeNetwork |
( |
bool |
isWholeNetwork | ) |
|
Sets if it is a network wide coupon
- See also
- IsWholeNetwork
- Parameters
-
| isWholeNetwork | : bool - network wide coupon flag |
◆ SetZone()
| unsigned short SetZone |
( |
int |
index, |
|
|
unsigned short |
value |
|
) |
| |
Sets zone on specified position in zone array
- Parameters
-
| index | : int - position of zone [0..9] |
| value | : unsigned short - zone number |
- See also
- GetZone
- Returns
- unsigned short
- previous value
- 0 means index out of range
◆ ~EventPrepaidTicketZone()
◆ EventPrepaidTicketZone
Zone prepaid ticket event.
(Max count of zones is 10)
◆ EventPrepaidTicketZonePr