1 #ifndef _ISSUED_TICKET_H_
2 #define _ISSUED_TICKET_H_
4 #include "core/common/eplatform.h"
5 #include "../ETicketIssueLogicDefines.h"
17 namespace VstupneUdaje
19 class CappingInformationData;
21 namespace TarifnySystem
24 class ETarifnaSkupina;
29 namespace TicketIssueLogic
31 class ETicketIssueLogicDataStorage;
44 TicketFlagWasInterchange = 0x001,
45 TicketFlagInterchangableTicket = 0x002,
46 TicketFlagWasCheckOut = 0x004,
47 TicketFlagNetworkWideTicket = 0x008,
48 TicketFlagCanBePrinted = 0x010,
49 TicketFlagTimeTicketSell = 0x020,
50 TicketFlagFellowTravellerWriteOnCard = 0x040,
51 TicketFlagFellowTravellerWithoutWriteOnCard = 0x080,
52 TicketFlagFellowTraveller = TicketFlagFellowTravellerWriteOnCard | TicketFlagFellowTravellerWithoutWriteOnCard,
53 TicketFlagFreeJourneyOnOneWayTicketWithTimeValidity = 0x100,
54 TicketFlagTimeTicketSellWithRegionalDiscount = 0x200,
55 TicketFlagIsCappedPrice = 0x400
61 bool SetRepresentativeTariffData( Strojcek::VstupneUdaje::TarifnySystem::ETarifa *representastiveTariff, Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *representastiveTariffGroup );
62 bool GetRepresentativeTariff( Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&representativeTariff )
const;
63 bool GetRepresentativeTariffGroup( Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *&representativeTariffGroup )
const;
68 bool SetSummaryPrice(
const long summaryPrice );
69 bool GetSummaryPrice(
long &summaryPrice )
const;
72 bool SetBulkVat(
long bulkVat );
73 bool GetBulkVat(
long &bulkVat )
const;
75 bool SetVatRate(
long vatRate );
76 bool GetVatRate(
long &vatRate )
const;
78 bool SetSummaryTravelledZones(
const std::list< unsigned long > &travelledZones );
79 bool GetSummaryTravelledZones(
const std::list<unsigned long> *&travelledZones )
const;
81 bool SetRefundPrice(
long refundPrice );
82 bool GetRefundPrice(
long &refundPrice )
const;
84 bool SetTicketCount(
unsigned short ticketCount );
85 bool GetTicketCount(
unsigned short &ticketCount )
const;
90 bool SetIndexOfAppliedDiscountCoupon(
const long discountCouponIndex );
91 bool GetIndexOfAppliedDiscountCoupon(
long &discountCouponIndex )
const;
96 bool SetOneWayTicketIndexOnCard(
const long oneWayTicketIndexOnCard );
97 bool GetOneWayTicketIndexOnCard(
long &oneWayTicketIndexOnCard )
const;
99 bool SetUsedCustomerProfileIndex(
const unsigned char usedCustomerProfileIndex );
100 bool GetUsedCustomerProfileIndex(
unsigned char &usedCustomerProfileIndex )
const;
102 bool SetStartBusStopLineOrder(
const unsigned long startBusStopLineOrder );
103 bool GetStartBusStopLineOrder(
unsigned long &startBusStopLineOrder )
const;
105 bool SetEndBusStopLineOrder(
const unsigned long endBusStopLineOrder );
106 bool GetEndBusStopLineOrder(
unsigned long &endBusStopLineOrder )
const;
108 bool SetTimeValidity(
const unsigned long timeValidityStart,
const unsigned long timeValidityEnd );
109 bool GetTimeValidity(
unsigned long &timeValidityStart,
unsigned long &timeValidityEnd )
const;
111 bool SetPriceListRowNumber(
const unsigned short priceListRow );
112 bool GetPriceListRowNumber(
unsigned short &priceListRow )
const;
114 bool SetTicketNumber(
unsigned long ticketNumber );
115 bool GetTicketNumber(
unsigned long &ticketNumber )
const;
121 bool SetPrinterTemplateID(
long printerTemplateID );
127 bool GetPrinterTemplateID(
long &printerTemplateID );
136 bool SetAdjustedTimeTicketPriceAfterRegionalDiscount(
long adjustedTimeTicketPriceAfterRegionalDiscount )
const;
137 bool GetAdjustedTimeTicketPriceAfterRegionalDiscount(
long &adjustedTimeTicketPriceAfterRegionalDiscount );
140 bool GetIssuedTicketSegments( std::list<IssuedTicketSegment *> *&issuedTicketSegments );
142 bool SetCappingInformationData( Strojcek::VstupneUdaje::CappingInformationData cappingInformationData );
143 bool GetCappingInformationData( Strojcek::VstupneUdaje::CappingInformationData &cappingInformationData );
145 bool SetCashPriceRounding(
const long cashPriceRounding );
146 bool GetCashPriceRounding(
long &cashPriceRounding )
const;
153 #endif // _ISSUED_TICKET_H_
IssuedTicketSegmentType
Definition: IssuedTicketSegment.h:37
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
Definition: IssuedTicketSegment.h:28
PaymentType
Definition: ETicketIssueLogicDefines.h:160
IssuedTicketFlags
Definition: IssuedTicket.h:42
__ECLASS DataClass
Definition: EEventUpdateCustomerData.h:35
Definition: IssuedTicket.h:33
#define DLL_API
Definition: ECardFacadeDefines.h:8
Definition: ETicketIssueLogicDataStorage.h:51
SYSTEM INCLUDES.
Definition: CardFacadeManagerXML.h:6