1 #ifndef CARDBUSINESSLOGIC_H
2 #define CARDBUSINESSLOGIC_H
6 #include "core/common/eplatform.h"
7 #include "appcore/ticketissuelogic/ETicketIssueLogicDefines.h"
8 #include "appcore/cardfacade/ECardFacadeDefines.h"
14 namespace VstupneUdaje
16 class CappingInformationData;
18 namespace TarifnySystem
25 namespace TicketIssueLogic
47 DEPRECATED(
static bool GetValidCustomerProfileIndex(
unsigned char &profileIndex,
const unsigned short cardType, EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff ) );
56 static bool IsCustomerProfileValidByTariff(
unsigned char profileIndex,
const unsigned short cardType, EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff );
64 static EIssueLogicDefines::ReturnValues CheckCardNetworkWithTariffNetwork( EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *ticketTariff,
bool &machingNetwork );
67 static bool GetDiscountTypeByCardType(
unsigned char cardTypeID,
bool timeTicket,
unsigned char &discountType );
73 DEPRECATED(
static bool GetCustomerProfileName( EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff, std::string &customerProfile ) );
81 static bool GetCustomerProfileName(
unsigned char customerProfileIndex, std::string &customerProfile );
83 static bool GetNameAndSurname( std::string &name, std::string &surname, std::string &codecName,
bool &showingEnabled );
85 static bool GetBornNumber(
unsigned short &year,
unsigned short &month,
unsigned short &day,
bool &showingEnabled );
105 static bool GetWalletBalanceText( std::string &walletBalance );
112 static bool IsHomeCompanyCard(
bool &isHomeCompanyCard );
171 static EIssueLogicDefines::ReturnValues GetCustomerProfileValidity(
unsigned long &customerProfileValidityStart,
unsigned long &customerProfileValidityEnd,
const unsigned char customerProfileIndex );
176 static bool IsCityCard();
211 static EIssueLogicDefines::ReturnValues GetOneWayTicketPriceListRowFromCard(
unsigned char ticketIndex,
unsigned long itsNumber, Strojcek::VstupneUdaje::TarifnySystem::ETarifnePasmo *&priceListRow );
229 static EIssueLogicDefines::ReturnValues IsAnyCustomerProfileValid(
unsigned char &firstValidCustomerProfile,
unsigned long timeToCompareProfileValidityTo = 0 );
239 static EIssueLogicDefines::ReturnValues IsCustomerProfileValidByDate(
unsigned char customerProfileIndex,
unsigned long timeToCompareProfileValidityTo = 0 );
301 static EIssueLogicDefines::ReturnValues GetCappingInformation(
unsigned short ids, Strojcek::VstupneUdaje::CappingInformationData &cappingInformationData );
330 static bool IsCustomerProfileValidityException(
const unsigned char customerProfileIndex );
332 static bool GetTariffDetails( Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff,
unsigned char &tariffDiscountType,
bool &isTimeTicketTariff );
337 #endif // CARDBUSINESSLOGIC_H
unsigned char GetCardTypeID()
CardFacadeType
Definition: ECardFacadeDefines.h:161
ReturnValues
Definition: ETicketIssueLogicDefines.h:49
#define DLL_API
Definition: ECardFacadeDefines.h:8
SYSTEM INCLUDES.
Definition: CardFacadeManagerXML.h:6
Definition: ECardBusinessLogic.h:27
#define DEPRECATED(func)
Definition: stdafx.h:77
CardTypeStandard
Definition: ECardFacadeDefines.h:247