|
AppCore
|
#include <ECardBusinessLogic.h>
Public Member Functions | |
| ~ECardBusinessLogic () | |
| DEPRECATED (static bool GetValidCustomerProfileIndex(unsigned char &profileIndex, const unsigned short cardType, EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff)) | |
| DEPRECATED (static bool GetCustomerProfileName(EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff, std::string &customerProfile)) | |
| ~ECardBusinessLogic () | |
| DEPRECATED (static bool GetValidCustomerProfileIndex(unsigned char &profileIndex, const unsigned short cardType, EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff)) | |
| DEPRECATED (static bool GetCustomerProfileName(EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff, std::string &customerProfile)) | |
Static Public Member Functions | |
| static EIssueLogicDefines::ReturnValues | GetDepartmentNumberFromCard (unsigned long &departmentNumber) |
| Function gets department number from card (or from purse) More... | |
| static bool | IsCustomerProfileValidByTariff (unsigned char profileIndex, const unsigned short cardType, EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff) |
| Checks if customer profile on specified index can use specified tariff. More... | |
| static EIssueLogicDefines::ReturnValues | CheckCardNetworkWithTariffNetwork (EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *ticketTariff, bool &machingNetwork) |
| check if the network on card is the same for selling tariff More... | |
| static bool | GetDiscountTypeByCardType (unsigned short cardType, EM::CardFacade::ECardFacadeDefines::CardTypeStandard standard, bool timeTicket, unsigned char &discountType) |
| static bool | GetDiscountTypeByCardType (unsigned char cardTypeID, bool timeTicket, unsigned char &discountType) |
| static bool | GetCustomerProfileName (unsigned char customerProfileIndex, std::string &customerProfile) |
| Get name of card type (text representation of card type) More... | |
| static bool | GetNameAndSurname (std::string &name, std::string &surname, std::string &codecName, bool &showingEnabled) |
| static bool | GetBornNumber (unsigned short &year, unsigned short &month, unsigned short &day, bool &showingEnabled) |
| static EIssueLogicDefines::ReturnValues | GetCardTypeID (unsigned char &cardTypeID, unsigned char validCustomerProfileIndex) |
| Get card type ID by card type and card standard from card facade. More... | |
| static EIssueLogicDefines::ReturnValues | GetCardType (unsigned short &cardType, const unsigned char validCustomerProfileIndex) |
| GetCardType - method returns card type (NOT card type ID) at desired customer profile index. More... | |
| static bool | GetWalletBalanceText (std::string &walletBalance) |
| Get balance of electronic wallet on card in form of "amount currency". More... | |
| static bool | IsHomeCompanyCard (bool &isHomeCompanyCard) |
| IsHomeCompanyCard. More... | |
| static EIssueLogicDefines::ReturnValues | IsAllowedCompanyCard (bool &isAllowedCompanyCard) |
| IsAllowedCompanyCard. More... | |
| static EIssueLogicDefines::ReturnValues | IsSupportedLineTripProtectNumberOnCard (bool &isSupportedFlagsOnCard) |
| IsSupportedLineTripProtectNumberOnCard - Function checks feature on card. More... | |
| static EIssueLogicDefines::ReturnValues | GetCardNetworkID (unsigned long &cardNetworkID) |
| GetCardNetworkID - gains network ID from country code and netwrok on card. More... | |
| static EIssueLogicDefines::ReturnValues | IsSupportedProfileValidityStartOnCard (bool &isSupportedProfileValidityStart) |
| IsSupportedProfileValidityStartOnCard. More... | |
| static EIssueLogicDefines::ReturnValues | GetCustomerProfileValidity (unsigned long &customerProfileValidityStart, unsigned long &customerProfileValidityEnd, const unsigned char customerProfileIndex) |
| Wrapper for customer profile validity on card. More... | |
| static bool | IsCityCard () |
| Checks city code flag on card( SCS strcuture EAppIssuer::Get/Set IssuerType, ECardDataFacadeCommon::GetAppIssuerType ). Currently is supported only code 0x40. More... | |
| static EIssueLogicDefines::ReturnValues | GetTariffFromCard (CardFacade::ECardFacadeDefines::CardFacadeType facadeType, unsigned char ticketIndex, bool timeTicket, unsigned long itsNumber, Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&tariff) |
| GetTariffFromCard - Get tariff from card by ticketIndex. More... | |
| static EIssueLogicDefines::ReturnValues | GetOneWayTicketPriceListRowFromCard (unsigned char ticketIndex, unsigned long itsNumber, Strojcek::VstupneUdaje::TarifnySystem::ETarifnePasmo *&priceListRow) |
| GetOneWayTicketPriceListRowFromCard - Get priceListRow from card with OneWayTicket. More... | |
| static EIssueLogicDefines::ReturnValues | IsAllowedCardTypeForCardActivation (bool &isAllowedCardTypeForCardActivation) |
| IsAllowedCardTypeForCardActivation. More... | |
| static EIssueLogicDefines::ReturnValues | IsAnyCustomerProfileValid (unsigned char &firstValidCustomerProfile, unsigned long timeToCompareProfileValidityTo=0) |
| IsAnyCustomerProfileValid - loops all customer profiles on card and checks their time validity. More... | |
| static EIssueLogicDefines::ReturnValues | IsCustomerProfileValidByDate (unsigned char customerProfileIndex, unsigned long timeToCompareProfileValidityTo=0) |
| IsCustomerProfileValidByDate - checks time validity of a customer profile on given index. More... | |
| static EIssueLogicDefines::ReturnValues | EvaluateCardTypeForInvalidCustomerProfile (unsigned short &cardType) |
| EvaluateCardTypeForInvalidCustomerProfile - evaluates tariff system settings for invalid customer profiles. More... | |
| static EIssueLogicDefines::ReturnValues | IsAnyValidFareProviderForCurrentCompanyNumber () |
| IsAnyValidFareProviderForCurrentCompanyNumber - checks if there are valid commonData and if all virtual card slots are used. More... | |
| static EIssueLogicDefines::ReturnValues | GetNIDFromTimeTicket (const unsigned char timeTicketIndex, unsigned long &timeTicketNID) |
| GetNIDFromTimeTicket - check if time ticket supports network id (NID), then calculate NID from country code and network code. More... | |
| static EIssueLogicDefines::ReturnValues | GetNIDFromOneWayTicket (const unsigned char oneWayTicketIndex, unsigned long &oneWayTicketNID) |
| GetNIDFromOneWayTicket - calculates network ID from country code and network code. More... | |
| static EIssueLogicDefines::ReturnValues | GetUTNFromTimeTicket (const unsigned char timeTicketIndex, long &urbanTransportNumber) |
| GetUTNFromTimeTicket - check if time ticket supports urban transport number (UTN), return UTN if yes. More... | |
| static EIssueLogicDefines::ReturnValues | CheckCardWalletISOPayUnitCodeValidity (bool &walletPayUnitValidity) |
| CheckCardWalletISOPayUnitCodeValidity - check if card has wallet with valid ISO pay unit code. More... | |
| static EIssueLogicDefines::ReturnValues | GetCappingInformation (unsigned short ids, Strojcek::VstupneUdaje::CappingInformationData &cappingInformationData) |
| GetCappingInformation - gains capping information data from tariff system and from card data structures. More... | |
| static EIssueLogicDefines::ReturnValues | GetDepartmentNumberFromCard (unsigned long &departmentNumber) |
| Function gets department number from card (or from purse) More... | |
| static bool | IsCustomerProfileValidByTariff (unsigned char profileIndex, const unsigned short cardType, EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff) |
| Checks if customer profile on specified index can use specified tariff. More... | |
| static EIssueLogicDefines::ReturnValues | CheckCardNetworkWithTariffNetwork (EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *ticketTariff, bool &machingNetwork) |
| check if the network on card is the same for selling tariff More... | |
| static bool | GetDiscountTypeByCardType (unsigned short cardType, EM::CardFacade::ECardFacadeDefines::CardTypeStandard standard, bool timeTicket, unsigned char &discountType) |
| static bool | GetDiscountTypeByCardType (unsigned char cardTypeID, bool timeTicket, unsigned char &discountType) |
| static bool | GetCustomerProfileName (unsigned char customerProfileIndex, std::string &customerProfile) |
| Get name of card type (text representation of card type) More... | |
| static bool | GetNameAndSurname (std::string &name, std::string &surname, std::string &codecName, bool &showingEnabled) |
| static bool | GetBornNumber (unsigned short &year, unsigned short &month, unsigned short &day, bool &showingEnabled) |
| static EIssueLogicDefines::ReturnValues | GetCardTypeID (unsigned char &cardTypeID, unsigned char validCustomerProfileIndex) |
| Get card type ID by card type and card standard from card facade. More... | |
| static EIssueLogicDefines::ReturnValues | GetCardType (unsigned short &cardType, const unsigned char validCustomerProfileIndex) |
| GetCardType - method returns card type (NOT card type ID) at desired customer profile index. More... | |
| static bool | GetWalletBalanceText (std::string &walletBalance) |
| Get balance of electronic wallet on card in form of "amount currency". More... | |
| static bool | IsHomeCompanyCard (bool &isHomeCompanyCard) |
| IsHomeCompanyCard. More... | |
| static EIssueLogicDefines::ReturnValues | IsAllowedCompanyCard (bool &isAllowedCompanyCard) |
| IsAllowedCompanyCard. More... | |
| static EIssueLogicDefines::ReturnValues | IsSupportedLineTripProtectNumberOnCard (bool &isSupportedFlagsOnCard) |
| IsSupportedLineTripProtectNumberOnCard - Function checks feature on card. More... | |
| static EIssueLogicDefines::ReturnValues | GetCardNetworkID (unsigned long &cardNetworkID) |
| GetCardNetworkID - gains network ID from country code and netwrok on card. More... | |
| static EIssueLogicDefines::ReturnValues | IsSupportedProfileValidityStartOnCard (bool &isSupportedProfileValidityStart) |
| IsSupportedProfileValidityStartOnCard. More... | |
| static EIssueLogicDefines::ReturnValues | GetCustomerProfileValidity (unsigned long &customerProfileValidityStart, unsigned long &customerProfileValidityEnd, const unsigned char customerProfileIndex) |
| Wrapper for customer profile validity on card. More... | |
| static bool | IsCityCard () |
| Checks city code flag on card( SCS strcuture EAppIssuer::Get/Set IssuerType, ECardDataFacadeCommon::GetAppIssuerType ). Currently is supported only code 0x40. More... | |
| static EIssueLogicDefines::ReturnValues | GetTariffFromCard (CardFacade::ECardFacadeDefines::CardFacadeType facadeType, unsigned char ticketIndex, bool timeTicket, unsigned long itsNumber, Strojcek::VstupneUdaje::TarifnySystem::ETarifa *&tariff) |
| GetTariffFromCard - Get tariff from card by ticketIndex. More... | |
| static EIssueLogicDefines::ReturnValues | GetOneWayTicketPriceListRowFromCard (unsigned char ticketIndex, unsigned long itsNumber, Strojcek::VstupneUdaje::TarifnySystem::ETarifnePasmo *&priceListRow) |
| GetOneWayTicketPriceListRowFromCard - Get priceListRow from card with OneWayTicket. More... | |
| static EIssueLogicDefines::ReturnValues | IsAllowedCardTypeForCardActivation (bool &isAllowedCardTypeForCardActivation) |
| IsAllowedCardTypeForCardActivation. More... | |
| static EIssueLogicDefines::ReturnValues | IsAnyCustomerProfileValid (unsigned char &firstValidCustomerProfile, unsigned long timeToCompareProfileValidityTo=0) |
| IsAnyCustomerProfileValid - loops all customer profiles on card and checks their time validity. More... | |
| static EIssueLogicDefines::ReturnValues | IsCustomerProfileValidByDate (unsigned char customerProfileIndex, unsigned long timeToCompareProfileValidityTo=0) |
| IsCustomerProfileValidByDate - checks time validity of a customer profile on given index. More... | |
| static EIssueLogicDefines::ReturnValues | EvaluateCardTypeForInvalidCustomerProfile (unsigned short &cardType) |
| EvaluateCardTypeForInvalidCustomerProfile - evaluates tariff system settings for invalid customer profiles. More... | |
| static EIssueLogicDefines::ReturnValues | IsAnyValidFareProviderForCurrentCompanyNumber () |
| IsAnyValidFareProviderForCurrentCompanyNumber - checks if there are valid commonData and if all virtual card slots are used. More... | |
| static EIssueLogicDefines::ReturnValues | GetNIDFromTimeTicket (const unsigned char timeTicketIndex, unsigned long &timeTicketNID) |
| GetNIDFromTimeTicket - check if time ticket supports network id (NID), then calculate NID from country code and network code. More... | |
| static EIssueLogicDefines::ReturnValues | GetNIDFromOneWayTicket (const unsigned char oneWayTicketIndex, unsigned long &oneWayTicketNID) |
| GetNIDFromOneWayTicket - calculates network ID from country code and network code. More... | |
| static EIssueLogicDefines::ReturnValues | GetUTNFromTimeTicket (const unsigned char timeTicketIndex, long &urbanTransportNumber) |
| GetUTNFromTimeTicket - check if time ticket supports urban transport number (UTN), return UTN if yes. More... | |
| static EIssueLogicDefines::ReturnValues | CheckCardWalletISOPayUnitCodeValidity (bool &walletPayUnitValidity) |
| CheckCardWalletISOPayUnitCodeValidity - check if card has wallet with valid ISO pay unit code. More... | |
| static EIssueLogicDefines::ReturnValues | GetCappingInformation (unsigned short ids, Strojcek::VstupneUdaje::CappingInformationData &cappingInformationData) |
| GetCappingInformation - gains capping information data from tariff system and from card data structures. More... | |
| ECardBusinessLogic::~ECardBusinessLogic | ( | ) |
| EM::TicketIssueLogic::ECardBusinessLogic::~ECardBusinessLogic | ( | ) |
|
static |
check if the network on card is the same for selling tariff
| issuedTicket | - ticket to check |
| machingNetwork | set to true if network are same or check is not required |

