AppCore
Loading...
Searching...
No Matches
ETicketIssueLogicDataStorage.h
Go to the documentation of this file.
1#ifndef EISSUELOGICDATASTORAGE_H
2#define EISSUELOGICDATASTORAGE_H
3
4#include "../ETicketIssueLogicDefines.h"
5#include <vector>
6#include <list>
7#include <set>
8#include <qlist.h>
9
10#include "core/common/PriceListRowPreferenceByTimeValidity.h"
11
12class EHead;
13class QString;
14
15namespace EM
16{
17 namespace Strojcek
18 {
19 namespace VstupneUdaje
20 {
21 namespace CestovnePoriadky
22 {
23 class ELinka;
24 class ESpoj;
25 }
26
27 namespace TarifnySystem
28 {
29 class ETarifa;
30 class ETarifnaSkupina;
31 }
32
33 class EPrestupSpoj;
34 }
35
36 namespace StatistikaStrojcek
37 {
38 struct VystupneData;
39 class ECestovnyListok;
40 }
41 }
42
43 namespace TicketIssueLogic
44 {
45 class EModuleManager;
46 class IssuedTicket;
47 class EMultipleTicket;
48 class TripSection;
49 class EOutputDataInternalManager;
50 class EPurchasedTicketRegister;
51 class EAlternativeTrip;
52 class PriceListLogicDispatcher;
53
55 {
57
58 class DataClass;
59 DataClass *d;
60
62 public:
63
64 typedef std::vector<IssuedTicket *> IssuedTicketCollection;
65
68
74 void AutoClear();
75
81 void Clear();
82
83 bool GetActualLine( Strojcek::VstupneUdaje::CestovnePoriadky::ELinka *&line );
84 bool SetActualLine( const Strojcek::VstupneUdaje::CestovnePoriadky::ELinka *line );
85
86 bool GetActualTrip( Strojcek::VstupneUdaje::CestovnePoriadky::ESpoj *&trip );
87 bool SetActualTrip( const Strojcek::VstupneUdaje::CestovnePoriadky::ESpoj *trip );
88
89 bool GetActualLineNumber( long &lineNumber );
90 bool GetActualTripNumber( long &tripNumber );
91
92 bool GetProtectNumber( long &protectNumber );
93
94 bool GetTariffGroupNumber( unsigned short &tariffGroupNumber );
95
96 bool GetTripOrderCheckInBusStop( long &checkInBusStopOrder );
97 bool SetTripOrderCheckInBusStop( const long checkInBusStopOrder );
98
99 bool GetUrbanTransportNumberOnBusStop( long busStopLineOrder, long &urbanTransportIdentificationNumber );
100
101 bool GetTripOrderCheckOutBusStop( long &checkOutBusStopOrder );
102 bool SetTripOrderCheckOutBusStop( const long checkOutBusStopOrder );
103
104 bool GetTripOrderBusStopForCheckOut( long &busStopForCheckoutTripOrder );
105 bool SetTripOrderBusStopForCheckOut( const long busStopForCheckoutTripOrder );
106
107 bool GetLineOrderCheckInBusStop( long &checkInBusStopOrder );
108
109 bool GetLineOrderCheckOutBusStop( long &checkOutBusStopOrder );
110
111 bool GetLineOrderBusStopForCheckOut( long &orderOfBusStopForCheckOut );
112
113 bool GetCheckInZone( unsigned short &checkinZone );
114
115 bool GetCheckOutZone( unsigned short &checkoutZone );
116
122 bool GetCheckInZone2( unsigned short &checkInZone2 );
123
124 bool GetCheckInBusStopID( unsigned long &checkInBusStopID );
125 bool SetCheckInBusStopID( const unsigned long checkInBusStopID );
126
127 bool GetCheckOutBusStopID( unsigned long &checkOutBusStopID );
128 bool SetCheckOutBusStopID( const unsigned long checkOutBusStopID );
129
130 bool GetBusStopForCheckOutID( unsigned long &busStopForCheckOutID );
131 bool SetBusStopForCheckOutID( const unsigned long busStopForCheckOutID );
132
133 bool GetTariffGroup( Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *&tariffGroup );
134 bool SetTariffGroup( const Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *tariffGroup );
135
136 bool GetTariff( Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&tariff );
137 bool SetTariff( const Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff );
138
141
144
145 bool GetCardWriteOperations( unsigned long &cardWriteOperations );
146 bool SetCardWriteOperations( unsigned long cardWriteOperations );
147
148 bool GetTicketCount( short &ticketCount );
149 bool SetTicketCount( const short ticketCount );
150
151 bool AddMultipleTicket( EMultipleTicket *multipleTicket );
152 bool GetMultipleTicketCount( unsigned char &ticketCount ) const;
153 bool PopMultipleTicket( EMultipleTicket *&multipleTicket );
154 bool GetMultipleTickets( std::list< EMultipleTicket * > &multipleTicketList ) const;
156
159
160 bool GetValidTimeTicketIndexes( std::set<short> &validTimeTicketIndexes );
161 bool SetValidTimeTicketIndexes( const std::set<short> &validTimeTicketIndexes );
162
163 bool SetCreditRecharge( unsigned long creditRecharge );
164 bool GetCreditRecharge( unsigned long &creditRecharge );
165
166 bool SetCancelationStatisticTicketNumber( const long cancelationStatisticTicketNumber );
167 bool GetCancelationStatisticTicketNumber( long &cancelationStatisticTicketNumber ) const;
168
169 bool GetIssuedTicketCollection( std::vector< IssuedTicket * > *&issuedTicketCollection );
170 bool AddIssuedTicket( IssuedTicket *issuedTicket );
171 bool GetActualIssuedTicket( IssuedTicket *&issuedTicket );
172
173 bool SetDeviceSerialNumber( unsigned long serialNumber );
174 bool GetDeviceSerialNumber( unsigned long &serialNumber );
175
176 bool SetDeviceOrderNumber( unsigned char orderNumber );
177 bool GetDeviceOrderNumber( unsigned char &orderNumber );
178
179 bool SetAdvertisementEnabled( bool enableAdvertisement );
180 bool GetAdvertisementEnabled( bool &enableAdvertisement );
181
182 bool SetTimeTicketValidityStart( unsigned long validityStart );
183 bool GetTimeTicketValidityStart( unsigned long &validityStart );
184
185 bool SetTimeTicketValidityEnd( unsigned long validityEnd );
186 bool GetTimeTicketValidityEnd( unsigned long &validityEnd );
187
188 bool SetCoinerOverfallValue( unsigned long coinerOverfallValue );
189 bool GetCoinerOverfallValue( unsigned long &coinerOverfallValue );
190
191 bool SetTimeTicketCounter( unsigned char timeTicketCounter );
192 bool GetTimeTicketCounter( unsigned char &timeTicketCounter );
193
194 bool SetTimeTicketPreviousCounter( unsigned char timeTicketCounter );
195 bool GetTimeTicketPreviousCounter( unsigned char &timeTicketCounter );
196
202 bool SetZoneFrom( unsigned short zoneFrom );
203 bool GetZoneFrom( unsigned short &zoneFrom );
204
210 bool SetZoneTo( unsigned short zoneTo );
211 bool GetZoneTo( unsigned short &zoneTo );
212
213 bool SetKilometers( const unsigned char kilometers );
214 bool GetKilometers( unsigned char &kilometers ) const;
215
216 bool SetZoneList( const std::list<unsigned long> &zoneList );
217 bool GetZoneList( std::list<unsigned long> &zoneList );
218
219 bool SetAdditionalZones( const std::list<unsigned long> &additionalZones );
220 bool GetAdditionalZones( std::list<unsigned long> &additionalZones );
221
222 bool SetTimeTicketExtensionIndex( short timeTicketIndex );
223 bool GetTimeTicketExtensionIndex( short &timeTicketIndex );
224
225 bool SetSoldTimeTicketIndex( short timeTicketIndex );
226 bool GetSoldTimeTicketIndex( short &timeTicketIndex );
227
228 bool GetModuleManager( EModuleManager *&moduleManager );
229 bool GetPriceListLogicDispatcher( PriceListLogicDispatcher *&priceListLogicDispatcher );
230 bool GetPurchasedTicketRegister( EPurchasedTicketRegister *&purchasedTicketRegister );
232
233 bool AddTripSection( const unsigned int starBusStop, const unsigned int endBusStop, const long oneWayTicketIndexToCard, const unsigned short tariffGroupOnSection, EIssueLogicDefines::TripSectionType sectionType, const std::list<unsigned long> &travelledZones = std::list<unsigned long>(), const short timeTicketIndex = -1, const unsigned char continuousTripOrder = 0 );
235 bool GetTripSectionCount( unsigned char &sectionCount ) const;
236 bool GetTripSectionList( const std::list< TripSection * > *&tripSectionList ) const ;
237
238 void SetCrossTransfer( const EM::Strojcek::VstupneUdaje::EPrestupSpoj &crossTransfer );
241 bool GetCrossTransfer( EM::Strojcek::VstupneUdaje::EPrestupSpoj &crossTransfer ) const;
242
243 bool GetCheckInZoneBusStopID( unsigned long &checkInZoneBusStopID );
244 bool SetCheckInZoneBusStopID( const unsigned long checkInZoneBusStopID );
245
246 bool GetCheckOutZoneBusStopID( unsigned long &checkOutZoneBusStopID );
247 bool SetCheckOutZoneBusStopID( const unsigned long checkOutZoneBusStopID );
248
249 bool GetDestinationZoneNumber( unsigned long &zoneNumber );
250 bool SetDestinationZoneNumber( const unsigned long zoneNumber );
251
252 bool GetDestinationSubZoneNumber( unsigned short &subZoneNumber );
253 bool SetDestinationSubZoneNumber( const unsigned short subZoneNumber );
254
255 bool GetPassNumber( unsigned long &passNumber );
256 bool SetPassNumber( const unsigned long passNumber );
257
258 // FIXME: JPI - this supose to be returned by price calculation
259 bool SetPriceListRow( unsigned short priceListRow );
260 bool GetPriceListRow( unsigned short &priceListRow );
261
264
265 bool SetFlagAllowIssueOnPortableEP( bool allowIssueOnPortableCard );
266 bool GetFlagAllowIssueOnPortableEP( bool &allowIssueOnPortableCard );
267
268 bool SetFlagShowConfirmationMessageOnPortableEP( bool showConfirmationMessage );
269 bool GetFlagShowConfirmationMessageOnPortableEP( bool &showConfirmationMessage );
270
273
274 bool SetFlagRepeatedCheckIn( bool repeatedCheckIn );
275 bool GetFlagRepeatedCheckIn( bool &repeatedCheckIn );
276
277 bool GetIds( unsigned short &ids ); //set-method is not provided because it's set everytime when tariff group is
278
280 bool SetCheckInBusStopFromCard( long lineOrderCheckInBussTop );
281
282 void SetCardTicketIndexToUse( long ticketIndex, EIssueLogicDefines::TicketIndexDetail ticketIndexDetail = EIssueLogicDefines::TicketIndexDetailNoDetail );
283 bool GetCardTicketIndexToUse( long &ticketIndex, EIssueLogicDefines::TicketIndexDetail &ticketIndexDetail ) const;
284
285 bool SetReclamationUID( long long uid );
286 bool GetReclamationUID( long long &uid );
287
290
291 bool SetFlagUseSubstituteTariffGroup( const bool useSubstituteTariffGroup );
292 bool GetFlagUseSubstituteTariffGroup( bool &useSubstituteTariffGroup ) const;
293
294 bool SetFlagExplicitlySelectedTariff( bool explicitlySelectedTariff );
295 bool GetFlagExplicitlySelectedTariff( bool &explicitlySelectedTariff ) const;
296
297 bool SetFlagIsAnyTimeTicketTemporallyValid( bool isAnyTimeTicketTemporallyValid );
298 bool GetFlagIsAnyTimeTicketTemporallyValid( bool &isAnyTimeTicketTemporallyValid ) const;
299
300 bool SetAlternativeTrip( unsigned long lineNumber, unsigned long tripNumber, long protectNumber, long lastBusStopTripOrder );
301 bool GetAlternativeTrip( EAlternativeTrip &alternativeTrip );
302
303 bool SetServiceCounter( unsigned char serviceCounter );
304 bool GetServiceCounter( unsigned char &serviceCounter );
305
306 bool SetPaperTicketID( long long paperTicketID );
307 bool GetPaperTicketID( long long &paperTicketID );
308
309 bool SetUnpaidExpenseData( long receivedCashPayment, long ticketsPrice );
310 bool GetUnpaidExpenseData( long &receivedCashPayment, long &ticketsPrice );
311
312 bool SetFlagForceNewOneWayTicket( bool forceNewOneWayTicket );
313 bool GetFlagForceNewOneWayTicket( bool &forceNewOneWayTicket );
314
315 bool SetFlagUseValidTimeTicketsInPriceCalculation( bool flagUseValidTimeTicketsInPriceCalculation );
316 bool GetFlagUseValidTimeTicketsInPriceCalculation( bool &flagUseValidTimeTicketsInPriceCalculation );
317
318 bool SetPriceListRowPreferenceByTimeValidity( const PriceListRowPreferenceByTimeValidity priceListRowPreferenceByTimeValidity );
319 bool GetPriceListRowPreferenceByTimeValidity( PriceListRowPreferenceByTimeValidity &priceListRowPreferenceByTimeValidity );
320
321 bool SetRegionalCodeForPriceCalculation( unsigned long regionalDiscountCodeForPriceCalculation );
322 bool GetRegionalCodeForPriceCalculation( unsigned long &regionalDiscountCodeForPriceCalculation );
323
324 bool SetFlagCreditRechargeWithCardActivation( bool flagCreditRechargeWithCardActivation );
325 bool GetFlagCreditRechargeWithCardActivation( bool &flagCreditRechargeWithCardActivation );
326
327 bool SetExplicitlySelectedZonesToPay( const std::list<unsigned long> &zonesToPay );
328 bool GetExplicitlySelectedZonesToPay( std::list<unsigned long> &zonesToPay ) const;
329
330 bool SetFlagCheckValidTimeTicketForExplicitlySelectedZones( const bool flagCheckValidTimeTicketForExplicitlySelectedZones );
331 bool GetFlagCheckValidTimeTicketForExplicitlySelectedZones( bool &flagCheckValidTimeTicketForExplicitlySelectedZones ) const;
332
333 bool SetFlagDontCheckTimeValidityWhileCalculationLastValidBusStop( bool flagDontCheckTimeValidityWhileCalculationLastValidBusStop );
334 bool GetFlagDontCheckTimeValidityWhileCalculationLastValidBusStop( bool &flagDontCheckTimeValidityWhileCalculationLastValidBusStop );
335
336 bool SetFlagUsePriceListRowFromFirstSegmentOnEverySegment( bool flagUsePriceListRowFromFirstSegmentOnEverySegment );
337 bool GetFlagUsePriceListRowFromFirstSegmentOnEverySegment( bool &flagUsePriceListRowFromFirstSegmentOnEverySegment );
338
340
342 bool GetEMVPaymentTransactionData( EIssueLogicDefines::EMVTransactionData emvTransactionDataId, QString &data );
343
344 bool SetFlagIgnoreAcceptanceTimeTickets( bool ignoreTimeTicketsInManualIssue );
345 bool GetFlagIgnoreAcceptanceTimeTickets( bool &ignoreTimeTicketsInManualIssue );
346
347 bool SetMultiplePassengerCountOnTimeTicket( unsigned short multiplePassengerCountOnTimeTicket );
348 bool GetMultiplePassengerCountOnTimeTicket( unsigned short &multiplePassengerCountOnTimeTicket ) const;
349
350 bool SetFlagPrintInterchangeTicket( bool flagPrintInterchangeTicket );
351 bool GetFlagPrintInterchangeTicket( bool &flagPrintInterchangeTicket ) const;
352
353 bool SetFlagTripOptimization( bool flagTripOptimization );
354 bool GetFlagTripOptimization( bool &flagTripOptimization ) const;
355
356 bool SetFlagIgnoreAcceptanceOfOneWayTicketsWithTimeValidity( bool ignoreAcceptanceOfOneWayTicketsWithTimeValidity );
357 bool GetFlagIgnoreAcceptanceOfOneWayTicketsWithTimeValidity( bool &ignoreAcceptanceOfOneWayTicketsWithTimeValidity ) const;
358 };
359 }
360}
361
362#endif // EISSUELOGICDATASTORAGE_H
#define DLL_API
Definition ECardFacadeDefines.h:8
Definition EAlternativeTrip.h:21
TicketIndexDetail
Definition ETicketIssueLogicDefines.h:363
TransferForAllTicketsOnCard
Definition ETicketIssueLogicDefines.h:283
OneWayTicketCardPositioning
Definition ETicketIssueLogicDefines.h:297
IssueType
Definition ETicketIssueLogicDefines.h:260
TripSectionType
Definition ETicketIssueLogicDefines.h:267
OperationType
Definition ETicketIssueLogicDefines.h:185
PaymentType
Definition ETicketIssueLogicDefines.h:165
EMVTransactionData
Definition ETicketIssueLogicDefines.h:409
ProlongTicketsTimeValidity
Definition ETicketIssueLogicDefines.h:290
Definition EModuleManager.h:12
Definition EMultipleTicket.h:32
This class allows access to ETicketIssueLogicOutputData.
Definition EOutputDataInternalManager.h:22
Definition ETicketIssueLogicDataStorage.h:55
bool GetIssueType(EIssueLogicDefines::IssueType &issueType)
bool GetFlagTripOptimization(bool &flagTripOptimization) const
bool SetTimeTicketCounter(unsigned char timeTicketCounter)
bool SetFlagExplicitlySelectedTariff(bool explicitlySelectedTariff)
bool SetFlagTransferForAllTicketsOnCard(EIssueLogicDefines::TransferForAllTicketsOnCard value)
bool GetFlagIgnoreAcceptanceTimeTickets(bool &ignoreTimeTicketsInManualIssue)
std::vector< IssuedTicket * > IssuedTicketCollection
Definition ETicketIssueLogicDataStorage.h:64
bool GetFlagDontCheckTimeValidityWhileCalculationLastValidBusStop(bool &flagDontCheckTimeValidityWhileCalculationLastValidBusStop)
bool GetTripOrderBusStopForCheckOut(long &busStopForCheckoutTripOrder)
bool GetUrbanTransportNumberOnBusStop(long busStopLineOrder, long &urbanTransportIdentificationNumber)
bool GetFlagUseValidTimeTicketsInPriceCalculation(bool &flagUseValidTimeTicketsInPriceCalculation)
bool SetFlagCreditRechargeWithCardActivation(bool flagCreditRechargeWithCardActivation)
bool GetFlagUsePriceListRowFromFirstSegmentOnEverySegment(bool &flagUsePriceListRowFromFirstSegmentOnEverySegment)
bool GetPurchasedTicketRegister(EPurchasedTicketRegister *&purchasedTicketRegister)
bool GetCheckInZoneBusStopID(unsigned long &checkInZoneBusStopID)
bool SetFlagIgnoreAcceptanceTimeTickets(bool ignoreTimeTicketsInManualIssue)
bool SetExplicitlySelectedZonesToPay(const std::list< unsigned long > &zonesToPay)
bool GetActualLine(Strojcek::VstupneUdaje::CestovnePoriadky::ELinka *&line)
bool GetValidTimeTicketIndexes(std::set< short > &validTimeTicketIndexes)
void Clear()
Function call in ETicketIssueLogic::ReInit function before ticket issue. After this function is possi...
bool GetTripSectionCount(unsigned char &sectionCount) const
bool SetDeviceSerialNumber(unsigned long serialNumber)
bool SetFlagUsePriceListRowFromFirstSegmentOnEverySegment(bool flagUsePriceListRowFromFirstSegmentOnEverySegment)
bool GetCheckOutBusStopID(unsigned long &checkOutBusStopID)
bool GetTariffGroup(Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *&tariffGroup)
bool GetPassNumber(unsigned long &passNumber)
bool SetTripOrderBusStopForCheckOut(const long busStopForCheckoutTripOrder)
bool GetLineOrderBusStopForCheckOut(long &orderOfBusStopForCheckOut)
bool SetUnpaidExpenseData(long receivedCashPayment, long ticketsPrice)
bool SetFlagDontCheckTimeValidityWhileCalculationLastValidBusStop(bool flagDontCheckTimeValidityWhileCalculationLastValidBusStop)
bool SetFlagForceNewOneWayTicket(bool forceNewOneWayTicket)
bool SetFlagTripOptimization(bool flagTripOptimization)
bool GetTimeTicketCounter(unsigned char &timeTicketCounter)
bool GetDestinationSubZoneNumber(unsigned short &subZoneNumber)
bool SetPaperTicketID(long long paperTicketID)
void AutoClear()
Function call automaticaly for each ticket issue or calculate price.
bool GetZoneFrom(unsigned short &zoneFrom)
bool PopMultipleTicket(EMultipleTicket *&multipleTicket)
bool SetAlternativeTrip(unsigned long lineNumber, unsigned long tripNumber, long protectNumber, long lastBusStopTripOrder)
bool GetTimeTicketValidityEnd(unsigned long &validityEnd)
bool GetMultiplePassengerCountOnTimeTicket(unsigned short &multiplePassengerCountOnTimeTicket) const
bool GetTripSectionList(const std::list< TripSection * > *&tripSectionList) const
bool GetFlagProlongTicketsTimeValidity(EIssueLogicDefines::ProlongTicketsTimeValidity &prolongTicketTimeValidity)
bool SetFlagShowConfirmationMessageOnPortableEP(bool showConfirmationMessage)
bool SetFlagUseValidTimeTicketsInPriceCalculation(bool flagUseValidTimeTicketsInPriceCalculation)
bool SetFlagCheckValidTimeTicketForExplicitlySelectedZones(const bool flagCheckValidTimeTicketForExplicitlySelectedZones)
void SetCrossTransfer(const EM::Strojcek::VstupneUdaje::EPrestupSpoj &crossTransfer)
bool GetTripOrderCheckInBusStop(long &checkInBusStopOrder)
bool GetTripOrderCheckOutBusStop(long &checkOutBusStopOrder)
bool GetAdvertisementEnabled(bool &enableAdvertisement)
bool SetPriceListRowPreferenceByTimeValidity(const PriceListRowPreferenceByTimeValidity priceListRowPreferenceByTimeValidity)
bool SetTimeTicketPreviousCounter(unsigned char timeTicketCounter)
bool SetPassNumber(const unsigned long passNumber)
bool SetOperationType(const EIssueLogicDefines::OperationType operationType)
bool GetPriceListRow(unsigned short &priceListRow)
bool SetMultiplePassengerCountOnTimeTicket(unsigned short multiplePassengerCountOnTimeTicket)
bool GetFlagCheckValidTimeTicketForExplicitlySelectedZones(bool &flagCheckValidTimeTicketForExplicitlySelectedZones) const
bool GetFlagTransferForAllTicketsOnCard(EIssueLogicDefines::TransferForAllTicketsOnCard &value)
bool SetCheckInBusStopFromCard(long lineOrderCheckInBussTop)
bool SetTimeTicketValidityStart(unsigned long validityStart)
bool SetActualLine(const Strojcek::VstupneUdaje::CestovnePoriadky::ELinka *line)
bool GetFlagAllowIssueOnPortableEP(bool &allowIssueOnPortableCard)
bool SetIssueType(EIssueLogicDefines::IssueType issueType)
bool GetAdditionalZones(std::list< unsigned long > &additionalZones)
bool GetOutputDataManager(EOutputDataInternalManager *&outputDataManager)
bool SetTimeTicketExtensionIndex(short timeTicketIndex)
bool GetDeviceSerialNumber(unsigned long &serialNumber)
bool SetCheckInZoneBusStopID(const unsigned long checkInZoneBusStopID)
bool GetMultipleTicketCount(unsigned char &ticketCount) const
bool GetCheckInBusStopID(unsigned long &checkInBusStopID)
bool SetCheckOutZoneBusStopID(const unsigned long checkOutZoneBusStopID)
bool SetCoinerOverfallValue(unsigned long coinerOverfallValue)
bool GetTariff(Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&tariff)
bool SetTariff(const Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff)
bool SetFlagPrintInterchangeTicket(bool flagPrintInterchangeTicket)
bool GetActualTrip(Strojcek::VstupneUdaje::CestovnePoriadky::ESpoj *&trip)
bool GetFlagExplicitlySelectedTariff(bool &explicitlySelectedTariff) const
bool GetBusStopForCheckOutID(unsigned long &busStopForCheckOutID)
bool SetFlagAllowIssueOnPortableEP(bool allowIssueOnPortableCard)
bool AddMultipleTicket(EMultipleTicket *multipleTicket)
bool GetActualIssuedTicket(IssuedTicket *&issuedTicket)
bool SetAdvertisementEnabled(bool enableAdvertisement)
bool SetDestinationZoneNumber(const unsigned long zoneNumber)
bool SetTariffGroup(const Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *tariffGroup)
bool GetFlagShowConfirmationMessageOnPortableEP(bool &showConfirmationMessage)
bool SetActualTrip(const Strojcek::VstupneUdaje::CestovnePoriadky::ESpoj *trip)
bool GetPaymentType(EIssueLogicDefines::PaymentType &paymentType)
bool SetTimeTicketValidityEnd(unsigned long validityEnd)
bool SetFlagUseSubstituteTariffGroup(const bool useSubstituteTariffGroup)
bool GetExplicitlySelectedZonesToPay(std::list< unsigned long > &zonesToPay) const
bool GetLineOrderCheckOutBusStop(long &checkOutBusStopOrder)
bool GetCrossTransfer(EM::Strojcek::VstupneUdaje::EPrestupSpoj &crossTransfer) const
bool SetPriceListRow(unsigned short priceListRow)
bool GetTimeTicketValidityStart(unsigned long &validityStart)
bool GetModuleManager(EModuleManager *&moduleManager)
bool GetTariffGroupNumber(unsigned short &tariffGroupNumber)
bool SetBusStopForCheckOutID(const unsigned long busStopForCheckOutID)
bool SetValidTimeTicketIndexes(const std::set< short > &validTimeTicketIndexes)
bool AddTripSection(const unsigned int starBusStop, const unsigned int endBusStop, const long oneWayTicketIndexToCard, const unsigned short tariffGroupOnSection, EIssueLogicDefines::TripSectionType sectionType, const std::list< unsigned long > &travelledZones=std::list< unsigned long >(), const short timeTicketIndex=-1, const unsigned char continuousTripOrder=0)
bool SetRegionalCodeForPriceCalculation(unsigned long regionalDiscountCodeForPriceCalculation)
bool GetRegionalCodeForPriceCalculation(unsigned long &regionalDiscountCodeForPriceCalculation)
bool GetKilometers(unsigned char &kilometers) const
bool GetIssuedTicketCollection(std::vector< IssuedTicket * > *&issuedTicketCollection)
bool GetMultipleTickets(std::list< EMultipleTicket * > &multipleTicketList) const
bool GetDeviceOrderNumber(unsigned char &orderNumber)
bool SetOneWayTicketCardPositioning(EIssueLogicDefines::OneWayTicketCardPositioning value)
bool GetFlagCreditRechargeWithCardActivation(bool &flagCreditRechargeWithCardActivation)
bool GetLineOrderCheckInBusStop(long &checkInBusStopOrder)
bool SetCancelationStatisticTicketNumber(const long cancelationStatisticTicketNumber)
bool GetOperationType(EIssueLogicDefines::OperationType &operationType)
bool SetCreditRecharge(unsigned long creditRecharge)
bool GetDestinationZoneNumber(unsigned long &zoneNumber)
bool GetFlagForceNewOneWayTicket(bool &forceNewOneWayTicket)
bool GetCheckInZone(unsigned short &checkinZone)
bool GetOneWayTicketCardPositioning(EIssueLogicDefines::OneWayTicketCardPositioning &value)
bool GetPriceListLogicDispatcher(PriceListLogicDispatcher *&priceListLogicDispatcher)
bool GetCheckOutZoneBusStopID(unsigned long &checkOutZoneBusStopID)
bool GetPriceListRowPreferenceByTimeValidity(PriceListRowPreferenceByTimeValidity &priceListRowPreferenceByTimeValidity)
bool SetTicketCount(const short ticketCount)
bool GetTimeTicketPreviousCounter(unsigned char &timeTicketCounter)
bool GetFlagPrintInterchangeTicket(bool &flagPrintInterchangeTicket) const
bool GetUnpaidExpenseData(long &receivedCashPayment, long &ticketsPrice)
bool SetTripOrderCheckOutBusStop(const long checkOutBusStopOrder)
void SetCardTicketIndexToUse(long ticketIndex, EIssueLogicDefines::TicketIndexDetail ticketIndexDetail=EIssueLogicDefines::TicketIndexDetailNoDetail)
bool AddIssuedTicket(IssuedTicket *issuedTicket)
bool GetCardWriteOperations(unsigned long &cardWriteOperations)
bool SetServiceCounter(unsigned char serviceCounter)
bool SetZoneList(const std::list< unsigned long > &zoneList)
bool SetSoldTimeTicketIndex(short timeTicketIndex)
bool GetCreditRecharge(unsigned long &creditRecharge)
bool GetCardTicketIndexToUse(long &ticketIndex, EIssueLogicDefines::TicketIndexDetail &ticketIndexDetail) const
bool GetFlagIsAnyTimeTicketTemporallyValid(bool &isAnyTimeTicketTemporallyValid) const
bool GetCheckOutZone(unsigned short &checkoutZone)
bool GetSoldTimeTicketIndex(short &timeTicketIndex)
bool SetAdditionalZones(const std::list< unsigned long > &additionalZones)
bool GetEMVPaymentTransactionData(EIssueLogicDefines::EMVTransactionData emvTransactionDataId, QString &data)
bool GetZoneList(std::list< unsigned long > &zoneList)
bool GetFlagUseSubstituteTariffGroup(bool &useSubstituteTariffGroup) const
bool SetKilometers(const unsigned char kilometers)
bool SetCardWriteOperations(unsigned long cardWriteOperations)
bool GetServiceCounter(unsigned char &serviceCounter)
bool GetPaperTicketID(long long &paperTicketID)
bool SetDeviceOrderNumber(unsigned char orderNumber)
bool SetFlagIgnoreAcceptanceOfOneWayTicketsWithTimeValidity(bool ignoreAcceptanceOfOneWayTicketsWithTimeValidity)
bool GetFlagRepeatedCheckIn(bool &repeatedCheckIn)
bool GetAlternativeTrip(EAlternativeTrip &alternativeTrip)
bool GetCoinerOverfallValue(unsigned long &coinerOverfallValue)
bool GetCancelationStatisticTicketNumber(long &cancelationStatisticTicketNumber) const
bool GetFlagIgnoreAcceptanceOfOneWayTicketsWithTimeValidity(bool &ignoreAcceptanceOfOneWayTicketsWithTimeValidity) const
bool SetTripOrderCheckInBusStop(const long checkInBusStopOrder)
bool SetEMVPaymentTransactionData(EIssueLogicDefines::EMVTransactionData emvTransactionDataId, QString data)
bool SetCheckInBusStopID(const unsigned long checkInBusStopID)
bool SetFlagProlongTicketsTimeValidity(EIssueLogicDefines::ProlongTicketsTimeValidity prolongTicketTimeValidity)
bool SetFlagIsAnyTimeTicketTemporallyValid(bool isAnyTimeTicketTemporallyValid)
bool SetPaymentType(const EIssueLogicDefines::PaymentType paymentType)
bool SetCheckOutBusStopID(const unsigned long checkOutBusStopID)
bool GetTimeTicketExtensionIndex(short &timeTicketIndex)
bool GetCheckInZone2(unsigned short &checkInZone2)
GetCheckInZone2 method is used in the case of border stops.
bool SetDestinationSubZoneNumber(const unsigned short subZoneNumber)
Definition IssuedTicket.h:34
Definition PriceListLogicDispatcher.h:26
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7