AppCore
Loading...
Searching...
No Matches
Public Member Functions | List of all members
EM::CardFacade::ECardDataFacadeCommon Class Reference

#include <ECardDataFacadeCommon.h>

Public Member Functions

 ECardDataFacadeCommon (ECardDataStorage *cardDataStorage)
 in construcotr create dataclass create dataClass
 
virtual ~ECardDataFacadeCommon ()
 standard virtual destrcutor
 
ECardFacadeDefines::ReturnValues Init ()
 set to member actual card implementation and call init on actual implementation
 
bool GetLogicalCardNumber (unsigned long &logicalCardNumber, const signed char index=-1) const
 
bool GetLogicalCardNumber (std::string &logicalCardNumber, const signed char index=-1) const
 
bool GetCardNumber (unsigned long &cardNumber) const
 
bool SetCardNumber (const unsigned long cardNumber) const
 
bool GetCardValidityEnd (unsigned long &cardValidityEnd) const
 
bool SetCardValidityEnd (const unsigned long cardValidityEnd) const
 
bool GetCardAdditionalDiscountValidity (unsigned long &additionalDiscountValidity, const signed char index=-1) const
 
bool SetCardAdditionalDiscountValidity (const unsigned long additionalDiscountValidity, const signed char index=-1) const
 
bool GetCardRegionCode (unsigned long &regionCode) const
 
bool GetCardCityCode (unsigned long &cityCode) const
 
bool SetCardRegionCode (const unsigned long regionCode) const
 
bool IsDiscountCouponValid (bool &isDiscountCouponValid, const signed char couponIndex) const
 IsDiscountCouponValid checks structure data validity.
 
bool GetNumberOfDiscountCoupons (unsigned long &numberOfCoupons) const
 GetNumberOfDiscountCoupons return by numberOfCoupons coupon count in coupon collection.
 
bool GetDiscountCouponValidityEnd (unsigned long &couponValidityEnd, const signed char couponIndex) const
 GetDiscountCouponValidityEnd return by couponValidityEnd coupon validity end.
 
bool SetDiscountCouponValidityEnd (const unsigned long couponValidityEnd, const signed char couponIndex) const
 SetDiscountCouponValidityEnd set valdity end.
 
bool GetDiscountCouponValidityStart (unsigned long &couponValidityStart, const signed char couponIndex) const
 GetDiscountCouponValidityStart return by couponValidityStart coupon validity start.
 
bool GetDiscountCouponRegionCode (unsigned long &couponRegionCode, const signed char couponIndex) const
 GetDiscountCouponValidityEnd return by couponRegionCode coupon region code.
 
bool GetDiscountCouponType (unsigned long &couponType, const signed char couponIndex) const
 GetDiscountCouponVersion return by couponRegionCode coupon version.
 
bool GetCustomerProfilesCount (unsigned char &customerProfilesCount) const
 Tells how many customer profiles are on card.
 
bool GetCustomerProfileValidityEnd (unsigned long &customerProfileValidityEnd, const unsigned char customerProfileIndex=0, const signed char index=-1) const
 
bool SetCustomerProfileValidityEnd (const unsigned long customerProfileValidityEnd, const unsigned char customerProfileIndex=0, const signed char index=-1) const
 
bool GetCustomerProfileValidityStart (unsigned long &customerProfileValidityStart, const unsigned char customerProfileIndex=0, const signed char index=-1) const
 
bool SetCustomerProfileValidityStart (const unsigned long customerProfileValidityStart, const unsigned char customerProfileIndex=0, const signed char index=-1) const
 
bool GetCardTypeAndSubType (unsigned short &cardType, unsigned short &cardSubType, ECardFacadeDefines::CardTypeStandard &cardStandard, const unsigned char customerProfileIndex, const signed char index=-1) const
 
bool SetCardTypeAndSubType (const unsigned short cardType, const unsigned short cardSubType, const unsigned char customerProfileIndex, const signed char index=-1) const
 
bool GetFareProviderNumber (unsigned short &fareProviderNumber, const signed char fareProviderIndex=-1) const
 
bool SetFareProviderNumber (const unsigned short providerNumber, const signed char fareProviderIndex=-1) const
 SetFareProviderNumber - set provider to FareDataDirectory. Supported only for TransData desfire medium.
 
bool GetCardPublisherNumber (unsigned short &cardPublisherNumber) const
 
bool SetCardPublisherNumber (const unsigned short cardPublisherNumber) const
 
bool GetNetworkCode (unsigned short &networkCodeInBCD) const
 
bool SetNetworkCode (const unsigned short networkCodeInBCD) const
 
bool GetCountryCode (unsigned short &countryCodeInBCD) const
 
bool SetCountryCode (const unsigned short countryCodeInBCD) const
 
bool GetAppExpireDate (unsigned long &appExpireDate) const
 
bool SetAppExpireDate (const unsigned long appExpireDate) const
 
bool GetAppIssuerType (unsigned short &appIssuerType) const
 
bool SetAppIssuerType (const unsigned short appIssuerType) const
 
 DEPRECATED (bool GetSaleDate(unsigned long &saleDate, const signed char index=-1) const)
 
 DEPRECATED (bool SetSaleDate(const unsigned long saleDate, const signed char index=-1) const)
 
bool IsCardBlocked (bool &cardBlocked, const signed char index=-1) const
 Check status of card (ok, blocked ...). On Em-DesFire virtual card status is checked, on other cards it is simply card status.
 
bool SetCardBlocked (const bool blocked, const signed char index=-1) const
 Set status ofcard (ok, blocked ...). On Em-DesFire virtual card status is set, on other cards it is simply card status.
 
bool IsCardSold (bool &cardSold, const signed char index=-1) const
 
bool SetCardSold (const bool sold, const signed char index=-1) const
 
bool GetUID (std::string &uid) const
 
bool GetRawUID (unsigned char *&uid) const
 
bool IsServiceCard (bool &serviceCard) const
 
bool SetServiceCard (const bool serviceCard) const
 
bool GetBornNumber (unsigned long &bornNumber) const
 function return by reference owner
 
bool SetBornNumber (const unsigned long bornNumber) const
 function saved owner
 
bool GetCardOwnerName (char *ownerName, unsigned short &nameLength, ECardFacadeDefines::TextEncoding &encoding) const
 function return owner card name
 
bool SetCardOwnerName (const char *ownerName, const unsigned short nameLength) const
 function set new owner card name
 
bool GetCardOwnerSurname (char *ownerSurname, unsigned short &surnameLength, ECardFacadeDefines::TextEncoding &encoding) const
 function return owner card surname
 
bool SetCardOwnerSurname (const char *ownerSurname, const unsigned short surnameLength) const
 function set new owner card surname
 
bool GetEventCount (unsigned long &eventCount) const
 function retrun event count fromevent collection
 
bool GetCommonDataCount (unsigned char &commonDataCount) const
 
bool GetCardPublisherVersion (unsigned char &publisherVersion)
 GetCardPublisherVersion return version of publisher structure on card.
 
bool SetCardPublisherVersion (unsigned char publisherVersion)
 SetCardPublisherVersion set version of publisher structure on card.
 
bool IsTransportSectionValid (bool &tranportSectionValid, const signed char index=-1) const
 function check if transportsection on common card data is valid
 
bool GetDailyCappingDate (unsigned long &dailyCappingDate)
 GetDailyCappingDate.
 
bool SetDailyCappingDate (unsigned long dailyCappingDate)
 SetDailyCappingDate - method sets daily capping date.
 
bool GetDailyCappingSum (unsigned short &dailyCappingSum)
 GetDailyCappingSum.
 
bool SetDailyCappingSum (unsigned short dailyCappingSum)
 SetDailyCappingSum.
 
bool GetWeeklyCappingDate (unsigned long &weeklyCappingDate)
 GetWeeklyCappingDate.
 
bool SetWeeklyCappingDate (unsigned long weeklyCappingDate)
 SetWeeklyCappingDate - method sets weekly capping date.
 
bool GetWeeklyCappingSum (unsigned short &weeklyCappingSum)
 GetWeeklyCappingSum.
 
bool SetWeeklyCappingSum (unsigned short weeklyCappingSum)
 SetWeeklyCappingSum.
 
bool GetCappingProvider (unsigned short &cappingProvider)
 GetCappingProvider.
 
bool SetCappingProvider (unsigned short cappingProvider)
 SetCappingProvider.
 
