AppCore
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
EM::TicketIssueLogic::IssuedTicketSegment Class Reference

#include <IssuedTicketSegment.h>

Classes

class  DataClass
 

Public Types

enum  IssuedTicketSegmentFlags { TicketFlagAdditionalZones = 0x001 , TicketFlagKilometersFree = 0x002 }
 
enum  IssuedTicketSegmentType {
  TypeUndefined = 0 , TypeCommon = 1 , TypeTimeTicket = 2 , TypeCreditRecharge = 3 ,
  TypeCardUsingFee = 4 , TypeRegistrationTicket = 5
}
 

Public Member Functions

 IssuedTicketSegment (IssuedTicket *issuedTicket)
 
 ~IssuedTicketSegment ()
 
IssuedTicketGetOwner ()
 
bool SetTariffDataAndEvaluateTicketType (Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff, Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *tariffGroup)
 
bool GetTariff (Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&tariff) const
 
bool GetTariffGroup (Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *&tariffGroup) const
 
bool GetSegmentType (IssuedTicketSegment::IssuedTicketSegmentType &segmentType)
 
bool SetSegmentPrice (long segmentPrice)
 
bool GetSegmentPrice (long &segmentPrice) const
 
bool SetDistanceForPay (const long distanceForPay)
 
bool GetDistanceForPay (long &distanceForPay) const
 
bool SetTravelledZones (const std::list< unsigned long > &travelledZones)
 
bool GetTravelledZones (const std::list< unsigned long > *&travelledZones) const
 
bool SetTravelTime (const long travelTime)
 
bool GetTravelTime (long &travelTime)
 
bool SetPriceListRowNumber (const unsigned short priceListRow)
 
bool GetPriceListRowNumber (unsigned short &priceListRow) const
 
bool SetTimeTicketIndexOnCard (const short timeTicketIndexOnCard)
 
bool GetTimeTicketIndexOnCard (short &timeTicketIndexOnCard) const
 
bool SetValidOneWayTicketIndexOnCard (const signed char oneWayTicketIndex)
 
bool GetValidOneWayTicketIndexOnCard (signed char &oneWayTicketIndex) const
 
bool SetSegmentStartBusStopLineOrder (const unsigned long segmentStartBusStopLineOrder)
 
bool GetSegmentStartBusStopLineOrder (unsigned long &segmentStartBusStopLineOrder) const
 
bool SetSegmentEndBusStopLineOrder (const unsigned long segmentEndBusStopLineOrder)
 
bool GetSegmentEndBusStopLineOrder (unsigned long &segmentEndBusStopLineOrder) const
 
bool SetContinuousTripOrder (const unsigned char continuousTripOrder)
 
bool GetContinuousTripOrder (unsigned char &continuousTripOrder) const
 
bool IsNextSegmentContinuous (bool &isNextSegmentContinuous) const
 
bool ExistsNextSegment (bool &existsNextSegment) const
 
bool SetVATRate (long vatRate)
 
bool GetVATRate (long &vatRate) const
 
bool SetBulkVATValue (long bulkVatValue)
 
bool GetBulkVATValue (long &bulkVatValue) const
 
bool SetTicketNumber (unsigned long ticketNumber)
 
bool SetTicketSegmentFlag (IssuedTicketSegment::IssuedTicketSegmentFlags flag)
 
void IsSetTicketSegmentFlag (IssuedTicketSegment::IssuedTicketSegmentFlags flag, bool &isSet) const
 
bool GetCalculatePriceResultCollection (EHead *&calculatePriceResultcollection) const
 
bool SetCalculatePriceResultCollection (const EHead *calculatePriceResultcollection)
 
bool GetUsedCustomerProfileIndex (unsigned char &usedCustomerProfileIndex) const
 
unsigned char GetCurrencyID ()
 
void PrintToLog ()
 

Detailed Description

Examples
/var/jenkins_home/git/VehicleSystem_IntegrationTesting/AppCore/src/appcore/ticketissuelogic/modules/EWalletModule.h.

Member Enumeration Documentation

◆ IssuedTicketSegmentFlags

Enumerator
TicketFlagAdditionalZones 
TicketFlagKilometersFree 

◆ IssuedTicketSegmentType

Enumerator
TypeUndefined 
TypeCommon 
TypeTimeTicket 
TypeCreditRecharge 
TypeCardUsingFee 
TypeRegistrationTicket 

Constructor & Destructor Documentation

◆ IssuedTicketSegment()

IssuedTicketSegment::IssuedTicketSegment ( IssuedTicket issuedTicket)

◆ ~IssuedTicketSegment()

IssuedTicketSegment::~IssuedTicketSegment ( )

Member Function Documentation

◆ ExistsNextSegment()

bool IssuedTicketSegment::ExistsNextSegment ( bool &  existsNextSegment) const
Here is the caller graph for this function:

◆ GetBulkVATValue()

bool IssuedTicketSegment::GetBulkVATValue ( long &  bulkVatValue) const
Here is the caller graph for this function:

◆ GetCalculatePriceResultCollection()

bool IssuedTicketSegment::GetCalculatePriceResultCollection ( EHead *&  calculatePriceResultcollection) const
Here is the caller graph for this function:

◆ GetContinuousTripOrder()

bool IssuedTicketSegment::GetContinuousTripOrder ( unsigned char &  continuousTripOrder) const
Here is the caller graph for this function:

◆ GetCurrencyID()

unsigned char IssuedTicketSegment::GetCurrencyID ( )
Here is the caller graph for this function:

◆ GetDistanceForPay()

bool IssuedTicketSegment::GetDistanceForPay ( long &  distanceForPay) const
Here is the caller graph for this function:

◆ GetOwner()