|
static |
check if the network on card is the same for selling tariff
| issuedTicket | - ticket to check |
| machingNetwork | set to true if network are same or check is not required |
|
static |
CheckCardWalletISOPayUnitCodeValidity - check if card has wallet with valid ISO pay unit code.
| walletPayUnitValidity | - output parameter which tells about ISO pay unit validity. True = wallet ISO pay unit is valid, false = wallet ISO pay unit is invalid. |

|
static |
CheckCardWalletISOPayUnitCodeValidity - check if card has wallet with valid ISO pay unit code.
| walletPayUnitValidity | - output parameter which tells about ISO pay unit validity. True = wallet ISO pay unit is valid, false = wallet ISO pay unit is invalid. |
| EM::TicketIssueLogic::ECardBusinessLogic::DEPRECATED | ( | static bool | GetValidCustomerProfileIndexunsigned char &profileIndex, const unsigned short cardType, EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff | ) |
DEPRECATED - use ECardBusinessLogic::IsAnyCustomerProfileValid() and IsCustomerProfileValidByTariff()
| EM::TicketIssueLogic::ECardBusinessLogic::DEPRECATED | ( | static bool | GetValidCustomerProfileIndexunsigned char &profileIndex, const unsigned short cardType, EM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff | ) |
DEPRECATED - use ECardBusinessLogic::IsAnyCustomerProfileValid() and IsCustomerProfileValidByTariff()
| EM::TicketIssueLogic::ECardBusinessLogic::DEPRECATED | ( | static bool | GetCustomerProfileNameEM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff, std::string &customerProfile | ) |
DEPRECATED - Use GetCustomerProfileName( unsigned char customerProfileIndex, std::string &customerProfile ) CustomerProfileIndex should be obtained from IsAnyCustomerProfileValid
| EM::TicketIssueLogic::ECardBusinessLogic::DEPRECATED | ( | static bool | GetCustomerProfileNameEM::Strojcek::VstupneUdaje::TarifnySystem::ETarifa *tariff, std::string &customerProfile | ) |
DEPRECATED - Use GetCustomerProfileName( unsigned char customerProfileIndex, std::string &customerProfile ) CustomerProfileIndex should be obtained from IsAnyCustomerProfileValid
|
static |
EvaluateCardTypeForInvalidCustomerProfile - evaluates tariff system settings for invalid customer profiles.
| cardType | - |