bool GetCappingProviderType (ECardFacadeDefines::CappingProviderType &cappingProviderType)
 GetCappingProviderType.
 
bool SetCappingProviderType (ECardFacadeDefines::CappingProviderType cappingProviderType)
 SetCappingProviderType.
 
void Clear ()
 clear all data
 
bool IsModifiedData () const
 
  • check in actual implementation, if data was modified

 
bool PrepareWriteRequest (EM::PT::EDataCollection *writeRequest) const
 
bool AddDataToWriteRequest (EM::PT::EDataCollection *writeRequest) const
 
bool AddDataTypeToReadRequest (PT::EAplRequest *readRequest[], const unsigned short dataTypesOperation) const
 
bool IsCommonDataFeatureEnabled (const ECardFacadeDefines::CommonDataFeatures feature, bool &enabled) const
 
bool IsCardFeatureEnabled (const ECardFacadeDefines::CommonCardFeatures feature, bool &enabled) const
 
bool IsDataValid (bool &validData, const signed char index=-1)
 IsDataValid checks if commonData is valid (is not null)
 
unsigned short GetRequiredDataReadOperation (const unsigned short dataTypesOperation) const
 
 ECardDataFacadeCommon (ECardDataStorage *cardDataStorage)
 in construcotr create dataclass create dataClass
 
virtual ~ECardDataFacadeCommon ()
 standard virtual destrcutor
 
ECardFacadeDefines::ReturnValues Init ()
 set to member actual card implementation and call init on actual implementation
 
bool GetLogicalCardNumber (unsigned long &logicalCardNumber, const signed char index=-1) const
 
bool GetLogicalCardNumber (std::string &logicalCardNumber, const signed char index=-1) const
 
bool GetCardNumber (unsigned long &cardNumber) const
 
bool SetCardNumber (const unsigned long cardNumber) const
 
bool GetCardValidityEnd (unsigned long &cardValidityEnd) const
 
bool SetCardValidityEnd (const unsigned long cardValidityEnd) const
 
bool GetCardAdditionalDiscountValidity (unsigned long &additionalDiscountValidity, const signed char index=-1) const
 
bool SetCardAdditionalDiscountValidity (const unsigned long additionalDiscountValidity, const signed char index=-1) const
 
bool GetCardRegionCode (unsigned long &regionCode) const
 
bool GetCardCityCode (unsigned long &cityCode) const
 
bool SetCardRegionCode (const unsigned long regionCode) const
 
bool IsDiscountCouponValid (bool &isDiscountCouponValid, const signed char couponIndex) const
 IsDiscountCouponValid checks structure data validity.
 
bool GetNumberOfDiscountCoupons (unsigned long &numberOfCoupons) const
 GetNumberOfDiscountCoupons return by numberOfCoupons coupon count in coupon collection.
 
bool GetDiscountCouponValidityEnd (unsigned long &couponValidityEnd, const signed char couponIndex) const
 GetDiscountCouponValidityEnd return by couponValidityEnd coupon validity end.
 
bool SetDiscountCouponValidityEnd (const unsigned long couponValidityEnd, const signed char couponIndex) const
 SetDiscountCouponValidityEnd set valdity end.
 
bool GetDiscountCouponValidityStart (unsigned long &couponValidityStart, const signed char couponIndex) const
 GetDiscountCouponValidityStart return by couponValidityStart coupon validity start.
 
bool GetDiscountCouponRegionCode (unsigned long &couponRegionCode, const signed char couponIndex) const
 GetDiscountCouponValidityEnd return by couponRegionCode coupon region code.
 
bool GetDiscountCouponType (unsigned long &couponType, const signed char couponIndex) const
 GetDiscountCouponVersion return by couponRegionCode coupon version.
 
bool GetCustomerProfilesCount (unsigned char &customerProfilesCount) const
 Tells how many customer profiles are on card.
 
bool GetCustomerProfileValidityEnd (unsigned long &customerProfileValidityEnd, const unsigned char customerProfileIndex=0, const signed char index=-1) const
 
bool SetCustomerProfileValidityEnd (const unsigned long customerProfileValidityEnd, const unsigned char customerProfileIndex=0, const signed char index=-1) const
 
bool GetCustomerProfileValidityStart (unsigned long &customerProfileValidityStart, const unsigned char customerProfileIndex=0, const signed char index=-1) const
 
bool SetCustomerProfileValidityStart (const unsigned long customerProfileValidityStart, const unsigned char customerProfileIndex=0, const signed char index=-1) const
 
bool GetCardTypeAndSubType (unsigned short &cardType, unsigned short &cardSubType, ECardFacadeDefines::CardTypeStandard &cardStandard, const unsigned char customerProfileIndex, const signed char index=-1) const
 
bool SetCardTypeAndSubType (const unsigned short cardType, const unsigned short cardSubType, const unsigned char customerProfileIndex, const signed char index=-1) const
 
bool GetFareProviderNumber (unsigned short &fareProviderNumber, const signed char fareProviderIndex=-1) const
 
bool SetFareProviderNumber (const unsigned short providerNumber, const signed char fareProviderIndex=-1) const
 SetFareProviderNumber - set provider to FareDataDirectory. Supported only for TransData desfire medium.
 
bool GetCardPublisherNumber (unsigned short &cardPublisherNumber) const
 
bool SetCardPublisherNumber (const unsigned short cardPublisherNumber) const
 
bool GetNetworkCode (unsigned short &networkCodeInBCD) const
 
bool SetNetworkCode (const unsigned short networkCodeInBCD) const
 
bool GetCountryCode (unsigned short &countryCodeInBCD) const
 
bool SetCountryCode (const unsigned short countryCodeInBCD) const
 
bool GetAppExpireDate (unsigned long &appExpireDate) const
 
bool SetAppExpireDate (const unsigned long appExpireDate) const
 
bool GetAppIssuerType (unsigned short &appIssuerType) const
 
bool SetAppIssuerType (const unsigned short appIssuerType) const
 
 DEPRECATED (bool GetSaleDate(unsigned long &saleDate, const signed char index=-1) const)
 
 DEPRECATED (bool SetSaleDate(const unsigned long saleDate, const signed char index=-1) const)
 
bool IsCardBlocked (bool &cardBlocked, const signed char index=-1) const
 Check status of card (ok, blocked ...). On Em-DesFire virtual card status is checked, on other cards it is simply card status.
 
bool SetCardBlocked (const bool blocked, const signed char index=-1) const
 Set status ofcard (ok, blocked ...). On Em-DesFire virtual card status is set, on other cards it is simply card status.
 
bool IsCardSold (bool &cardSold, const signed char index=-1) const
 
bool SetCardSold (const bool sold, const signed char index=-1) const
 
bool GetUID (std::string &uid) const
 
bool GetRawUID (unsigned char *&uid) const
 
bool IsServiceCard (bool &serviceCard) const
 
bool SetServiceCard (const bool serviceCard) const
 
bool GetBornNumber (unsigned long &bornNumber) const
 function return by reference owner
 
bool SetBornNumber (const unsigned long bornNumber) const
 function saved owner
 
bool GetCardOwnerName (char *ownerName, unsigned short &nameLength, ECardFacadeDefines::TextEncoding &encoding) const
 function return owner card name
 
bool SetCardOwnerName (const char *ownerName, const unsigned short nameLength) const
 function set new owner card name
 
bool GetCardOwnerSurname (char *ownerSurname, unsigned short &surnameLength, ECardFacadeDefines::TextEncoding &encoding) const
 function return owner card surname
 
bool SetCardOwnerSurname (const char *ownerSurname, const unsigned short surnameLength) const
 function set new owner card surname
 
bool GetEventCount (unsigned long &eventCount) const
 function retrun event count fromevent collection
 
bool GetCommonDataCount (unsigned char &commonDataCount) const
 
bool GetCardPublisherVersion (unsigned char &publisherVersion)
 GetCardPublisherVersion return version of publisher structure on card.
 
bool SetCardPublisherVersion (unsigned char publisherVersion)
 SetCardPublisherVersion set version of publisher structure on card.
 
bool IsTransportSectionValid (bool &tranportSectionValid, const signed char index=-1) const
 function check if transportsection on common card data is valid
 
bool GetDailyCappingDate (unsigned long &dailyCappingDate)
 GetDailyCappingDate.
 
