13 #ifndef __CIBUSTRANSACTION_H__ 14 #define __CIBUSTRANSACTION_H__ 145 SPILIBRARY_API
string GetPosId()
const;
SPILIBRARY_API Cibus::CibusTranType GetTranType() const
Get transaction type.
SPILIBRARY_API void SetCompanyCode(string CompanyCode)
Set Company Code when transaction is done explicitly with company card.
APIHandle GetCibusHandle() const
Handle get - reserved for internal useage.
This namespace contains avilible API from Modularity Inc.
This class contains all the input data and output data of Cibus transactions, including the methods i...
virtual SPILIBRARY_API std::string GetTransactionResultMessage() const
Get transaction result message. Messages are in English.
SPILIBRARY_API string GetCompanyName() const
Get Company Name that Cibus card belnogs to.
SPILIBRARY_API void SetOriginalOrderId(string OriginalOrderId)
Set Original order id when CibusTranType is CancelOrder.
SPILIBRARY_API string GetAdditionalInfo() const
Get AdditionalInfo set from SetAdditionalInfo()
SPILIBRARY_API ~CibusTransaction()
Class desrstructor.
SPILIBRARY_API CibusTransaction(string VendorUID, AmountType Amount)
Class constructor. This type of transaction will result CibusTranType eq CibusTranType_AddOrder.
SPILIBRARY_API AmountType GetBudgetBalance() const
Get Buget Balance from Cibus.
SPILIBRARY_API void SetCardData(string CardData)
Set Card Data, can be obtained from Company Card, Cibus One Time code, Card number.
SPILIBRARY_API string GetOrderId() const
Get Order Id from Cibus.
SPILIBRARY_API Cibus::CibusCardType GetCardType() const
Get the card type used for the transaction.
SPILIBRARY_API void SetAdditionalInfo(string AdditionalInfo)
Set AdditionalInfo. This is echo parameter. retreived by GetAdditionalInfo() and saved to DB on succe...
SPILIBRARY_API void SetAcquirer(Cibus::CibusAcquirer Acquirer)
Set Cibus Acquirer according to values in Cibus::CibusAcquirer. If not set default is CibusAcquirer_C...
SPILIBRARY_API string GetPosId() const
Get PosId of resturant.
SPILIBRARY_API Cibus::CibusAcquirer GetAcquirer() const
Get transaction acquirer - this value is not set by the service.
This file conatins all defenitions which are used in SPI API.
SPILIBRARY_API bool WasApproved() const
A method that tells post transaction weather transaction succeded or not.
This class contains all the input data and output data of Transactions. Those methods are common to a...
SPILIBRARY_API Cibus::CibusCardEntryType GetCardEntryType() const
Get the card type used for the transaction.
This file conatins all requiered methods for abstract SPI Transaction.