13 #ifndef __EMVTRANSACTION_H__ 14 #define __EMVTRANSACTION_H__ 53 SPILIBRARY_API
void SetAsCNP(
string PAN,
string Exp,
string CVV);
124 SPILIBRARY_API
string GetRRN()
const;
SPILIBRARY_API std::vector< ReceiptLine > GetMerchentRecipt() const
Get a list of (key,value). Vending application prints the list provided from this function by it's or...
This namespace contains avilible API from Modularity Inc.
SPILIBRARY_API EmvTransaction(string VendorUID, AmountType Amount)
Class constructor. When this an item must be added using AddItem()
SPILIBRARY_API void SetEmvData(UnsignedNumericType Tag, string Value)
Set EMV data manually when card was read externally.
SPILIBRARY_API std::vector< ReceiptLine > GetCustomerRecipt() const
Get a list of (key,value). Vending application prints the list provided from this function by it's or...
SPILIBRARY_API void SetAsCNP(string PAN, string Exp, string CVV)
Set card data manually.
This class contains all the input data and output data of EmvTransaction transactions, including the methods inherited from class Transaction. All data in this class is reachable through various methods which define the behaivor of the operation.
APIHandle GetEmvHandle() const
Handle get - reserved for internal useage.
SPILIBRARY_API ~EmvTransaction()
Class desrstructor
This file conatins all defenitions which are used in SPI API.
This class contains all the input data and output data of Transactions. Those methods are common to a...
uint32_t UnsignedNumericType
SPILIBRARY_API string GetMaskedPAN() const
Get PAN with masked digits except 6 first and last 4 digits.
virtual SPILIBRARY_API std::string GetTransactionResultMessage() const
Get transaction result message. Messages are in English.
This file conatins all requiered methods for abstract SPI Transaction.
SPILIBRARY_API string GetCurrencyISOCode() const
Get Currency code used for for transaction.
SPILIBRARY_API string GetRRN() const
Get transaction RRN from processor.
SPILIBRARY_API bool WasApproved() const
A method that tells post transaction weather transaction succeded or not.