bool SetDailyCappingDate (unsigned long dailyCappingDate)
 SetDailyCappingDate - method sets daily capping date.
 
bool GetDailyCappingSum (unsigned short &dailyCappingSum)
 GetDailyCappingSum.
 
bool SetDailyCappingSum (unsigned short dailyCappingSum)
 SetDailyCappingSum.
 
bool GetWeeklyCappingDate (unsigned long &weeklyCappingDate)
 GetWeeklyCappingDate.
 
bool SetWeeklyCappingDate (unsigned long weeklyCappingDate)
 SetWeeklyCappingDate - method sets weekly capping date.
 
bool GetWeeklyCappingSum (unsigned short &weeklyCappingSum)
 GetWeeklyCappingSum.
 
bool SetWeeklyCappingSum (unsigned short weeklyCappingSum)
 SetWeeklyCappingSum.
 
bool GetCappingProvider (unsigned short &cappingProvider)
 GetCappingProvider.
 
bool SetCappingProvider (unsigned short cappingProvider)
 SetCappingProvider.
 
bool GetCappingProviderType (ECardFacadeDefines::CappingProviderType &cappingProviderType)
 GetCappingProviderType.
 
bool SetCappingProviderType (ECardFacadeDefines::CappingProviderType cappingProviderType)
 SetCappingProviderType.
 
void Clear ()
 clear all data
 
bool IsModifiedData () const
 
  • check in actual implementation, if data was modified

 
bool PrepareWriteRequest (EM::PT::EDataCollection *writeRequest) const
 
bool AddDataToWriteRequest (EM::PT::EDataCollection *writeRequest) const
 
bool AddDataTypeToReadRequest (PT::EAplRequest *readRequest[], const unsigned short dataTypesOperation) const
 
bool IsCommonDataFeatureEnabled (const ECardFacadeDefines::CommonDataFeatures feature, bool &enabled) const
 
bool IsCardFeatureEnabled (const ECardFacadeDefines::CommonCardFeatures feature, bool &enabled) const
 
bool IsDataValid (bool &validData, const signed char index=-1)
 IsDataValid checks if commonData is valid (is not null)
 
unsigned short GetRequiredDataReadOperation (const unsigned short dataTypesOperation) const
 

Constructor & Destructor Documentation

◆ ECardDataFacadeCommon() [1/2]

INTERNAL ECardDataFacadeCommon::ECardDataFacadeCommon ( ECardDataStorage cardDataStorage)

in construcotr create dataclass create dataClass

CONSTRUCTOR

◆ ~ECardDataFacadeCommon() [1/2]

ECardDataFacadeCommon::~ECardDataFacadeCommon ( )
virtual

standard virtual destrcutor

DESTRUCTOR

◆ ECardDataFacadeCommon() [2/2]

EM::CardFacade::ECardDataFacadeCommon::ECardDataFacadeCommon ( ECardDataStorage cardDataStorage)

in construcotr create dataclass create dataClass

◆ ~ECardDataFacadeCommon() [2/2]

virtual EM::CardFacade::ECardDataFacadeCommon::~ECardDataFacadeCommon ( )
virtual

standard virtual destrcutor

Member Function Documentation

◆ AddDataToWriteRequest() [1/2]

bool EM::CardFacade::ECardDataFacadeCommon::AddDataToWriteRequest ( EM::PT::EDataCollection *  writeRequest) const
Parameters
writeRequest- EDataCollection instance of write request
Returns
true - successfully ended false - error insert data to write request

◆ AddDataToWriteRequest() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::AddDataToWriteRequest ( EM::PT::EDataCollection *  writeRequest) const
Parameters
writeRequest- EDataCollection instance of write request
Returns
true - successfully ended false - error insert data to write request

◆ AddDataTypeToReadRequest() [1/2]

bool EM::CardFacade::ECardDataFacadeCommon::AddDataTypeToReadRequest ( PT::EAplRequest *  readRequest[],
const unsigned short  dataTypesOperation 
) const
Parameters
requestRead- instance of read request - add data type into this collection
Returns
true - successfully ended false - error insert data to write request

◆ AddDataTypeToReadRequest() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::AddDataTypeToReadRequest ( PT::EAplRequest *  readRequest[],
const unsigned short  dataTypesOperation 
) const
Parameters
requestRead- instance of read request - add data type into this collection
Returns
true - successfully ended false - error insert data to write request

◆ Clear() [1/2]

void ECardDataFacadeCommon::Clear ( )

clear all data

◆ Clear() [2/2]

void EM::CardFacade::ECardDataFacadeCommon::Clear ( )

clear all data

◆ DEPRECATED() [1/4]

EM::CardFacade::ECardDataFacadeCommon::DEPRECATED ( bool GetSaleDate(unsigned long &saleDate, const signed char index=-1) const  )
Parameters
saleDate- retrun by reference saleDate in seconds from 1.1.1970
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which saleDate is readed
Returns
true - successfully ended false - ended with error

◆ DEPRECATED() [2/4]

EM::CardFacade::ECardDataFacadeCommon::DEPRECATED ( bool GetSaleDate(unsigned long &saleDate, const signed char index=-1) const  )
Parameters
saleDate- retrun by reference saleDate in seconds from 1.1.1970
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which saleDate is readed
Returns
true - successfully ended false - ended with error

◆ DEPRECATED() [3/4]

EM::CardFacade::ECardDataFacadeCommon::DEPRECATED ( bool SetSaleDate(const unsigned long saleDate, const signed char index=-1) const  )
Parameters
saleDate- new sale date in seconds from 1.1.1970
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which saleDate is readed
Returns
true - successfully ended false - ended with error

◆ DEPRECATED() [4/4]

EM::CardFacade::ECardDataFacadeCommon::DEPRECATED ( bool SetSaleDate(const unsigned long saleDate, const signed char index=-1) const  )
Parameters
saleDate- new sale date in seconds from 1.1.1970
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which saleDate is readed
Returns
true - successfully ended false - ended with error

◆ GetAppExpireDate() [1/2]

bool ECardDataFacadeCommon::GetAppExpireDate ( unsigned long &  appExpireDate) const
Parameters
appExpireDate- retrun by reference value from structure
Returns
true - successfully ended false - ended with error

◆ GetAppExpireDate() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetAppExpireDate ( unsigned long &  appExpireDate) const
Parameters
appExpireDate- retrun by reference value from structure
Returns
true - successfully ended false - ended with error

◆ GetAppIssuerType() [1/2]

bool ECardDataFacadeCommon::GetAppIssuerType ( unsigned short &  appIssuerType) const
Parameters
appIssuerType- retrun by reference value from structure
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ GetAppIssuerType() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetAppIssuerType ( unsigned short &  appIssuerType) const
Parameters
appIssuerType- retrun by reference value from structure
Returns
true - successfully ended false - ended with error

◆ GetBornNumber() [1/2]

bool ECardDataFacadeCommon::GetBornNumber ( unsigned long &  bornNumber) const

function return by reference owner

Parameters
bornNumber- output param born number is saved in mifare card holder
Returns
true - successfully ended otherwise false
Here is the caller graph for this function:

◆ GetBornNumber() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetBornNumber ( unsigned long &  bornNumber) const

function return by reference owner

Parameters
bornNumber- output param born number is saved in mifare card holder
Returns
true - successfully ended otherwise false

◆ GetCappingProvider() [1/2]

bool ECardDataFacadeCommon::GetCappingProvider ( unsigned short &  cappingProvider)

GetCappingProvider.

Parameters
cappingProvider
Returns

◆ GetCappingProvider() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCappingProvider ( unsigned short &  cappingProvider)

GetCappingProvider.

Parameters
cappingProvider
Returns

◆ GetCappingProviderType() [1/2]

bool ECardDataFacadeCommon::GetCappingProviderType ( ECardFacadeDefines::CappingProviderType cappingProviderType)

GetCappingProviderType.

Parameters
cappingProviderType
Returns

◆ GetCappingProviderType() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCappingProviderType ( ECardFacadeDefines::CappingProviderType cappingProviderType)

GetCappingProviderType.

Parameters
cappingProviderType
Returns

◆ GetCardAdditionalDiscountValidity() [1/2]

bool ECardDataFacadeCommon::GetCardAdditionalDiscountValidity ( unsigned long &  additionalDiscountValidity,
const signed char  index = -1 
) const
Parameters
additionalDiscountValidity- value in DAYS without time information
index- sometimes in readDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which additionalDiscountValidity is readed
Returns
true - successfully ended, otherwise false
Here is the caller graph for this function:

