The Interfaces

The LS Pay domain includes the interfaces the plugins will adhere to. Plugins can inherit different subsets of functionality and every plugin is unique. All plugins inherit IEAManagement, ISettingService, ILogService, IEFT, and either IPED or IPIS, depending on the plugin being App2App (on Android) or a standard PED.

The following interfaces are available in LS Pay:

 
InterfaceEntityDescription
IEAManagementEAMThis is the entry point to the EFT connection (plugin). As an entry point it delivers access to other services (for example EFT, line items, and barcode reader), if these are available. This entry point maintains the connection with the device and handles pairing, if needed.
IBarcodeReaderEAMThe barcode interface provides barcode reading service for each PED that supports the action.
IBarcodeReaderServiceEAMGives access to the barcode reader on the PED.
ILineItemsEAMThe line items interface provides access to line items management on each PED that supports the action.
ILineItemServiceEAMAdd a single line item or remove all line items on the PED.
ILineItemsManagementEAMAdditional service, update, or remove item by ID on PED.
ILineItemsDisplayEAMAdditional service, send request to display items on PED's screen.
IPairEAMThe IPair interface indicates a pairing is needed when connecting a terminal.
IPairOnPOSEAMThe IPairOnPOS (inherits IPair interface) gives access to a function receiving a pairing code from the POS to send to the terminal.
IPairOnTerminalEAMThe IPairOnTerminal (inherits IPair interface) activates the pairing function on the terminal and sends the code using an event to the POS. This pairing code should then be keyed in on the terminal.
IPrinterEAMThe printer interface provides access to the printer on the PED.
IPrinterServiceEAMThe IPrinterService interface gives access to multiple printing interfaces for a device.
IBitmapPrintingEAMA function that receives a bitmap from the POS and prints on the terminal.
ILineFeedPrintingEAMIf the printer allows linefeed it can be sent from the POS.
IPrinterFontHandleEAMIf it is possible to indicate a font that has been uploaded on the terminal.
IReceiptPrintingEAMIf the printer can accept multiple lines from the POS, Specially set for receipts of type ReceiptLine in LS Pay.
ITextPrintingEAMIf the printer can accept request to print a single line.
IReprintEAMThe IReprint interface indicates that it is possible to activate a function on the terminal to print a receipt.
IReprintLastEAMIf the PED can print out the last receipt, no identification needed.
IReprintReceiptEAMIf the PED can accept what receipt to print, by unique identification number.
IExternalConfigurationEAMCommunication with the external device when it needs to update or reconfigure.
IMobileEAMFunctions that only apply to PSPs that connect to a mobile. Gives access to functions when application enters background or foreground.
IPropertiesEAMIf PED can supply properties, like version numbers, hardware information, and software information. Also if it is possible to update particular settings.
IAdditionalDataEFTEmpty interface. If receipts need to return additional information that is not known or needed in other plugins.
IAmountConfirmationEFTNote: Obsolete as of 10/2020. Use IVerification instead.The option of sending a confirmation from the POS that the given amount is valid.
ICancelEFTIf the Plugin is ICancel the user can cancel ongoing transactions if the terminal has not sent the request to the acquirer.
ICardDataEFTRetrieve information from card.
ICardVerificationEFTNote: Obsolete as of 10/2020. Use IVerification instead.Verify card information to proceed with the transaction being processed.
IPayFeatureFlagEFTEach plugin has particular features the POS can check for, for example does it accept tips or cash back from the POS or is it accepted on the PED? Is it possible to do referenced refunds, receive receipts? and so on.
IEFTEFTAn empty interface. Base for all other EFT interfaces.
IPEDEFTThe IPED interface (inherits IEFT interface) provides payment session management, payment transactions (purchase, refund, void), and query about previous transactions.
IQREFTThe IQR interface (Inherits IPED interface) provides access to payment transactions (purchase, refund, void) using a QR code to activate the process.
IInstallmentsEFTInterface indicating if installments are allowed for purchase requests for a given PSPs technical stack (PED), Used if the terminal supports to split a payment into multiple installments.
IPISEFTThe IPIS interface (inherits IEFT interface) provides access to payment transactions (purchase, refund, void) and query about previous transactions. Used for App2App interactions, implemented for PAX A920 Android devices.
IGiftCardEFTThe gift card interface provides access to gift card services.
IGiftCardServiceEFTIf the PED can handle gift card management, deposit, balance request, and to close a card.
ITokenEFTGives access to the token service.
ITokenServiceEFTGives access to specialized token services.
ITokenSubscriptionEFTIf the PED can ask for a subscription token.
IReportEFTActivate X or Z report on terminal. Will return receipt if returned by the PED.
IOfflineEFTEFTRequest an offline purchase, if PED allows it.
ICardDataEFTIf PED can read a card outside of a transaction, a list of strings will be returned indicating description on the card read.
IPreAuthEFTManage pre-authorization functions, added to the EFT class for a plugin supporting this type of functionality.
IVerificationEFTIf further details are needed from POS and cardholder to finalize an EFT transaction, LS Pay will request what type of data is needed. The POS sends the value indicated and LS Pay will route it to the PED to finish the transaction.
IAmountConfirmationEFTNote: Obsolete as of 10/2020. Use IVerification instead. Manage amount confirmation.
ICardVerificationEFTNote: Obsolete as of 10/2020. Use IVerification instead. Manage verification of card being used, by cashier.
ISignatureVerificationEFTNote: Obsolete as of 10/2020. Use IVerification instead. Manage verification of signature by cashier, added to the EFT class for a plugin supporting this type of functionality.
IVoiceAuthenticationEFTNote: Obsolete as of 10/2020. Use IVerification instead. Manage authorization number given by issuer, added to the EFT class for a plugin supporting this type of functionality.
ICancelEFTIf current EFT transaction can be canceled by the POS.
IGetTransactionEFTFunctions that allow the POS to retrieve information for transactions by given unique IDs.
ISessionEFTIf terminals need session-based interaction, this interface gives access to functions to start and finish the interaction.
ISignatureEFTFunction to activate signature capture on the terminal.
ITransactionDetailsEFTIf particular transaction details are needed before an EFT transaction can be processed.
IKeyValueStoreServiceLS PayInterface to store and retrieve values by keys. Used internally.
ILogServiceLS PayInterface with access to the internal LS Pay log service. Logs are created in LS Pay but stored by external systems.
IPluginFactoryLS PayInterface to handle initialization of each plugin by the type.
ISettingsServiceLS PayInterface to handle settings, giving access to functions to manage using Key&Value pairs.