#include "appcore/cardevent/cardevent.h"
Go to the source code of this file.
| virtual void Deserialize |
( |
char * |
buffer | ) |
|
|
virtual |
| EventPrepaidTicket |
( |
EventPrepaidTicket __EVALREF |
source | ) |
|
| unsigned char GetCityNumber |
( |
| ) |
|
Returns city number
- See also
- SetCityNumber
- Returns
- unsigned char - city number
| virtual int GetClassID |
( |
| ) |
|
|
virtual |
| unsigned char GetCouponCounter |
( |
| ) |
|
Returns coupon counter
- See also
- SetCouponCounter
- Returns
- unsigned char - coupon counter
| unsigned char GetCurrencyCode |
( |
| ) |
|
Returns currency code
- See also
- SetCurrencyCode
- Returns
- unsigned char - currency code
| unsigned char GetPrepaidTicketType |
( |
| ) |
|
Returns prepaid ticket type
- See also
- SetPrepaidTicketType
- Returns
- unsigned char - type of prepaid ticket
#define PREPAIDTICKETRANGE 21 // ranged prepaid ticket #define PREPAIDTICKETZONE 22 // zone prepaid ticket #define PREPAIDTICKETZONE99 23 // 99 zone prepaid ticket
| unsigned long GetPrice |
( |
| ) |
|
Returns prepaid ticket price
- See also
- SetPrice
- Returns
- unsigned long - price
| unsigned short GetProductID |
( |
| ) |
|
Returns product ID (tariff ticket number)
- See also
- SetProductID
- Returns
- unsigned short - product ID
| virtual short GetSize |
( |
| ) |
|
|
virtual |
| unsigned char GetTariffZone |
( |
| ) |
|
Returns tariff zone
- See also
- SetTariffZone
- Returns
- unsigned char - tariff zone
| unsigned long GetValidFrom |
( |
| ) |
|
Returns prepaid ticket validity start
- See also
- SetValidFrom
- Returns
- unsigned long - prepaid ticket validity start as unix timestamp (number of seconds since January 1st, 1970)
| unsigned long GetValidTo |
( |
| ) |
|
Returns prepaid ticket validity end
- See also
- SetValidTo
- Returns
- unsigned long - prepaid ticket validity end as unix timestamp (number of seconds since January 1st, 1970)
| virtual void Serialize |
( |
char * |
buffer | ) |
|
|
virtual |
| void SetCityNumber |
( |
unsigned char |
value | ) |
|
Sets city number
- See also
- GetCityNumber
- Parameters
-
| value | : unsigned char - city number |
| void SetCouponCounter |
( |
unsigned char |
value | ) |
|
Sets coupon counter
- See also
- GetCouponCounter
- Parameters
-
| value | : unsigned char - coupon counter |
| void SetCurrencyCode |
( |
unsigned char |
value | ) |
|
Sets currency code
- See also
- GetCurrencyCode
- Parameters
-
| value | : unsigned char - currency code |
| void SetPrepaidTicketType |
( |
unsigned char |
value | ) |
|
|
protected |
Sets prepaid tickets type. This is protected method because each class sets prepaid ticket type by itself and client should not be able to modify it from the outside.
- See also
- GetPrepaidTicketType
- Parameters
-
| value | : unsigned char - prepaid ticket type |
| void SetPrice |
( |
unsigned long |
value | ) |
|
Sets prepaid ticket price
- See also
- GetPrice
- Parameters
-
| value | : unsigned long - price |
| void SetProductID |
( |
unsigned short |
value | ) |
|
Sets product ID (tariff ticket number)
- See also
- GetProductID
- Parameters
-
| value | : unsigned short - product ID |
| void SetTariffZone |
( |
unsigned char |
value | ) |
|
Sets tariff zone
- See also
- GetTariffZone
- Parameters
-
| value | : unsigned char - tariff zone |
| void SetValidFrom |
( |
unsigned long |
value | ) |
|
Sets prepaid ticket validity start
- See also
- GetValidFrom
- Parameters
-
| value | : unsigned long - prepaid ticket validity start as unix timestamp (number of seconds since January 1st, 1970) |
| void SetValidTo |
( |
unsigned long |
value | ) |
|
Sets prepaid ticket validity end
- See also
- GetValidTo
- Parameters
-
| value | : unsigned long - prepaid ticket validity end as unix timestamp (number of seconds since January 1st, 1970) |
Ancestor of all prepaid ticket events - contains information common for prepaid tickets.