◆ GetCardAdditionalDiscountValidity() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardAdditionalDiscountValidity ( unsigned long &  additionalDiscountValidity,
const signed char  index = -1 
) const
Parameters
additionalDiscountValidity- value in DAYS without time information
index- sometimes in readDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which additionalDiscountValidity is readed
Returns
true - successfully ended, otherwise false

◆ GetCardCityCode() [1/2]

bool ECardDataFacadeCommon::GetCardCityCode ( unsigned long &  cityCode) const
Parameters
cityCode- output param

@list List of city codes:

  • 0x0001 - BMK (Bratislavska Mestska Karta)
  • 0x0008 - MKK (Mestska Karta Kosice)
  • 0x0010 - Bratislava_BA (zony 100+101) – zlava pre vybrane skupiny cestujucich s trvalym pobytom v BA (TZP, ...)
See also
Redmine task #1563
Returns
true - successfully end, otherwise false
Here is the caller graph for this function:

◆ GetCardCityCode() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardCityCode ( unsigned long &  cityCode) const
Parameters
cityCode- output param

@list List of city codes:

  • 0x0001 - BMK (Bratislavska Mestska Karta)
  • 0x0008 - MKK (Mestska Karta Kosice)
  • 0x0010 - Bratislava_BA (zony 100+101) – zlava pre vybrane skupiny cestujucich s trvalym pobytom v BA (TZP, ...)
See also
Redmine task #1563
Returns
true - successfully end, otherwise false

◆ GetCardNumber() [1/2]

bool ECardDataFacadeCommon::GetCardNumber ( unsigned long &  cardNumber) const
Returns
cardNumber - retrun by reference value from structure
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ GetCardNumber() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardNumber ( unsigned long &  cardNumber) const
Returns
cardNumber - retrun by reference value from structure
true - successfully ended false - ended with error

◆ GetCardOwnerName() [1/2]

bool ECardDataFacadeCommon::GetCardOwnerName ( char *  ownerName,
unsigned short &  nameLength,
ECardFacadeDefines::TextEncoding encoding 
) const

function return owner card name

Parameters
ownerName- string represent name
nameLength- string length
encoding- in which encoding the text is encoded (EncodingUndefined means that application has to decide according to the project)
Returns
true - successfully ended otherwise false

◆ GetCardOwnerName() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardOwnerName ( char *  ownerName,
unsigned short &  nameLength,
ECardFacadeDefines::TextEncoding encoding 
) const

function return owner card name

Parameters
ownerName- string represent name
nameLength- string length
encoding- in which encoding the text is encoded (EncodingUndefined means that application has to decide according to the project)
Returns
true - successfully ended otherwise false

◆ GetCardOwnerSurname() [1/2]

bool ECardDataFacadeCommon::GetCardOwnerSurname ( char *  ownerSurname,
unsigned short &  surnameLength,
ECardFacadeDefines::TextEncoding encoding 
) const

function return owner card surname

Parameters
ownerSurname- string represent surname
surnameLength- string length
encoding- in which encoding the text is encoded (EncodingUndefined means that application has to decide according to the project)
Returns
true - successfully ended otherwise false

◆ GetCardOwnerSurname() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardOwnerSurname ( char *  ownerSurname,
unsigned short &  surnameLength,
ECardFacadeDefines::TextEncoding encoding 
) const

function return owner card surname

Parameters
ownerSurname- string represent surname
surnameLength- string length
encoding- in which encoding the text is encoded (EncodingUndefined means that application has to decide according to the project)
Returns
true - successfully ended otherwise false

◆ GetCardPublisherNumber() [1/2]

bool ECardDataFacadeCommon::GetCardPublisherNumber ( unsigned short &  cardPublisherNumber) const
Parameters
cardPublisherNumber- card publisher number
Returns
true - successfully save provider number to card false - ended with error
Here is the caller graph for this function:

◆ GetCardPublisherNumber() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardPublisherNumber ( unsigned short &  cardPublisherNumber) const
Parameters
cardPublisherNumber- card publisher number
Returns
true - successfully save provider number to card false - ended with error

◆ GetCardPublisherVersion() [1/2]

bool ECardDataFacadeCommon::GetCardPublisherVersion ( unsigned char &  publisherVersion)

GetCardPublisherVersion return version of publisher structure on card.

Note
Publisher version is saved in structure EAppIssuer
Supported medium: Transdata desfire card
Returns
true - successfully ended otherwise false
Here is the caller graph for this function:

◆ GetCardPublisherVersion() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardPublisherVersion ( unsigned char &  publisherVersion)

GetCardPublisherVersion return version of publisher structure on card.

Note
Publisher version is saved in structure EAppIssuer
Supported medium: Transdata desfire card
Returns
true - successfully ended otherwise false

◆ GetCardRegionCode() [1/2]

bool ECardDataFacadeCommon::GetCardRegionCode ( unsigned long &  regionCode) const
Parameters
regionCode- output param

@list List of region codes:

  • 0x0002 - TSK (Trenciansky Samospravny Kraj) – MultiCard
  • 0x0004 - MHD Martin – MultiCard
  • 0x0020 - Bratislava_BSK (zony 100+101) – zlava pre vybrane skupiny cestujucich s trvalym pobytom v BSK (TZP, ...)
Returns
true - successfully ended, otherwise false
Here is the caller graph for this function:

◆ GetCardRegionCode() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardRegionCode ( unsigned long &  regionCode) const
Parameters
regionCode- output param

@list List of region codes:

  • 0x0002 - TSK (Trenciansky Samospravny Kraj) – MultiCard
  • 0x0004 - MHD Martin – MultiCard
  • 0x0020 - Bratislava_BSK (zony 100+101) – zlava pre vybrane skupiny cestujucich s trvalym pobytom v BSK (TZP, ...)
Returns
true - successfully ended, otherwise false

◆ GetCardTypeAndSubType() [1/2]

bool ECardDataFacadeCommon::GetCardTypeAndSubType ( unsigned short &  cardType,
unsigned short &  cardSubType,
ECardFacadeDefines::CardTypeStandard cardStandard,
const unsigned char  customerProfileIndex,
const signed char  index = -1 
) const
Parameters
cardtype - retrun by reference value from structure
cardcardStandart - retrun by card User if it is unambiguous
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardType is readed
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ GetCardTypeAndSubType() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardTypeAndSubType ( unsigned short &  cardType,
unsigned short &  cardSubType,
ECardFacadeDefines::CardTypeStandard cardStandard,
const unsigned char  customerProfileIndex,
const signed char  index = -1 
) const
Parameters
cardtype - retrun by reference value from structure
cardcardStandart - retrun by card User if it is unambiguous
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardType is readed
Returns
true - successfully ended false - ended with error

◆ GetCardValidityEnd() [1/2]

bool ECardDataFacadeCommon::GetCardValidityEnd ( unsigned long &  cardValidityEnd) const
Parameters
cardValidityend- retrun by reference time validity in second from 1.1.1970
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ GetCardValidityEnd() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCardValidityEnd ( unsigned long &  cardValidityEnd) const
Parameters
cardValidityend- retrun by reference time validity in second from 1.1.1970
Returns
true - successfully ended false - ended with error

◆ GetCommonDataCount() [1/2]

bool ECardDataFacadeCommon::GetCommonDataCount ( unsigned char &  commonDataCount) const
Here is the caller graph for this function:

◆ GetCommonDataCount() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCommonDataCount ( unsigned char &  commonDataCount) const

◆ GetCountryCode() [1/2]

bool ECardDataFacadeCommon::GetCountryCode ( unsigned short &  countryCodeInBCD) const
Parameters
countryCode- return by reference value from structure
Returns
true - successfully ended
false - ended with error
Here is the caller graph for this function:

◆ GetCountryCode() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCountryCode ( unsigned short &  countryCodeInBCD) const
Parameters
countryCode- return by reference value from structure
Returns
true - successfully ended
false - ended with error

◆ GetCustomerProfilesCount() [1/2]

bool ECardDataFacadeCommon::GetCustomerProfilesCount ( unsigned char &  customerProfilesCount) const

Tells how many customer profiles are on card.

