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
NayaxEngineTransaction.h
Go to the documentation of this file.
1
13
#ifndef __NAYAXENGINETRANSACTION_H__
14
#define __NAYAXENGINETRANSACTION_H__
15
16
#include <iostream>
17
#include <string>
18
#include <cstring>
19
#include <vector>
20
21
#include "
SPIDEF.h
"
22
#include "
transaction.h
"
23
24
using
std::string;
25
26
namespace
Modularity {
27
namespace
SPI {
32
class
NayaxEngineTransaction
:
public
Transaction
{
33
public
:
37
42
SPILIBRARY_API
NayaxEngineTransaction
(
string
VendorUID,
AmountType
Amount,
UnsignedNumericType
APMCode);
43
50
SPILIBRARY_API
void
SetItemsQuantity
(
CounterType
Quantity);
51
53
54
58
64
SPILIBRARY_API
string
GetQRCodeData
()
const
;
65
70
SPILIBRARY_API
bool
TokenReceived
()
const
;
71
72
73
75
79
84
SPILIBRARY_API
bool
WasSuccessful
()
const
;
85
90
SPILIBRARY_API
string
GetTransasctionId
()
const
;
91
92
104
SPILIBRARY_API std::vector<ReceiptLine>
GetMerchentRecipt
()
const
;
105
110
SPILIBRARY_API
string
GetFullName
()
const
;
111
116
SPILIBRARY_API
string
GetCurrencyCode
()
const
;
118
119
123
SPILIBRARY_API
~NayaxEngineTransaction
();
124
128
APIHandle
GetNayaxEngineHandle
()
const
;
129
private
:
130
APIHandle
NayaxEngineHandle;
132
};
133
}
134
}
135
136
#endif
Generated by
1.8.2