|
static |
EvaluateCardTypeForInvalidCustomerProfile - evaluates tariff system settings for invalid customer profiles.
| cardType | - |
|
static |


|
static |
|
static |
GetCappingInformation - gains capping information data from tariff system and from card data structures.
| ids | - input parameter - actual IDS number |
| cappingInformationData | - output parameter - set of capping information data from tariff system and from card data structures |
|
static |
GetCappingInformation - gains capping information data from tariff system and from card data structures.
| ids | - input parameter - actual IDS number |
| cappingInformationData | - output parameter - set of capping information data from tariff system and from card data structures |
|
static |
GetCardNetworkID - gains network ID from country code and netwrok on card.
| cardNetworkID |


|
static |
GetCardNetworkID - gains network ID from country code and netwrok on card.
| cardNetworkID |
|
static |
GetCardType - method returns card type (NOT card type ID) at desired customer profile index.
| cardType | - card type we want to get |
| validCustomerProfileIndex | - index of customer profile which we are interested in |
|
static |
GetCardType - method returns card type (NOT card type ID) at desired customer profile index.
| cardType | - card type we want to get |
| validCustomerProfileIndex | - index of customer profile which we are interested in |

|
static |
Get card type ID by card type and card standard from card facade.
|
static |
Get card type ID by card type and card standard from card facade.