IssuedTicket * IssuedTicketSegment::GetOwner ( )
Here is the caller graph for this function:

◆ GetPriceListRowNumber()

bool IssuedTicketSegment::GetPriceListRowNumber ( unsigned short &  priceListRow) const

◆ GetSegmentEndBusStopLineOrder()

bool IssuedTicketSegment::GetSegmentEndBusStopLineOrder ( unsigned long &  segmentEndBusStopLineOrder) const
Here is the caller graph for this function:

◆ GetSegmentPrice()

bool IssuedTicketSegment::GetSegmentPrice ( long &  segmentPrice) const
Here is the caller graph for this function:

◆ GetSegmentStartBusStopLineOrder()

bool IssuedTicketSegment::GetSegmentStartBusStopLineOrder ( unsigned long &  segmentStartBusStopLineOrder) const
Here is the caller graph for this function:

◆ GetSegmentType()

bool IssuedTicketSegment::GetSegmentType ( IssuedTicketSegment::IssuedTicketSegmentType segmentType)
Here is the caller graph for this function:

◆ GetTariff()

bool IssuedTicketSegment::GetTariff ( Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&  tariff) const
Here is the caller graph for this function:

◆ GetTariffGroup()

bool IssuedTicketSegment::GetTariffGroup ( Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *&  tariffGroup) const
Here is the caller graph for this function:

◆ GetTimeTicketIndexOnCard()

bool IssuedTicketSegment::GetTimeTicketIndexOnCard ( short &  timeTicketIndexOnCard) const
Here is the caller graph for this function:

◆ GetTravelledZones()

bool IssuedTicketSegment::GetTravelledZones ( const std::list< unsigned long > *&  travelledZones) const
Here is the caller graph for this function:

◆ GetTravelTime()

bool IssuedTicketSegment::GetTravelTime ( long &  travelTime)

◆ GetUsedCustomerProfileIndex()

bool IssuedTicketSegment::GetUsedCustomerProfileIndex ( unsigned char &  usedCustomerProfileIndex) const
Here is the caller graph for this function:

◆ GetValidOneWayTicketIndexOnCard()

bool IssuedTicketSegment::GetValidOneWayTicketIndexOnCard ( signed char &  oneWayTicketIndex) const
Here is the caller graph for this function:

◆ GetVATRate()

bool IssuedTicketSegment::GetVATRate ( long &  vatRate) const
Here is the caller graph for this function:

◆ IsNextSegmentContinuous()

bool IssuedTicketSegment::IsNextSegmentContinuous ( bool &  isNextSegmentContinuous) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsSetTicketSegmentFlag()

void IssuedTicketSegment::IsSetTicketSegmentFlag ( IssuedTicketSegment::IssuedTicketSegmentFlags  flag,
bool &  isSet 
) const
Here is the caller graph for this function:

◆ PrintToLog()

void IssuedTicketSegment::PrintToLog ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetBulkVATValue()

bool IssuedTicketSegment::SetBulkVATValue ( long  bulkVatValue)
Here is the caller graph for this function:

◆ SetCalculatePriceResultCollection()

bool IssuedTicketSegment::SetCalculatePriceResultCollection ( const EHead *  calculatePriceResultcollection)
Here is the caller graph for this function:

◆ SetContinuousTripOrder()

bool IssuedTicketSegment::SetContinuousTripOrder ( const unsigned char  continuousTripOrder)

◆ SetDistanceForPay()

bool IssuedTicketSegment::SetDistanceForPay ( const long  distanceForPay)
Here is the caller graph for this function:

◆ SetPriceListRowNumber()

bool IssuedTicketSegment::SetPriceListRowNumber ( const unsigned short  priceListRow)
Here is the caller graph for this function:

◆ SetSegmentEndBusStopLineOrder()

bool IssuedTicketSegment::SetSegmentEndBusStopLineOrder ( const unsigned long  segmentEndBusStopLineOrder)
Here is the caller graph for this function:

◆ SetSegmentPrice()

bool IssuedTicketSegment::SetSegmentPrice ( long  segmentPrice)
Here is the caller graph for this function:

◆ SetSegmentStartBusStopLineOrder()

bool IssuedTicketSegment::SetSegmentStartBusStopLineOrder ( const unsigned long  segmentStartBusStopLineOrder)
Here is the caller graph for this function:

◆ SetTariffDataAndEvaluateTicketType()

bool IssuedTicketSegment::SetTariffDataAndEvaluateTicketType ( Strojcek::VstupneUdaje::TarifnySystem::ETarifa *  tariff,
Strojcek::VstupneUdaje::TarifnySystem::ETarifnaSkupina *  tariffGroup 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTicketNumber()

bool EM::TicketIssueLogic::IssuedTicketSegment::SetTicketNumber ( unsigned long  ticketNumber)

◆ SetTicketSegmentFlag()

bool IssuedTicketSegment::SetTicketSegmentFlag ( IssuedTicketSegment::IssuedTicketSegmentFlags  flag)

◆ SetTimeTicketIndexOnCard()

bool IssuedTicketSegment::SetTimeTicketIndexOnCard ( const short  timeTicketIndexOnCard)
Here is the caller graph for this function:

◆ SetTravelledZones()

bool IssuedTicketSegment::SetTravelledZones ( const std::list< unsigned long > &  travelledZones)
Here is the caller graph for this function:

◆ SetTravelTime()

bool IssuedTicketSegment::SetTravelTime ( const long  travelTime)

◆ SetValidOneWayTicketIndexOnCard()

bool IssuedTicketSegment::SetValidOneWayTicketIndexOnCard ( const signed char  oneWayTicketIndex)
Here is the caller graph for this function:

◆ SetVATRate()

bool IssuedTicketSegment::SetVATRate ( long  vatRate)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: