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
transaction.h
Go to the documentation of this file.
1
13
#ifndef __TRAMSACTION__H_
14
#define __TRAMSACTION__H_
15
16
#include "
SPIDEF.h
"
17
#include "types.def"
18
#include <string>
19
20
using
std::string;
21
22
namespace
Modularity {
23
24
namespace
SPI {
30
class
Transaction
31
{
32
APIHandle
TransactionHandle;
33
public
:
37
43
SPILIBRARY_API
Transaction
(
AmountType
Amount,
CurrencyType
Currency,
string
VendorUID);
44
48
SPILIBRARY_API
virtual
~Transaction
() = 0;
49
54
SPILIBRARY_API
PPIDType
GetPinPadId
()
const
;
55
60
SPILIBRARY_API
void
SetPinPadId
(
PPIDType
PinPadID);
61
66
SPILIBRARY_API
string
GetVendorUID
()
const
;
67
72
SPILIBRARY_API
AmountType
GetAmount
()
const
;
73
78
SPILIBRARY_API
CurrencyType
GetCurrency
()
const
;
79
81
84
93
SPILIBRARY_API
ResultType
GetTransactionResultCode
()
const
;
94
102
SPILIBRARY_API std::string
GetTransactionResultMessage
()
const
;
103
107
108
APIHandle
GetTransactionHandle
()
const
;
109
};
110
}
111
}
112
113
#endif
Generated by
1.8.2