|
static |
Get name of card type (text representation of card type)
| customerProfileIndex | - index of customer profile which we are interested in (emtest mifare classic has only one customer profile) |
| customerProfile | - name of card customer profile which index is defined by given tariff (output parameter) |

|
static |
Get name of card type (text representation of card type)
| customerProfileIndex | - index of customer profile which we are interested in (emtest mifare classic has only one customer profile) |
| customerProfile | - name of card customer profile which index is defined by given tariff (output parameter) |
|
static |
Wrapper for customer profile validity on card.
Card provider 102 uses 'PlatnStudZlavyDoDen'/129 and 'PlatnStudZlavDoMesia'/130 Card provider 104 uses 178 and 179 for 30.6. or 199 and 200 for 31.8.
| customerProfileValidityStart | - output - start date of customer profile validity |
| customerProfileValidityEnd | - output - end date of customer profile validity (recalculated if card provider is 102 or 104) |
| customerProfileIndex |


|
static |
Wrapper for customer profile validity on card.
Card provider 102 uses 'PlatnStudZlavyDoDen'/129 and 'PlatnStudZlavDoMesia'/130 Card provider 104 uses 178 and 179 for 30.6. or 199 and 200 for 31.8.
| customerProfileValidityStart | - output - start date of customer profile validity |
| customerProfileValidityEnd | - output - end date of customer profile validity (recalculated if card provider is 102 or 104) |
| customerProfileIndex |
|
static |
Function gets department number from card (or from purse)
| departmentNumber | - department number from card or purse |
|
static |
Function gets department number from card (or from purse)
| departmentNumber | - department number from card or purse |


|
static |
|
static |

|
static |
|
static |

|
static |
|
static |
|
static |
GetNIDFromOneWayTicket - calculates network ID from country code and network code.
| oneWayTicketIndex | - one way ticket index |
| oneWayTicketNID | - output parameter |


|
static |
GetNIDFromOneWayTicket - calculates network ID from country code and network code.
| oneWayTicketIndex | - one way ticket index |
| oneWayTicketNID | - output parameter |
|
static |
GetNIDFromTimeTicket - check if time ticket supports network id (NID), then calculate NID from country code and network code.
| timeTicketIndex | - used time ticket index |
| timeTicketNID | - output param |
|
static |
GetNIDFromTimeTicket - check if time ticket supports network id (NID), then calculate NID from country code and network code.
| timeTicketIndex | - used time ticket index |
| timeTicketNID | - output param |

|
static |
GetOneWayTicketPriceListRowFromCard - Get priceListRow from card with OneWayTicket.
| ticketIndex | - ticket indentificator on card |
| itsNumber | - selected ITS(IDS) number |
| priceListRow | - output param - priceListRow found by priceListRowNumber on card |
|
static |
GetOneWayTicketPriceListRowFromCard - Get priceListRow from card with OneWayTicket.
| ticketIndex | - ticket indentificator on card |
| itsNumber | - selected ITS(IDS) number |
| priceListRow | - output param - priceListRow found by priceListRowNumber on card |
|
static |
GetTariffFromCard - Get tariff from card by ticketIndex.
| facadeType | - which facade may be taken |
| ticketIndex | - ticket indentificator on card |
| timeTicket | - determines whether the time ticket has been used |
| itsNumber | - selected ITS(IDS) number |
| tariff | - output param - tariff from card |

|
static |
GetTariffFromCard - Get tariff from card by ticketIndex.
| facadeType | - which facade may be taken |
| ticketIndex | - ticket indentificator on card |
| timeTicket | - determines whether the time ticket has been used |
| itsNumber | - selected ITS(IDS) number |
| tariff | - output param - tariff from card |
|
static |
GetUTNFromTimeTicket - check if time ticket supports urban transport number (UTN), return UTN if yes.
| timeTicketIndex | - used time ticket index |
| urbanTransportNumber | - output param |
|
static |
GetUTNFromTimeTicket - check if time ticket supports urban transport number (UTN), return UTN if yes.
| timeTicketIndex | - used time ticket index |
| urbanTransportNumber | - output param |

|
static |
Get balance of electronic wallet on card in form of "amount currency".
| walletBalance | - output parameter where result will be stored |
|
static |
Get balance of electronic wallet on card in form of "amount currency".
| walletBalance | - output parameter where result will be stored |
|
static |
IsAllowedCardTypeForCardActivation.
| isAllowedCardTypeForCardActivation | - set to true if card activation is allowed otherwise set to false |


|
static |
IsAllowedCardTypeForCardActivation.
| isAllowedCardTypeForCardActivation | - set to true if card activation is allowed otherwise set to false |
|
static |
IsAllowedCompanyCard.
| isAllowedCompanyCard | - set to true if card company number found in 'udalosti.dat' ( ForOneWayTicketJourney ) otherwise set to false |

|
static |
IsAllowedCompanyCard.
| isAllowedCompanyCard | - set to true if card company number found in 'udalosti.dat' ( ForOneWayTicketJourney ) otherwise set to false |
|
static |
IsAnyCustomerProfileValid - loops all customer profiles on card and checks their time validity.
| firstValidCustomerProfile | - index of first valid customer profile on card; zero if no valid customer profile is found |
| timeToCompareProfileValidityTo | - date in epoch format, customer profile validity is compared to this date. If (comparedDate = 0), current date is used. |


|
static |
IsAnyCustomerProfileValid - loops all customer profiles on card and checks their time validity.
| firstValidCustomerProfile | - index of first valid customer profile on card; zero if no valid customer profile is found |
| timeToCompareProfileValidityTo | - date in epoch format, customer profile validity is compared to this date. If (comparedDate = 0), current date is used. |
|
static |
IsAnyValidFareProviderForCurrentCompanyNumber - checks if there are valid commonData and if all virtual card slots are used.
|
static |
IsAnyValidFareProviderForCurrentCompanyNumber - checks if there are valid commonData and if all virtual card slots are used.

|
static |
Checks city code flag on card( SCS strcuture EAppIssuer::Get/Set IssuerType, ECardDataFacadeCommon::GetAppIssuerType ). Currently is supported only code 0x40.


|
static |
Checks city code flag on card( SCS strcuture EAppIssuer::Get/Set IssuerType, ECardDataFacadeCommon::GetAppIssuerType ). Currently is supported only code 0x40.
|
static |
IsCustomerProfileValidByDate - checks time validity of a customer profile on given index.
| customerProfileIndex | - customer profile to be checked |
| timeToCompareProfileValidityTo | - date in epoch format, customer profile validity is compared to this date. If (comparedDate = 0), current date is used. |

|
static |
IsCustomerProfileValidByDate - checks time validity of a customer profile on given index.
| customerProfileIndex | - customer profile to be checked |
| timeToCompareProfileValidityTo | - date in epoch format, customer profile validity is compared to this date. If (comparedDate = 0), current date is used. |
|
static |
Checks if customer profile on specified index can use specified tariff.
| profileIndex | - profile to be checked |
| cardType | - card type information |
| tariff | - tariff of lookup profile |
|
static |
Checks if customer profile on specified index can use specified tariff.
| profileIndex | - profile to be checked |
| cardType | - card type information |
| tariff | - tariff of lookup profile |
|
static |
IsHomeCompanyCard.
| isHomeCompanyCard | - set to true if card company number found in CompaniesConfig otherwise set to false |
|
static |
IsHomeCompanyCard.
| isHomeCompanyCard | - set to true if card company number found in CompaniesConfig otherwise set to false |

|
static |
IsSupportedLineTripProtectNumberOnCard - Function checks feature on card.
Controlled features on one way ticket facade:
| IsSupportedFlagsOnCard | - true == supported features on card, false otherwise |


|
static |
IsSupportedLineTripProtectNumberOnCard - Function checks feature on card.
Controlled features on one way ticket facade:
| IsSupportedFlagsOnCard | - true == supported features on card, false otherwise |
|
static |
IsSupportedProfileValidityStartOnCard.
| isSupportedProfileValidityStart | - output parameter - true if card supports customerProfileValidityStart, false otherwise |
|
static |
IsSupportedProfileValidityStartOnCard.
| isSupportedProfileValidityStart | - output parameter - true if card supports customerProfileValidityStart, false otherwise |


1.8.8