1 #ifndef ECARDDATAFACADECOMMERCIALDISCOUNT_H
2 #define ECARDDATAFACADECOMMERCIALDISCOUNT_H
4 #include "appcore/cardfacade/ECardFacadeDefines.h"
10 class EDataCollection;
15 class ECardDataStorage;
49 bool IsModifiedData()
const;
57 bool AddDataTypeToReadRequest(PT::EAplRequest *readRequest[] ,
unsigned short dataTypesOperation)
const;
66 bool AddDataToWriteRequest( EM::PT::EDataCollection *writeRequest )
const;
81 bool GetDiscountCount(
unsigned char &discountCount )
const;
90 bool GetLineNumber(
const unsigned long discountIndex,
unsigned long &lineNumber )
const;
100 bool SetLineNumber(
const unsigned long discountIndex,
const unsigned long lineNumber )
const;
110 bool GetTripNumber(
const unsigned long discountIndex,
unsigned short &tripNumber )
const;
120 bool SetTripNumber(
const unsigned long discountIndex,
const unsigned short tripNumber )
const;
129 bool GetDistance(
const unsigned long discountIndex,
unsigned char &distance )
const;
138 bool SetDistance(
const unsigned long discountIndex,
const unsigned char distance )
const;
147 bool GetPrice(
const unsigned long discountIndex,
unsigned short &price )
const;
156 bool SetPrice(
const unsigned long discountIndex,
const unsigned short price )
const;
165 bool GetCheckInBusStop(
const unsigned long discountIndex,
unsigned short &checkInBusStop )
const;
174 bool SetCheckInBusStop(
const unsigned long discountIndex,
const unsigned short checkInBusStop )
const;
183 bool GetCheckOutBusStop(
const unsigned long discountIndex,
unsigned short &checkOutBusStop )
const;
192 bool SetCheckOutBusStop(
const unsigned long discountIndex,
const unsigned short checkOutBusStop )
const;
203 bool GetDiscountTimeValidityStart(
const unsigned long discountIndex,
unsigned long &discountTimeValidityStart )
const;
214 bool SetDiscountTimeValidityStart(
const unsigned long discountIndex,
const unsigned long discountTimeValidityStart )
const;
225 bool GetJourneyTimeValidityStart(
const unsigned long discountIndex,
unsigned long &journeyTimeValidityStart )
const;
236 bool SetJourneyTimeValidityStart(
const unsigned long discountIndex,
const unsigned long journeyTimeValidityStart )
const;
245 bool GetJourneyCount(
const unsigned long discountIndex,
unsigned char &journeyCount )
const;
254 bool SetJourneyCount(
const unsigned long discountIndex,
const unsigned char journeyCount )
const;
263 bool GetActiveDiscountFlag(
const unsigned long discountIndex,
unsigned char &activeDiscountFlag )
const;
272 bool SetActiveDiscountFlag(
const unsigned long discountIndex,
const unsigned char activeDiscountFlag )
const;
274 unsigned short GetRequiredDataReadOperation()
const;
287 #endif // ECARDDATAFACADECOMMERCIALDISCOUNT_H
ReturnValues
Definition: ECardFacadeDefines.h:144
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
Definition: ECardDataFacadeCommercialDiscount.h:16
void SetPrice(unsigned long value)
CommercialDiscountCardFeatures
Definition: ECardFacadeDefines.h:108
__ECLASS DataClass
Definition: EEventUpdateCustomerData.h:35
card data storage, who fill if card readed
Definition: ECardDataStorage.h:59
#define DLL_API
Definition: ECardFacadeDefines.h:8
SYSTEM INCLUDES.
Definition: CardFacadeManagerXML.h:6
void Init(__ESTRING path)