SPI
1.2111.2
Secured Payment Interface
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
Report.h
Go to the documentation of this file.
1
13
#ifndef __REPORT__H_
14
#define __REPORT__H_
15
16
17
#include "
SPIDEF.h
"
18
#include "types.def"
19
#include <string>
20
#include <vector>
21
22
using
std::string;
23
24
namespace
Modularity {
25
26
namespace
SPI {
30
class
Report
31
{
32
APIHandle
ReportHandle;
33
public
:
34
39
SPILIBRARY_API
Report
(
ReportType
Type);
40
41
42
47
SPILIBRARY_API
string
GetDate
()
const
;
48
58
SPILIBRARY_API
SPI_RET_VAL
GetPrintableString
(std::string & OutputResult)
const
;
59
67
SPILIBRARY_API
SPI_RET_VAL
SetZReportFormat
(
ZReportFormat
Format) ;
68
76
SPILIBRARY_API
SPI_RET_VAL
GetZReportString
(std::string & OutputResult)
const
;
77
82
SPILIBRARY_API std::string
GetACKNumber
()
const
;
83
91
SPILIBRARY_API
SPI_RET_VAL
GetTotal
(
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
92
100
SPILIBRARY_API
SPI_RET_VAL
GetTotalRefunds
(
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
101
109
SPILIBRARY_API
SPI_RET_VAL
GetTotalCancellations
(
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
110
120
SPILIBRARY_API
SPI_RET_VAL
GetTotalBySolek
(
Ashrait::Solek
Solek
, std::string & OutputSolekName,
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
121
131
SPILIBRARY_API
SPI_RET_VAL
GetTotalRefundBySolek
(
Ashrait::Solek
Solek,std::string & OutputSolekName,
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
132
133
141
SPILIBRARY_API
SPI_RET_VAL
GetTotalUsd
(
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
142
150
SPILIBRARY_API
SPI_RET_VAL
GetTotalRefundsUsd
(
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
151
159
SPILIBRARY_API
SPI_RET_VAL
GetTotalCancellationsUsd
(
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
160
170
SPILIBRARY_API
SPI_RET_VAL
GetTotalBySolekUsd
(
Ashrait::Solek
Solek, std::string & OutputSolekName,
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
171
181
SPILIBRARY_API
SPI_RET_VAL
GetTotalRefundBySolekUsd
(
Ashrait::Solek
Solek, std::string & OutputSolekName,
AmountType
& OutputAmount,
CounterType
& OutputCounter)
const
;
182
187
SPILIBRARY_API
string
GetAccumlateStartDate
()
const
;
188
193
SPILIBRARY_API
SPI_RET_VAL
ResetAccumlateReport
()
const
;
194
195
200
SPILIBRARY_API std::vector<AcquiredBrandInfo>
GetAcquiredBrandsInformation
()
const
;
201
202
208
SPILIBRARY_API
SPI_RET_VAL
ResetEntityVersion
();
209
216
SPILIBRARY_API
SPI_RET_VAL
SetUIDSuffix
(std::string UidSuffix);
217
218
224
SPILIBRARY_API std::vector<std::string>
GetQueriedTransactions
()
const
;
225
232
SPILIBRARY_API std::vector<EndOfDayReportInfo>
GetQueriedReports
()
const
;
233
242
SPILIBRARY_API
SPI_RET_VAL
SetACKNumber
(std::string ACKNumber);
243
247
254
SPILIBRARY_API Report*
SetSubRetailerFor
(
string
SubRetailer
);
255
261
SPILIBRARY_API std::vector<std::string>
GetQueriedSubRetailers
()
const
;
262
264
268
APIHandle
GetReportHandle
()
const
;
269
};
270
271
}
272
273
}
274
275
#endif
Generated by
1.8.2