Package eu.ccvlab.mapi.core.payment
Interface TerminalOutputDelegate
- All Known Subinterfaces:
CardReadDelegate,PaymentDelegate,TerminalDelegate,TokenDelegate
public interface TerminalOutputDelegate
Callback passed to mAPI from the PoS. mAPI calls this callback whenever something needs to be displayed on the PoS display.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaskCashierInput(CashierInput cashierInput, eu.ccvlab.mapi.core.InputCallback inputCallback) Pass the text to be displayed on the PoS back to the PoS Pass the input command to be asked on the PoSdefault voidUse for unattended terminals Pass the cardUID to the PoSdefault voidshowOnCustomerDisplay(MainTextRequest mainTextRequest, DisplayTextRequest subTextRequest) Use for unattended terminals Pass the text to be displayed on the CustomerDisplay back to the PoSdefault voidshowOnCustomerDisplay(List<TextLine> customerDisplayTextLines) Use for OPI-DE terminals Pass the text to be displayed on the CustomerDisplay back to the PoSdefault voidshowTerminalOutput(List<String> lines) Deprecated.default voidshowTerminalOutputLines(List<TextLine> lines) Use for attended terminals Pass the text to be displayed on the PoS back to the PoSdefault voidshowTerminalOutputMenu(eu.ccvlab.mapi.core.MenuInputCallback callback, eu.ccvlab.mapi.core.Menu menu) default voidstopMenu()
-
Method Details
-
showTerminalOutput
Deprecated.Use for attended terminals Pass the text to be displayed on the PoS back to the PoS- Parameters:
lines- List of lines to be displayed
-
showTerminalOutputLines
Use for attended terminals Pass the text to be displayed on the PoS back to the PoS- Parameters:
lines- List of lines to be displayed
-
showOnCustomerDisplay
default void showOnCustomerDisplay(MainTextRequest mainTextRequest, DisplayTextRequest subTextRequest) Use for unattended terminals Pass the text to be displayed on the CustomerDisplay back to the PoS- Parameters:
mainTextRequest- The main textsubTextRequest- The sub text
-
showOnCustomerDisplay
Use for OPI-DE terminals Pass the text to be displayed on the CustomerDisplay back to the PoS- Parameters:
customerDisplayTextLines- List of lines to be displayed
-
askCashierInput
default void askCashierInput(CashierInput cashierInput, eu.ccvlab.mapi.core.InputCallback inputCallback) Pass the text to be displayed on the PoS back to the PoS Pass the input command to be asked on the PoS- Parameters:
cashierInput- The input required by the cashierinputCallback- Callback hook towards the caller to inform regarding success/status/failure
-
showTerminalOutputMenu
default void showTerminalOutputMenu(eu.ccvlab.mapi.core.MenuInputCallback callback, eu.ccvlab.mapi.core.Menu menu) -
stopMenu
default void stopMenu() -
cardUID
Use for unattended terminals Pass the cardUID to the PoS- Parameters:
cardUID- The UID read by the terminal
-