Parameters
customerProfilesCount- return by reference number of customer profiles on card
Returns
true - successfully ended
false - ended with error
Here is the caller graph for this function:

◆ GetCustomerProfilesCount() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCustomerProfilesCount ( unsigned char &  customerProfilesCount) const

Tells how many customer profiles are on card.

Parameters
customerProfilesCount- return by reference number of customer profiles on card
Returns
true - successfully ended
false - ended with error

◆ GetCustomerProfileValidityEnd() [1/2]

bool ECardDataFacadeCommon::GetCustomerProfileValidityEnd ( unsigned long &  customerProfileValidityEnd,
const unsigned char  customerProfileIndex = 0,
const signed char  index = -1 
) const
Note
previous method name GetCustomerProfileValidity
Parameters
customerProfileValidityEnd- return by reference discount validity in seconds from 1.1.1970 ( card discount validity )
customerProfileIndex- if it is equal to 0, takes first customerProfileValidity, otherwise other customer profile validity
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which customerProfileValidity is readed
Returns
true - successfully ended false - ended with error
Note
This function have wrapper in ECardBusinessLogic::GetCustomerProfileValidity, because discount validity is adjusted by tariff system settings
Here is the caller graph for this function:

◆ GetCustomerProfileValidityEnd() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCustomerProfileValidityEnd ( unsigned long &  customerProfileValidityEnd,
const unsigned char  customerProfileIndex = 0,
const signed char  index = -1 
) const
Note
previous method name GetCustomerProfileValidity
Parameters
customerProfileValidityEnd- return by reference discount validity in seconds from 1.1.1970 ( card discount validity )
customerProfileIndex- if it is equal to 0, takes first customerProfileValidity, otherwise other customer profile validity
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which customerProfileValidity is readed
Returns
true - successfully ended false - ended with error
Note
This function have wrapper in ECardBusinessLogic::GetCustomerProfileValidity, because discount validity is adjusted by tariff system settings

◆ GetCustomerProfileValidityStart() [1/2]

bool ECardDataFacadeCommon::GetCustomerProfileValidityStart ( unsigned long &  customerProfileValidityStart,
const unsigned char  customerProfileIndex = 0,
const signed char  index = -1 
) const
Parameters
customerProfileValidityStart- return by reference discount validity start in seconds from 1.1.1970 ( card discount validity )
customerProfileIndex- if it is equal to 0, takes first customerProfileValidity, otherwise other customer profile validity
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which customerProfileValidity is readed
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ GetCustomerProfileValidityStart() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetCustomerProfileValidityStart ( unsigned long &  customerProfileValidityStart,
const unsigned char  customerProfileIndex = 0,
const signed char  index = -1 
) const
Parameters
customerProfileValidityStart- return by reference discount validity start in seconds from 1.1.1970 ( card discount validity )
customerProfileIndex- if it is equal to 0, takes first customerProfileValidity, otherwise other customer profile validity
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which customerProfileValidity is readed
Returns
true - successfully ended false - ended with error

◆ GetDailyCappingDate() [1/2]

bool ECardDataFacadeCommon::GetDailyCappingDate ( unsigned long &  dailyCappingDate)

GetDailyCappingDate.

Parameters
dailyCappingDate
Returns

◆ GetDailyCappingDate() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetDailyCappingDate ( unsigned long &  dailyCappingDate)

GetDailyCappingDate.

Parameters
dailyCappingDate
Returns

◆ GetDailyCappingSum() [1/2]

bool ECardDataFacadeCommon::GetDailyCappingSum ( unsigned short &  dailyCappingSum)

GetDailyCappingSum.

Parameters
dailyCappingSum
Returns

◆ GetDailyCappingSum() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetDailyCappingSum ( unsigned short &  dailyCappingSum)

GetDailyCappingSum.

Parameters
dailyCappingSum
Returns

◆ GetDiscountCouponRegionCode() [1/2]

bool ECardDataFacadeCommon::GetDiscountCouponRegionCode ( unsigned long &  couponRegionCode,
const signed char  couponIndex 
) const

GetDiscountCouponValidityEnd return by couponRegionCode coupon region code.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error
Here is the caller graph for this function:

◆ GetDiscountCouponRegionCode() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetDiscountCouponRegionCode ( unsigned long &  couponRegionCode,
const signed char  couponIndex 
) const

GetDiscountCouponValidityEnd return by couponRegionCode coupon region code.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ GetDiscountCouponType() [1/2]

bool ECardDataFacadeCommon::GetDiscountCouponType ( unsigned long &  couponType,
const signed char  couponIndex 
) const

GetDiscountCouponVersion return by couponRegionCode coupon version.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ GetDiscountCouponType() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetDiscountCouponType ( unsigned long &  couponType,
const signed char  couponIndex 
) const

GetDiscountCouponVersion return by couponRegionCode coupon version.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ GetDiscountCouponValidityEnd() [1/2]

bool ECardDataFacadeCommon::GetDiscountCouponValidityEnd ( unsigned long &  couponValidityEnd,
const signed char  couponIndex 
) const

GetDiscountCouponValidityEnd return by couponValidityEnd coupon validity end.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error
Here is the caller graph for this function:

◆ GetDiscountCouponValidityEnd() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetDiscountCouponValidityEnd ( unsigned long &  couponValidityEnd,
const signed char  couponIndex 
) const

GetDiscountCouponValidityEnd return by couponValidityEnd coupon validity end.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ GetDiscountCouponValidityStart() [1/2]

bool ECardDataFacadeCommon::GetDiscountCouponValidityStart ( unsigned long &  couponValidityStart,
const signed char  couponIndex 
) const

GetDiscountCouponValidityStart return by couponValidityStart coupon validity start.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ GetDiscountCouponValidityStart() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetDiscountCouponValidityStart ( unsigned long &  couponValidityStart,
const signed char  couponIndex 
) const

GetDiscountCouponValidityStart return by couponValidityStart coupon validity start.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ GetEventCount() [1/2]

bool ECardDataFacadeCommon::GetEventCount ( unsigned long &  eventCount) const

function retrun event count fromevent collection

Parameters
eventCount- output param saved in event collection
Returns
true - successfully ended otherwise false

◆ GetEventCount() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetEventCount ( unsigned long &  eventCount) const

function retrun event count fromevent collection

Parameters
eventCount- output param saved in event collection
Returns
true - successfully ended otherwise false

◆ GetFareProviderNumber() [1/2]

bool ECardDataFacadeCommon::GetFareProviderNumber ( unsigned short &  fareProviderNumber,
const signed char  fareProviderIndex = -1 
) const
Parameters
providerNumber- return by reference value provider number
fareProviderIndex- Provider will be returned from FareDataDirectory in case that index is set (supported only for transdata desfire structures). This is special case for virtual cards
  • In case that index is not set, provider will be returned from CustomerData. Smart card system always return valid customer data.
Note
FareDataDirectory is storage for all information about virtual cards( providers of all virtual cards is included )
Returns
true - successfully end, flase otherwise
Here is the caller graph for this function:

◆ GetFareProviderNumber() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetFareProviderNumber ( unsigned short &  fareProviderNumber,
const signed char  fareProviderIndex = -1 
) const
Parameters
providerNumber- return by reference value provider number
fareProviderIndex- Provider will be returned from FareDataDirectory in case that index is set (supported only for transdata desfire structures). This is special case for virtual cards
  • In case that index is not set, provider will be returned from CustomerData. Smart card system always return valid customer data.
Note
FareDataDirectory is storage for all information about virtual cards( providers of all virtual cards is included )
Returns
true - successfully end, flase otherwise

◆ GetLogicalCardNumber() [1/4]

bool ECardDataFacadeCommon::GetLogicalCardNumber ( std::string &  logicalCardNumber,
const signed char  index = -1 
) const
Parameters
logicalCardNumber- retrun by reference value from structure
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which discountValidity is readed
Returns
true - successfully ended false - ended with error

◆ GetLogicalCardNumber() [2/4]

bool EM::CardFacade::ECardDataFacadeCommon::GetLogicalCardNumber ( std::string &  logicalCardNumber,
const signed char  index = -1 
) const
Parameters
logicalCardNumber- retrun by reference value from structure
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which discountValidity is readed
Returns
true - successfully ended false - ended with error

◆ GetLogicalCardNumber() [3/4]

