SPI
1.2012.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
NayaxVendTransaction.h
Go to the documentation of this file.
1
13
#ifndef __NAYAXVENDTRANSACTION_H__
14
#define __NAYAXVENDTRANSACTION_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
NayaxVendTransaction
:
public
Transaction
{
33
public
:
37
42
SPILIBRARY_API
NayaxVendTransaction
(
string
VendorUID);
43
55
SPILIBRARY_API
SPI_RET_VAL
AddItem
(
AmountType
Amount,
string
ItemCode,
CounterType
Quantity,
NayaxVend::UnitOfMeasurement
QuantityUnit);
56
58
59
63
68
SPILIBRARY_API
bool
WasSuccessful
()
const
;
69
74
SPILIBRARY_API
string
GetTransasctionId
()
const
;
75
80
SPILIBRARY_API
string
GetLast4Digits
()
const
;
81
86
SPILIBRARY_API
NayaxVend::CardType
GetCardType
()
const
;
87
92
SPILIBRARY_API
string
GetCardBIN
()
const
;
93
98
SPILIBRARY_API
string
GetCardBINHashed
()
const
;
99
104
SPILIBRARY_API
NayaxVend::CardEntryType
GetCardEntryMode
()
const
;
105
107
108
112
SPILIBRARY_API
~NayaxVendTransaction
();
113
117
APIHandle
GetNayaxVendHandle
()
const
;
118
private
:
119
APIHandle
NayaxVendHandle;
121
};
122
}
123
}
124
125
#endif
Generated by
1.8.2