1#ifndef ECARDDATAFACADECOMMERCIALDISCOUNT_H
2#define ECARDDATAFACADECOMMERCIALDISCOUNT_H
4#include "appcore/cardfacade/ECardFacadeDefines.h"
10 class EDataCollection;
15 class ECardDataStorage;
49 bool IsModifiedData()
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;
void SetPrice(unsigned long value)
void Init(__ESTRING path)
#define DLL_API
Definition ECardFacadeDefines.h:8
Definition ECardDataFacadeCommercialDiscount.h:17
bool AddDataToWriteRequest(EM::PT::EDataCollection *writeRequest) const
bool AddDataTypeToReadRequest(PT::EAplRequest *readRequest[], unsigned short dataTypesOperation) const
card data storage, who fill if card readed
Definition ECardDataStorage.h:60
CommercialDiscountCardFeatures
Definition ECardFacadeDefines.h:109
ReturnValues
Definition ECardFacadeDefines.h:145
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7