13 #ifndef __NAYAXVENDTRANSACTION_H__ 14 #define __NAYAXVENDTRANSACTION_H__ virtual SPILIBRARY_API std::string GetTransactionResultMessage() const
Get transaction result message. Messages are in Hebrew. If service configured to English Messages wil...
SPILIBRARY_API string GetLast4Digits() const
Get card 4 last digits that used in transaction.
This namespace contains avilible API from Modularity Inc.
SPILIBRARY_API ~NayaxVendTransaction()
Class desrstructor
SPILIBRARY_API AmountType GetApprovedVendAmount() const
Get transaction final amount. Usually EQ Amount-Discount.
This class contains all the input data and output data of AshraitEMV 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.
SPILIBRARY_API NayaxVendTransaction(string VendorUID)
Class constructor. When this an item must be added using AddItem()
SPILIBRARY_API AmountType GetDiscount() const
Get Discount made by DCS rules.
SPILIBRARY_API string GetTransasctionId() const
Get transaction identifier on Nayax DCS.
SPILIBRARY_API string GetCardBIN() const
Get card BIN.
This file conatins all defenitions which are used in SPI API.
APIHandle GetNayaxVendHandle() const
Handle get - reserved for internal useage.
This class contains all the input data and output data of Transactions. Those methods are common to a...
SPILIBRARY_API SPI_RET_VAL AddItem(AmountType Amount, string ItemCode, CounterType Quantity, NayaxVend::UnitOfMeasurement QuantityUnit)
Set transaction credit card deatils when no device is used.
SPILIBRARY_API NayaxVend::CardEntryType GetCardEntryMode() const
Get card entry mode.
SPILIBRARY_API string GetCardBINHashed() const
Get card BIN hashed by MD5?
SPILIBRARY_API NayaxVend::CardType GetCardType() const
Get card type used for transaction.
SPILIBRARY_API bool WasSuccessful() const
A method that tells post transaction weather transaction succeded or not.
This file conatins all requiered methods for abstract SPI Transaction.