AppCore
Loading...
Searching...
No Matches
DataForPriceCalculation.h
Go to the documentation of this file.
1#ifndef DATAFORPRICECALCULATION_H
2#define DATAFORPRICECALCULATION_H
3
4// SYSTEM INCLUDES
5#include <set>
6
7// BASE INCLUDES
8#include "IssuedTicket.h"
9
10namespace EM
11{
12 namespace Strojcek
13 {
14 namespace VstupneUdaje
15 {
16 namespace TarifnySystem
17 {
18 class ETarifa;
19 class ETarifnaSkupina;
20 }
21 }
22 }
23
24 namespace TicketIssueLogic
25 {
26
28 {
30
31 class DataClass;
32 DataClass *d;
33
35
36 public:
39
40 bool Init( ETicketIssueLogicDataStorage *dataStorage );
41 bool Init(IssuedTicketSegment *issuedTicketSegment );
42
43 void SetTariff( EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff );
44 void SetTariffGroup( EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *tariffGroup );
45 void SetStartBusStopLineOrder( const long startBusStopLineOrder );
46 void SetEndBusStopLineOrder( const long endBusStopLineOrder );
47 void SetDistanceForPriceCalculation( const long distance );
48 void SetZonesForPriceCalculation( const std::list<unsigned long> &zones );
50 void SetTravelTimeOfPaidIssuedTicketSegments( const long travelTime );
51 void SetRegionalDiscountCodeForTimeTicketSell( const unsigned long regionalCodeForTimeTicketSell );
52 void SetPriceListRowNumber( const unsigned short priceListRowNumber );
53
54 EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *GetTariff() const;
55 EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *GetTariffGroup() const;
59 const std::list<unsigned long> &GetZonesForPriceCalculation() const;
63 unsigned short GetPriceListRowNumber() const;
64 };
65
66 }
67}
68
69#endif // DATAFORPRICECALCULATION_H
Definition DataForPriceCalculation.h:28
void SetPriceComputeUnit(EIssueLogicDefines::PriceComputeUnit priceComputeUnit)
void SetTariff(EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff)
void SetTravelTimeOfPaidIssuedTicketSegments(const long travelTime)
void SetZonesForPriceCalculation(const std::list< unsigned long > &zones)
void SetTariffGroup(EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *tariffGroup)
EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina * GetTariffGroup() const
bool Init(ETicketIssueLogicDataStorage *dataStorage)
EIssueLogicDefines::PriceComputeUnit GetPriceComputeUnit() const
unsigned long GetRegionalDiscountCodeForTimeTicketSell() const
void SetDistanceForPriceCalculation(const long distance)
void SetStartBusStopLineOrder(const long startBusStopLineOrder)
void SetEndBusStopLineOrder(const long endBusStopLineOrder)
void SetPriceListRowNumber(const unsigned short priceListRowNumber)
const std::list< unsigned long > & GetZonesForPriceCalculation() const
EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa * GetTariff() const
bool Init(IssuedTicketSegment *issuedTicketSegment)
void SetRegionalDiscountCodeForTimeTicketSell(const unsigned long regionalCodeForTimeTicketSell)
PriceComputeUnit
Definition ETicketIssueLogicDefines.h:369
Definition ETicketIssueLogicDataStorage.h:52
Definition IssuedTicketSegment.h:29
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7