Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesShow sales (revenues per card and special transaction) formatted as table.
ExternalTerminal externalTerminal = ExternalTerminal.builder()
.ipAddress(ipAddress) // can be found using getting-started guide
.port(terminalPort) // 4100 for OPI-NL/OPI-CH & 20002 for OPI-DE
.compatibilityPort(compatibilityPort) // 4102 for OPI-NL/OPI-CH & 20007 for OPI-DE
.socketMode(socketMode) // Dual-Socket for OPI-NL/OPI-CH & Single-Socket for OPI-DE & OPI-NL
.terminalType(terminalType) // EnumType which contains terminal protocol
.build();
TerminalDelegate terminalDelegate = new TerminalDelegate() {
@Override
public void onPaymentAdministrationSuccess(PaymentAdministrationResult result) {
//contains code which handles a successful terminal activation
}
@Override
public void onError(Error error) {
//contains code which handles a failed terminal activation
}
};
SalesType salesType = SalesType.TOTAL // total or intermediate revenue
TerminalApi terminalService = new TerminalService();
terminalService.showSales(externalTerminal, salesType, terminalDelegate);
The retrieveTerminalMenuItem method can no longer be used as of secPOS version 03.0074.01.01 and has therefore been marked as deprecated.