bool ECardDataFacadeCommon::GetLogicalCardNumber ( unsigned long &  logicalCardNumber,
const signed char  index = -1 
) const
Parameters
logicalCardNumber- retrun by reference value from structure
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which discountValidity is readed
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ GetLogicalCardNumber() [4/4]

bool EM::CardFacade::ECardDataFacadeCommon::GetLogicalCardNumber ( unsigned long &  logicalCardNumber,
const signed char  index = -1 
) const
Parameters
logicalCardNumber- retrun by reference value from structure
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which discountValidity is readed
Returns
true - successfully ended false - ended with error

◆ GetNetworkCode() [1/2]

bool ECardDataFacadeCommon::GetNetworkCode ( unsigned short &  networkCodeInBCD) const
Parameters
networkCode- return by reference value network code in BCD format
Returns
true - successfully ended
false - ended with error
Here is the caller graph for this function:

◆ GetNetworkCode() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetNetworkCode ( unsigned short &  networkCodeInBCD) const
Parameters
networkCode- return by reference value network code in BCD format
Returns
true - successfully ended
false - ended with error

◆ GetNumberOfDiscountCoupons() [1/2]

bool ECardDataFacadeCommon::GetNumberOfDiscountCoupons ( unsigned long &  numberOfCoupons) const

GetNumberOfDiscountCoupons return by numberOfCoupons coupon count in coupon collection.

Returns
true - successfully ended
false - ended with error

◆ GetNumberOfDiscountCoupons() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetNumberOfDiscountCoupons ( unsigned long &  numberOfCoupons) const

GetNumberOfDiscountCoupons return by numberOfCoupons coupon count in coupon collection.

Returns
true - successfully ended
false - ended with error

◆ GetRawUID() [1/2]

bool ECardDataFacadeCommon::GetRawUID ( unsigned char *&  uid) const
Parameters
getuid (unified card ID) in raw byte array (allocate 10 bytes - EPT writes 10 bytes)
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ GetRawUID() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetRawUID ( unsigned char *&  uid) const
Parameters
getuid (unified card ID) in raw byte array (allocate 10 bytes - EPT writes 10 bytes)
Returns
true - successfully ended false - ended with error

◆ GetRequiredDataReadOperation() [1/2]

unsigned short ECardDataFacadeCommon::GetRequiredDataReadOperation ( const unsigned short  dataTypesOperation) const
Here is the caller graph for this function:

◆ GetRequiredDataReadOperation() [2/2]

unsigned short EM::CardFacade::ECardDataFacadeCommon::GetRequiredDataReadOperation ( const unsigned short  dataTypesOperation) const

◆ GetUID() [1/2]

bool ECardDataFacadeCommon::GetUID ( std::string &  uid) const
Parameters
getto uid unified card ID
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ GetUID() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetUID ( std::string &  uid) const
Parameters
getto uid unified card ID
Returns
true - successfully ended false - ended with error

◆ GetWeeklyCappingDate() [1/2]

bool ECardDataFacadeCommon::GetWeeklyCappingDate ( unsigned long &  weeklyCappingDate)

GetWeeklyCappingDate.

Parameters
weeklyCappingDate
Returns

◆ GetWeeklyCappingDate() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetWeeklyCappingDate ( unsigned long &  weeklyCappingDate)

GetWeeklyCappingDate.

Parameters
weeklyCappingDate
Returns

◆ GetWeeklyCappingSum() [1/2]

bool ECardDataFacadeCommon::GetWeeklyCappingSum ( unsigned short &  weeklyCappingSum)

GetWeeklyCappingSum.

Parameters
weeklyCappingSum
Returns

◆ GetWeeklyCappingSum() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::GetWeeklyCappingSum ( unsigned short &  weeklyCappingSum)

GetWeeklyCappingSum.

Parameters
weeklyCappingSum
Returns

◆ Init() [1/2]

ECardFacadeDefines::ReturnValues ECardDataFacadeCommon::Init ( )

set to member actual card implementation and call init on actual implementation

Returns
error enum number

◆ Init() [2/2]

ECardFacadeDefines::ReturnValues EM::CardFacade::ECardDataFacadeCommon::Init ( )

set to member actual card implementation and call init on actual implementation

Returns
error enum number

◆ IsCardBlocked() [1/2]

bool ECardDataFacadeCommon::IsCardBlocked ( bool &  cardBlocked,
const signed char  index = -1 
) const

Check status of card (ok, blocked ...). On Em-DesFire virtual card status is checked, on other cards it is simply card status.

Parameters
cardBlocked- return by reference card blocked
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardBlocked is readed
Returns
true - successfully ended false - ended with error

◆ IsCardBlocked() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsCardBlocked ( bool &  cardBlocked,
const signed char  index = -1 
) const

Check status of card (ok, blocked ...). On Em-DesFire virtual card status is checked, on other cards it is simply card status.

Parameters
cardBlocked- return by reference card blocked
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardBlocked is readed
Returns
true - successfully ended false - ended with error

◆ IsCardFeatureEnabled() [1/2]

bool ECardDataFacadeCommon::IsCardFeatureEnabled ( const ECardFacadeDefines::CommonCardFeatures  feature,
bool &  enabled 
) const
Here is the caller graph for this function:

◆ IsCardFeatureEnabled() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsCardFeatureEnabled ( const ECardFacadeDefines::CommonCardFeatures  feature,
bool &  enabled 
) const

◆ IsCardSold() [1/2]

bool ECardDataFacadeCommon::IsCardSold ( bool &  cardSold,
const signed char  index = -1 
) const
Parameters
cardSold- return by reference flag card sold
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardSold is readed
Returns
true - successfully ended false - ended with error

◆ IsCardSold() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsCardSold ( bool &  cardSold,
const signed char  index = -1 
) const
Parameters
cardSold- return by reference flag card sold
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardSold is readed
Returns
true - successfully ended false - ended with error

◆ IsCommonDataFeatureEnabled() [1/2]

bool ECardDataFacadeCommon::IsCommonDataFeatureEnabled ( const ECardFacadeDefines::CommonDataFeatures  feature,
bool &  enabled 
) const
Here is the caller graph for this function:

◆ IsCommonDataFeatureEnabled() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsCommonDataFeatureEnabled ( const ECardFacadeDefines::CommonDataFeatures  feature,
bool &  enabled 
) const

