SPI
1.2403.0
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 "
EmvTransaction.h
"
23
24
using
std::string;
25
26
namespace
Modularity {
27
namespace
SPI {
32
class
NayaxEngineTransaction
:
public
EmvTransaction
{
33
public
:
34
38
44
SPILIBRARY_API
NayaxEngineTransaction
(
string
VendorUID,
AmountType
Amount);
45
47
48
52
65
SPILIBRARY_API
NayaxEngineTransaction
(
string
VendorUID,
AmountType
Amount,
UnsignedNumericType
APMCode);
66
73
SPILIBRARY_API
void
SetItemsQuantity
(
CounterType
Quantity);
74
80
SPILIBRARY_API
void
SetAsRefund
(
string
OriginalTransactionId);
81
87
SPILIBRARY_API
void
SetAsDeferredAuthorization
();
88
94
SPILIBRARY_API
void
SetCardData
(
string
CardData);
95
101
SPILIBRARY_API
void
SetCibusCompanyCode
(
UnsignedNumericType
CompanyCode);
102
108
SPILIBRARY_API
void
SetSparkId
(
string
& sparkId);
109
110
112
113
117
123
SPILIBRARY_API
string
GetQRCodeData
()
const
;
124
129
SPILIBRARY_API
bool
TokenReceived
()
const
;
130
131
132
134
138
143
SPILIBRARY_API
bool
WasSuccessful
()
const
;
144
149
SPILIBRARY_API
NayaxEngine::NayaxEngineTransactionType
GetTransactionType
()
const
;
150
151
152
157
SPILIBRARY_API
string
GetTransasctionId
()
const
;
158
159
164
SPILIBRARY_API
string
GetDTID
()
const
;
165
170
SPILIBRARY_API
string
GetFullName
()
const
;
171
176
SPILIBRARY_API
string
GetCurrencyCode
()
const
;
177
182
SPILIBRARY_API
bool
IsPending
()
const
;
184
185
189
SPILIBRARY_API
~NayaxEngineTransaction
();
190
194
APIHandle
GetNayaxEngineHandle
()
const
;
195
private
:
196
APIHandle
NayaxEngineHandle;
198
};
199
}
200
}
201
202
#endif
Generated by
1.8.2