AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ECardFacadeWalletLog.h
Go to the documentation of this file.
1 #ifndef ECARDFACADEWALLETLOG_H
2 #define ECARDFACADEWALLETLOG_H
3 
4 #include "eabstractrequest/EDataCollection.h"
5 #include "eptrequest/edesrequest/EDesfirePurseLog.h"
6 #include "eptrequest/eaplrequest/EPurseEmtestLog.h"
7 
8 namespace EM
9 {
10  namespace EventFileProcessor
11  {
15  {
16  public:
17  static bool IsPurseLogDataValid( EM::PT::EDataCollection *dataCollection );
18 
19  static unsigned long GetTimeDate( EM::PT::EDataCollection *dataCollection );
20  static unsigned long GetDeviceCounter( EM::PT::EDataCollection *dataCollection );
21  static unsigned short GetWalletCounter( EM::PT::EDataCollection *dataCollection );
22  DEPRECATED( static unsigned long GetReceiptCounter( EM::PT::EDataCollection *dataCollection ) );
23  static unsigned long GetWalletSamCounter( EM::PT::EDataCollection *dataCollection );
24  static unsigned long GetWalletSamNumber( EM::PT::EDataCollection *dataCollection );
25  static unsigned long GetDevice( EM::PT::EDataCollection *dataCollection );
26  static long GetWalletBalanceBefore( EM::PT::EDataCollection *dataCollection );
27  static unsigned long GetPrice( EM::PT::EDataCollection *dataCollection );
28  static unsigned long GetTransactionType( EM::PT::EDataCollection *dataCollection );
29 
30  private:
31  static EM::PT::EDesfirePurseLog *GetDesfirePurseLog( EM::PT::EDataCollection *dataCollection );
32  static EM::PT::EPurseEmtestLog *GetMifarePurseLog( EM::PT::EDataCollection *dataCollection );
33  };
34  }
35 }
36 
37 #endif // ECARDFACADEWALLETLOG_H
DEPRECATED(static unsigned long GetReceiptCounter(EM::PT::EDataCollection *dataCollection))
static unsigned long GetDevice(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:241
static unsigned long GetDeviceCounter(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:130
static unsigned long GetPrice(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:305
static long GetWalletBalanceBefore(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:273
static unsigned long GetTimeDate(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:98
static unsigned long GetWalletSamNumber(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:220
static bool IsPurseLogDataValid(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:61
static unsigned long GetWalletSamCounter(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:199
SYSTEM INCLUDES.
Definition: CardFacadeManagerXML.h:6
Implementation of card data facade for wallet log structures.
Definition: ECardFacadeWalletLog.h:14
static unsigned short GetWalletCounter(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:162
static unsigned long GetTransactionType(EM::PT::EDataCollection *dataCollection)
Definition: ECardFacadeWalletLog.cpp:337