54 SPILIBRARY_API
Config(
string COMPort);
183 SPILIBRARY_API
string GetIP();
189 SPILIBRARY_API
string GetCOM();
SPILIBRARY_API string GetIP()
Get IP provided in TCP based in TCP constructor.
SPILIBRARY_API void SetProcessorHostname(string Hostname)
Set Proccessor host name.
SPILIBRARY_API Config & operator=(const Config &NewConfig)
Copy constructor.
This namespace contains avilible API from Modularity Inc.
APIHandle GetConfigHandle()
Reserved for internal useage.
SPILIBRARY_API void SetProcessorKeystoreId(std::string KeystoreId)
Set keystore id to use with processor.
This class contains all the methods to Config a Service or a device when attached to a Service...
SPILIBRARY_API ExcUnitLocation GetEUL()
Get the execute location of the service.
SPILIBRARY_API void EnableBalanceQueryLoyalty()
Query Balance for a prepaid card before loyalty phase.
SPILIBRARY_API void SetMutavByMutag(Modularity::SPI::Ashrait::Mutag mutag, std::string mutav)
Set Rav mutav by Mutag.
SPILIBRARY_API void ConfigPaymentAggregator(std::string Key, std::string Value)
Set Payment Aggregator configuration. Key "name" must be set according to the payment aggreagtor...
SPILIBRARY_API void SetLanguage(SPILanguage Language)
Set the display language on a PINPad Periodic operations.
SPILIBRARY_API SPI_RET_VAL SetProcessorPortNumber(PortType Port)
Set Proccessor Port number. For SHVA test envitment calling this method is not necessary.
SPILIBRARY_API ~Config()
default destructor
SPILIBRARY_API string GetCOM()
Get Serial port provided in Seri based in TCP constructor.
SPILIBRARY_API void SetProcessorID(Modularity::SPI::Ashrait::ProcessorId Id)
Set your service processor. Using this will load deafult certificate and settings for choosen process...
SPILIBRARY_API void SetMasterSlaveMode(MasterSlaveMode mode)
Set Master/Slave Mode, none is default.
SPILIBRARY_API void SetMode(SPIMode Mode)
Set the mode of the device. may be idle always or by sessio request.
SPILIBRARY_API SPI_RET_VAL SetProcessorIPAddress(string IPAddress)
Set Proccessor IP address directory.
SPILIBRARY_API void SetDepositServerKeystoreId(std::string KeystoreId)
Set keystore id to use with depsit server.
SPILIBRARY_API void UseTestCertificate()
Use test enviorment certificate for the gateway if needed.
SPILIBRARY_API SPI_RET_VAL SetCertificateFilesDirectory(string Path)
Set certificate directory.
SPILIBRARY_API void AddRetailerForSplit(std::string Retailer, Modularity::SPI::Ashrait::Manpik Issuer, std::string SplitRetailer)
Set Retailer for Split transaction, only for Ashrait Service.
SPILIBRARY_API string GetCustomAttribute(const std::string &Key)
Get custom attribute.
SPILIBRARY_API SPI_RET_VAL SetECRIdentifier(string ID)
ECR Identifier number In AshraitEMV , ID must be a number in range of 1:999.
SPILIBRARY_API void EnableCardEjectionEnforcement()
Enforce card ejection from slot before transaction is over.
SPILIBRARY_API void EnableMiniSettelment()
Enable mini settelment transmission post sucessful transaction. Mini-settlment is done as part of thr...
SPILIBRARY_API void EnableNayaxXCR()
Enavble Nayax External cashless report.
This file conatins all defenitions which are used in SPI API.
SPILIBRARY_API void DisableFullPanOnMerchentReceipt()
Disable get the PAN unmasked in merchent receipt.
SPILIBRARY_API void SetCustomAttribute(const std::string &Key, std::string Value)
Set custom attribute to pass to Device using SetConfig.
SPILIBRARY_API void SetProcessorEndpoint(std::string endpoint)
Set processor endpoint.
SPILIBRARY_API Config()
This constructor is used when service is running on the machine as dynamic library.
SPILIBRARY_API SPIMode GetMode()
Get the mode of the device. may be idle always or by sessio request.
SPILIBRARY_API SPI_STATUS GetStatus()
Get status of Config (Not supported in this version)
SPILIBRARY_API SPI_RET_VAL SetManufactureID(string ID)
Manufacture Id in Process.