#include "appcore/cardevent/cardevent.h"
Go to the source code of this file.
◆ Clone()
◆ Deserialize()
| virtual void Deserialize |
( |
char * |
buffer | ) |
|
|
virtual |
◆ EventPrepaidTicket()
| EventPrepaidTicket |
( |
EventPrepaidTicket __EVALREF |
source | ) |
|
◆ GetCityNumber()
| unsigned char GetCityNumber |
( |
| ) |
|
Returns city number
- See also
- SetCityNumber
- Returns
- unsigned char - city number
◆ GetClassID()
| virtual int GetClassID |
( |
| ) |
|
|
virtual |
◆ GetClassName()
◆ GetCouponCounter()
| unsigned char GetCouponCounter |
( |
| ) |
|
Returns coupon counter
- See also
- SetCouponCounter
- Returns
- unsigned char - coupon counter
◆ GetCurrencyCode()
| unsigned char GetCurrencyCode |
( |
| ) |
|
Returns currency code
- See also
- SetCurrencyCode
- Returns
- unsigned char - currency code
◆ GetPrepaidTicketType()
| 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
◆ GetPrice()
| unsigned long GetPrice |
( |
| ) |
|
Returns prepaid ticket price
- See also
- SetPrice
- Returns
- unsigned long - price
◆ GetProductID()
| unsigned short GetProductID |
( |
| ) |
|
Returns product ID (tariff ticket number)
- See also
- SetProductID
- Returns
- unsigned short - product ID
◆ GetSize()
| virtual short GetSize |
( |
| ) |
|
|
virtual |
◆ GetTariffZone()
| unsigned char GetTariffZone |
( |
| ) |
|
Returns tariff zone
- See also
- SetTariffZone
- Returns
- unsigned char - tariff zone
◆ GetValidFrom()
| 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)
◆ GetValidTo()
| 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)
◆ Serialize()
| virtual void Serialize |
( |
char * |
buffer | ) |
|
|
virtual |
◆ SetCityNumber()
| void SetCityNumber |
( |
unsigned char |
value | ) |
|
Sets city number
- See also
- GetCityNumber
- Parameters
-
| value | : unsigned char - city number |
◆ SetCouponCounter()
| void SetCouponCounter |
( |
unsigned char |
value | ) |
|
Sets coupon counter
- See also
- GetCouponCounter
- Parameters
-
| value | : unsigned char - coupon counter |
◆ SetCurrencyCode()
| void SetCurrencyCode |
( |
unsigned char |
value | ) |
|
Sets currency code
- See also
- GetCurrencyCode
- Parameters
-
| value | : unsigned char - currency code |
◆ SetPrepaidTicketType()
| 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 |
◆ SetPrice()
| void SetPrice |
( |
unsigned long |
value | ) |
|
Sets prepaid ticket price
- See also
- GetPrice
- Parameters
-
| value | : unsigned long - price |
◆ SetProductID()
| void SetProductID |
( |
unsigned short |
value | ) |
|
Sets product ID (tariff ticket number)
- See also
- GetProductID
- Parameters
-
| value | : unsigned short - product ID |
◆ SetTariffZone()
| void SetTariffZone |
( |
unsigned char |
value | ) |
|
Sets tariff zone
- See also
- GetTariffZone
- Parameters
-
| value | : unsigned char - tariff zone |
◆ SetValidFrom()
| 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) |
◆ SetValidTo()
| 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) |
◆ ~EventPrepaidTicket()
◆ EventPrepaidTicket
Ancestor of all prepaid ticket events - contains information common for prepaid tickets.
◆ EventPrepaidTicketPr