◆ IsDataValid() [1/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsDataValid ( bool &  validData,
const signed char  index = -1 
)

IsDataValid checks if commonData is valid (is not null)

Parameters
validData- output param indicates commonData validity
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardBlocked is readed
Returns
true if successful, false otherwise
Here is the caller graph for this function:

◆ IsDataValid() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsDataValid ( bool &  validData,
const signed char  index = -1 
)

IsDataValid checks if commonData is valid (is not null)

Parameters
validData- output param indicates commonData validity
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardBlocked is readed
Returns
true if successful, false otherwise

◆ IsDiscountCouponValid() [1/2]

bool ECardDataFacadeCommon::IsDiscountCouponValid ( bool &  isDiscountCouponValid,
const signed char  couponIndex 
) const

IsDiscountCouponValid checks structure data validity.

Parameters
couponIndex- concrete copuon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ IsDiscountCouponValid() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsDiscountCouponValid ( bool &  isDiscountCouponValid,
const signed char  couponIndex 
) const

IsDiscountCouponValid checks structure data validity.

Parameters
couponIndex- concrete copuon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ IsModifiedData() [1/2]

bool ECardDataFacadeCommon::IsModifiedData ( ) const

  • check in actual implementation, if data was modified

Returns
true common data is modified

◆ IsModifiedData() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsModifiedData ( ) const

  • check in actual implementation, if data was modified

Returns
true common data is modified

◆ IsServiceCard() [1/2]

bool ECardDataFacadeCommon::IsServiceCard ( bool &  serviceCard) const
Parameters
serviceCard- return by reference flag service card
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ IsServiceCard() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsServiceCard ( bool &  serviceCard) const
Parameters
serviceCard- return by reference flag service card
Returns
true - successfully ended false - ended with error

◆ IsTransportSectionValid() [1/2]

bool ECardDataFacadeCommon::IsTransportSectionValid ( bool &  tranportSectionValid,
const signed char  index = -1 
) const

function check if transportsection on common card data is valid

Parameters
outputparam indicate transport common data validity
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which tranportSectionValid is readed
Returns
true - successfully ended otherwise false

◆ IsTransportSectionValid() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::IsTransportSectionValid ( bool &  tranportSectionValid,
const signed char  index = -1 
) const

function check if transportsection on common card data is valid

Parameters
outputparam indicate transport common data validity
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which tranportSectionValid is readed
Returns
true - successfully ended otherwise false

◆ PrepareWriteRequest() [1/2]

bool EM::CardFacade::ECardDataFacadeCommon::PrepareWriteRequest ( EM::PT::EDataCollection *  writeRequest) const
Parameters
writeRequest- EDataCollection instance of write request
Returns
true - successfully ended false - error setting or inserting data to write request
Here is the caller graph for this function:

◆ PrepareWriteRequest() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::PrepareWriteRequest ( EM::PT::EDataCollection *  writeRequest) const
Parameters
writeRequest- EDataCollection instance of write request
Returns
true - successfully ended false - error setting or inserting data to write request

◆ SetAppExpireDate() [1/2]

bool ECardDataFacadeCommon::SetAppExpireDate ( const unsigned long  appExpireDate) const
Parameters
appExpireDate- card application issuer expire date
Returns
true - successfully save application issuer expire date to card false - ended with error

◆ SetAppExpireDate() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetAppExpireDate ( const unsigned long  appExpireDate) const
Parameters
appExpireDate- card application issuer expire date
Returns
true - successfully save application issuer expire date to card false - ended with error

◆ SetAppIssuerType() [1/2]

bool ECardDataFacadeCommon::SetAppIssuerType ( const unsigned short  appIssuerType) const
Parameters
appIssuerType- card application issuer type
Returns
true - successfully save application issuer type to card false - ended with error

◆ SetAppIssuerType() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetAppIssuerType ( const unsigned short  appIssuerType) const
Parameters
appIssuerType- card application issuer type
Returns
true - successfully save application issuer type to card false - ended with error

◆ SetBornNumber() [1/2]

bool ECardDataFacadeCommon::SetBornNumber ( const unsigned long  bornNumber) const

function saved owner

Parameters
bornNumber- value saved to structure mifare card holder
Returns
true - successfully ended otherwise false
Here is the caller graph for this function:

◆ SetBornNumber() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetBornNumber ( const unsigned long  bornNumber) const

function saved owner

Parameters
bornNumber- value saved to structure mifare card holder
Returns
true - successfully ended otherwise false

◆ SetCappingProvider() [1/2]

bool ECardDataFacadeCommon::SetCappingProvider ( unsigned short  cappingProvider)

SetCappingProvider.

Parameters
cappingProvider
Returns
Here is the caller graph for this function:

◆ SetCappingProvider() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCappingProvider ( unsigned short  cappingProvider)

SetCappingProvider.

Parameters
cappingProvider
Returns

◆ SetCappingProviderType() [1/2]

bool ECardDataFacadeCommon::SetCappingProviderType ( ECardFacadeDefines::CappingProviderType  cappingProviderType)

SetCappingProviderType.

Parameters
cappingProviderType
Returns
Here is the caller graph for this function:

◆ SetCappingProviderType() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCappingProviderType ( ECardFacadeDefines::CappingProviderType  cappingProviderType)

SetCappingProviderType.

Parameters
cappingProviderType
Returns

◆ SetCardAdditionalDiscountValidity() [1/2]

bool ECardDataFacadeCommon::SetCardAdditionalDiscountValidity ( const unsigned long  additionalDiscountValidity,
const signed char  index = -1 
) const
Parameters
additionalDiscountValidity- value in DAYS without time information
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which additionalDiscountValidity is readed
Returns
true - successfully ended, otherwise false
Here is the caller graph for this function:

◆ SetCardAdditionalDiscountValidity() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardAdditionalDiscountValidity ( const unsigned long  additionalDiscountValidity,
const signed char  index = -1 
) const
Parameters
additionalDiscountValidity- value in DAYS without time information
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which additionalDiscountValidity is readed
Returns
true - successfully ended, otherwise false

◆ SetCardBlocked() [1/2]

bool ECardDataFacadeCommon::SetCardBlocked ( const bool  blocked,
const signed char  index = -1 
) const

Set status ofcard (ok, blocked ...). On Em-DesFire virtual card status is set, on other cards it is simply card status.

Parameters
blocked- true if i want block card false if i want unblock card
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardBlocked is readed
Returns
true - successfully ended false - ended with error

◆ SetCardBlocked() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardBlocked ( const bool  blocked,
const signed char  index = -1 
) const

Set status ofcard (ok, blocked ...). On Em-DesFire virtual card status is set, on other cards it is simply card status.

Parameters
blocked- true if i want block card false if i want unblock card
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardBlocked is readed
Returns
true - successfully ended false - ended with error

◆ SetCardNumber() [1/2]

bool ECardDataFacadeCommon::SetCardNumber ( const unsigned long  cardNumber) const
Parameters
cardNumberis new CardNumber, which write to actual common data
Returns
true - successfully ended false - ended with error

◆ SetCardNumber() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardNumber ( const unsigned long  cardNumber) const
Parameters
cardNumberis new CardNumber, which write to actual common data
Returns
true - successfully ended false - ended with error

◆ SetCardOwnerName() [1/2]

bool ECardDataFacadeCommon::SetCardOwnerName ( const char *  ownerName,
const unsigned short  nameLength 
) const

function set new owner card name

Parameters
ownerName- string represent name
nameLength- string length
Returns
true - successfully ended otherwise false

◆ SetCardOwnerName() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardOwnerName ( const char *  ownerName,
const unsigned short  nameLength 
) const

function set new owner card name

Parameters
ownerName- string represent name
nameLength- string length
Returns
true - successfully ended otherwise false

◆ SetCardOwnerSurname() [1/2]

bool ECardDataFacadeCommon::SetCardOwnerSurname ( const char *  ownerSurname,
const unsigned short  surnameLength 
) const

function set new owner card surname

Parameters
ownerSurname- string represent surname
surnameLength- string length
Returns
true - successfully ended otherwise false

◆ SetCardOwnerSurname() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardOwnerSurname ( const char *  ownerSurname,
const unsigned short  surnameLength 
) const

function set new owner card surname

Parameters
ownerSurname- string represent surname
surnameLength- string length
Returns
true - successfully ended otherwise false

◆ SetCardPublisherNumber() [1/2]

bool ECardDataFacadeCommon::SetCardPublisherNumber ( const unsigned short  cardPublisherNumber) const
Parameters
cardPublisherNumber- card publisher number
Returns
true - successfully save provider number to card false - ended with error
Here is the caller graph for this function:

◆ SetCardPublisherNumber() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardPublisherNumber ( const unsigned short  cardPublisherNumber) const
Parameters
cardPublisherNumber- card publisher number
Returns
true - successfully save provider number to card false - ended with error

◆ SetCardPublisherVersion() [1/2]

bool ECardDataFacadeCommon::SetCardPublisherVersion ( unsigned char  publisherVersion)

SetCardPublisherVersion set version of publisher structure on card.

Note
Publisher version is saved in structure EAppIssuer
Supported medium: Transdata desfire card
Returns
true - successfully ended otherwise false
Here is the caller graph for this function:

◆ SetCardPublisherVersion() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardPublisherVersion ( unsigned char  publisherVersion)

SetCardPublisherVersion set version of publisher structure on card.

Note
Publisher version is saved in structure EAppIssuer
Supported medium: Transdata desfire card
Returns
true - successfully ended otherwise false

◆ SetCardRegionCode() [1/2]

bool ECardDataFacadeCommon::SetCardRegionCode ( const unsigned long  regionCode) const
Parameters
regionCode- card region code
Returns
true - successfully save region code to card false - ended with error

◆ SetCardRegionCode() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardRegionCode ( const unsigned long  regionCode) const
Parameters
regionCode- card region code
Returns
true - successfully save region code to card false - ended with error

◆ SetCardSold() [1/2]

bool ECardDataFacadeCommon::SetCardSold ( const bool  sold,
const signed char  index = -1 
) const
Parameters
sold- true if i want card sold
  • false if i want disable flag sold on card
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardSold is readed
Returns
true - successfully ended false - ended with error

◆ SetCardSold() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardSold ( const bool  sold,
const signed char  index = -1 
) const
Parameters
sold- true if i want card sold
  • false if i want disable flag sold on card
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardSold is readed
Returns
true - successfully ended false - ended with error

◆ SetCardTypeAndSubType() [1/2]

bool ECardDataFacadeCommon::SetCardTypeAndSubType ( const unsigned short  cardType,
const unsigned short  cardSubType,
const unsigned char  customerProfileIndex,
const signed char  index = -1 
) const
Parameters
cardType- new card type, which write to actual common data
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardType is readed
Returns
true - successfully ended false - ended with error

◆ SetCardTypeAndSubType() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardTypeAndSubType ( const unsigned short  cardType,
const unsigned short  cardSubType,
const unsigned char  customerProfileIndex,
const signed char  index = -1 
) const
Parameters
cardType- new card type, which write to actual common data
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which cardType is readed
Returns
true - successfully ended false - ended with error

◆ SetCardValidityEnd() [1/2]

bool ECardDataFacadeCommon::SetCardValidityEnd ( const unsigned long  cardValidityEnd) const
Parameters
cardValidityEnd- new cardValidity in seconds from 1.1.1970
Returns
true - successfully ended false - ended with error

◆ SetCardValidityEnd() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCardValidityEnd ( const unsigned long  cardValidityEnd) const
Parameters
cardValidityEnd- new cardValidity in seconds from 1.1.1970
Returns
true - successfully ended false - ended with error

◆ SetCountryCode() [1/2]

bool ECardDataFacadeCommon::SetCountryCode ( const unsigned short  countryCodeInBCD) const
Parameters
countryCode- card country ISO code
Returns
true - successfully save region code to card
false - ended with error

◆ SetCountryCode() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCountryCode ( const unsigned short  countryCodeInBCD) const
Parameters
countryCode- card country ISO code
Returns
true - successfully save region code to card
false - ended with error

◆ SetCustomerProfileValidityEnd() [1/2]

bool ECardDataFacadeCommon::SetCustomerProfileValidityEnd ( const unsigned long  customerProfileValidityEnd,
const unsigned char  customerProfileIndex = 0,
const signed char  index = -1 
) const
Note
previous method name SetCustomerProfileValidity
Parameters
customerProfileValidityEnd- new customer profile validity in seconds from 1.1.1970 ( card discount validity )
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which customerProfileValidity is readed
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ SetCustomerProfileValidityEnd() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCustomerProfileValidityEnd ( const unsigned long  customerProfileValidityEnd,
const unsigned char  customerProfileIndex = 0,
const signed char  index = -1 
) const
Note
previous method name SetCustomerProfileValidity
Parameters
customerProfileValidityEnd- new customer profile validity in seconds from 1.1.1970 ( card discount validity )
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which customerProfileValidity is readed
Returns
true - successfully ended false - ended with error

◆ SetCustomerProfileValidityStart() [1/2]

bool ECardDataFacadeCommon::SetCustomerProfileValidityStart ( const unsigned long  customerProfileValidityStart,
const unsigned char  customerProfileIndex = 0,
const signed char  index = -1 
) const
Parameters
customerProfileValidityStart- new customer profile validity in seconds from 1.1.1970 ( card discount validity )
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which customerProfileValidity is readed
Returns
true - successfully ended false - ended with error
Here is the caller graph for this function:

◆ SetCustomerProfileValidityStart() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetCustomerProfileValidityStart ( const unsigned long  customerProfileValidityStart,
const unsigned char  customerProfileIndex = 0,
const signed char  index = -1 
) const
Parameters
customerProfileValidityStart- new customer profile validity in seconds from 1.1.1970 ( card discount validity )
index- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which customerProfileValidity is readed
Returns
true - successfully ended false - ended with error

◆ SetDailyCappingDate() [1/2]

bool ECardDataFacadeCommon::SetDailyCappingDate ( unsigned long  dailyCappingDate)

SetDailyCappingDate - method sets daily capping date.

Parameters
dailyCappingDate- date (without time) that daily capping date will be set to
Returns
- true on success, otherwise false
Here is the caller graph for this function:

◆ SetDailyCappingDate() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetDailyCappingDate ( unsigned long  dailyCappingDate)

SetDailyCappingDate - method sets daily capping date.

Parameters
dailyCappingDate- date (without time) that daily capping date will be set to
Returns
- true on success, otherwise false

◆ SetDailyCappingSum() [1/2]

bool ECardDataFacadeCommon::SetDailyCappingSum ( unsigned short  dailyCappingSum)

SetDailyCappingSum.

Parameters
dailyCappingSum
Returns
Here is the caller graph for this function:

◆ SetDailyCappingSum() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetDailyCappingSum ( unsigned short  dailyCappingSum)

SetDailyCappingSum.

Parameters
dailyCappingSum
Returns

◆ SetDiscountCouponValidityEnd() [1/2]

bool ECardDataFacadeCommon::SetDiscountCouponValidityEnd ( const unsigned long  couponValidityEnd,
const signed char  couponIndex 
) const

SetDiscountCouponValidityEnd set valdity end.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error
Here is the caller graph for this function:

◆ SetDiscountCouponValidityEnd() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetDiscountCouponValidityEnd ( const unsigned long  couponValidityEnd,
const signed char  couponIndex 
) const

SetDiscountCouponValidityEnd set valdity end.

Parameters
couponIndex- concrete coupon index in coupon collection
Returns
true - successfully ended
false - ended with error

◆ SetFareProviderNumber() [1/2]

bool ECardDataFacadeCommon::SetFareProviderNumber ( const unsigned short  providerNumber,
const signed char  fareProviderIndex = -1 
) const

SetFareProviderNumber - set provider to FareDataDirectory. Supported only for TransData desfire medium.

Parameters
providerNumber- new provider number ( concrete company provider number )
fareProviderIndex- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which providerNumber is readed
Returns
true - successfully save provider number to card false - ended with error
Here is the caller graph for this function:

◆ SetFareProviderNumber() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetFareProviderNumber ( const unsigned short  providerNumber,
const signed char  fareProviderIndex = -1 
) const

SetFareProviderNumber - set provider to FareDataDirectory. Supported only for TransData desfire medium.

Parameters
providerNumber- new provider number ( concrete company provider number )
fareProviderIndex- sometimes in readedDataCollection is not one commonData, but commonDataColl. Index is order of commonData saved in commonDataColl, from which providerNumber is readed
Returns
true - successfully save provider number to card false - ended with error

◆ SetNetworkCode() [1/2]

bool ECardDataFacadeCommon::SetNetworkCode ( const unsigned short  networkCodeInBCD) const
Parameters
networkCode- card network code
Returns
true - successfully save network code in BCD format
false - ended with error

◆ SetNetworkCode() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetNetworkCode ( const unsigned short  networkCodeInBCD) const
Parameters
networkCode- card network code
Returns
true - successfully save network code in BCD format
false - ended with error

◆ SetServiceCard() [1/2]

bool ECardDataFacadeCommon::SetServiceCard ( const bool  serviceCard) const
Parameters
serviceCard- true is service card
  • false isnt service card
Returns
true - successfully ended false - ended with error

◆ SetServiceCard() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetServiceCard ( const bool  serviceCard) const
Parameters
serviceCard- true is service card
  • false isnt service card
Returns
true - successfully ended false - ended with error

◆ SetWeeklyCappingDate() [1/2]

bool ECardDataFacadeCommon::SetWeeklyCappingDate ( unsigned long  weeklyCappingDate)

SetWeeklyCappingDate - method sets weekly capping date.

Parameters
weeklyCappingDate- date (without time) that weekly capping date will be set to
Returns
- true on success, otherwise false
Here is the caller graph for this function:

◆ SetWeeklyCappingDate() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetWeeklyCappingDate ( unsigned long  weeklyCappingDate)

SetWeeklyCappingDate - method sets weekly capping date.

Parameters
weeklyCappingDate- date (without time) that weekly capping date will be set to
Returns
- true on success, otherwise false

◆ SetWeeklyCappingSum() [1/2]

bool ECardDataFacadeCommon::SetWeeklyCappingSum ( unsigned short  weeklyCappingSum)

SetWeeklyCappingSum.

Parameters
weeklyCappingSum
Returns
Here is the caller graph for this function:

◆ SetWeeklyCappingSum() [2/2]

bool EM::CardFacade::ECardDataFacadeCommon::SetWeeklyCappingSum ( unsigned short  weeklyCappingSum)

SetWeeklyCappingSum.

Parameters
weeklyCappingSum
Returns

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