AppCore
Loading...
Searching...
No Matches
ECardDataFacadeLog.h
Go to the documentation of this file.
1#ifndef ECARDDATAFACADELOG_H
2#define ECARDDATAFACADELOG_H
3
4#include "appcore/cardfacade/ECardFacadeDefines.h"
5#include "core/common/eplatform.h"
6
7class EMoneyData;
8
9namespace EM
10{
11 namespace PT
12 {
13 class EDataCollection;
14 class EAplRequest;
15 }
16
17 namespace CardFacade
18 {
19 class ECardDataStorage;
21 {
22 public:
27 ECardDataFacadeLog( ECardDataStorage *cardDataStorage );
28
33 virtual ~ECardDataFacadeLog();
34
40
44 void Clear();
45
50 bool IsModifiedData() const;
51
56 bool AddDataToWriteRequest( EM::PT::EDataCollection *writeRequest ) const;
57
63 bool AddDataTypeToReadRequest( PT::EAplRequest *readRequest[], unsigned short dataTypesOperation ) const;
64
69 bool GetTimeData( unsigned long &timeDate ) const;
70
75 bool SetTimeData( const unsigned long timeDate ) const;
76
84 bool GetNetworkID( unsigned long &networkID ) const;
85
93 bool SetNetworkID( const unsigned long networkID ) const;
94
103 bool GetServiceProvider( unsigned long &serviceProvider ) const;
104 bool SetServiceProvider( const unsigned long serviceProvider ) const;
105
109 bool GetDevice( unsigned long &device ) const;
110
114 bool SetDevice( const unsigned long device ) const;
115
119 bool GetDeviceCounter( unsigned long &deviceCounter ) const;
120
124 bool SetDeviceCounter( const unsigned long deviceCounter ) const;
125
133 bool GetPriceAmountUnit( EMoneyData &moneyData ) const;
134
142 bool SetPriceAmountUnit( const EMoneyData &moneyData ) const;
143
151 bool GetVAT( unsigned long &vat ) const;
152
160 bool SetVAT( const unsigned long vat ) const;
161
170 bool GetData( unsigned char &serviceID, unsigned char &serviceAmount, const unsigned char pos ) const;
171
180 bool SetData( const unsigned char serviceID, const unsigned char serviceAmount, const unsigned char pos ) const;
181
189 bool IsCardFeatureEnabled( const ECardFacadeDefines::LogCardFeatures feature, bool &enabled ) const;
190
195 bool GetWalletBalanceBefore( long &balanceBefore ) const;
196
201 bool SetWalletBalanceBefore( const long balanceBefore ) const;
202
207 bool GetPrice( unsigned long &price ) const;
208
213 bool SetPrice( const unsigned long price ) const;
214
225 bool GetTransactionType( unsigned long &transactionType ) const;
226
237 bool SetTransactionType( const unsigned long transactionType ) const;
238
242 bool GetWalletCounter( unsigned short &walletCounter ) const;
243
247 bool SetWalletCounter( const unsigned short walletCounter ) const;
248
255 bool GetWalletSamNumber( unsigned long &walletSamNumber ) const;
256
263 bool SetWalletSamNumber( const unsigned long walletSamNumber ) const;
264
271 bool GetWalletSamCounter( unsigned long &walletSamCounter ) const;
272
279 bool SetWalletSamCounter( const unsigned long walletSamCounter ) const;
280
281 bool IsDataValid( bool &validData ) const;
282
289 bool SetDataValid( const bool validData ) const;
290
291 private:
293
294 class DataClass;
295 DataClass *d;
296
298 };
299 }
300}
301
302#endif // ECARDDATAFACADELOG_H
void SetPrice(unsigned long value)
unsigned long GetPrice()
void Init(__ESTRING path)
#define DLL_API
Definition ECardFacadeDefines.h:8
Definition ECardDataFacadeLog.h:21
bool AddDataToWriteRequest(EM::PT::EDataCollection *writeRequest) const
bool AddDataTypeToReadRequest(PT::EAplRequest *readRequest[], unsigned short dataTypesOperation) const
card data storage, who fill if card readed
Definition ECardDataStorage.h:60
LogCardFeatures
Definition ECardFacadeDefines.h:68
ReturnValues
Definition ECardFacadeDefines.h:145
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7