 
            
             
    Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesThis guide will show you how to perform a Factory Reset, this is only for OPI-DE terminals.
The following code snippet demonstrates how you can do a Factory Reset:
    OpiDEApi opiDeService = new OpiDEService();
    TerminalDelegate terminalDelegate = new TerminalDelegate() {
        ...
        @Override
        public void onPaymentAdministrationSuccess(PaymentAdministrationResult result) {
            //contains code which handles a successful reprint ticket
        }
        @Override
        public void onError(Error error) {
            //contains code which handles a failed reprint ticket
        }
        @Override
        public void printMerchantReceiptAndSignature(PaymentReceipt receipt) {
            //contains code which handles receiving a merchant receipt
        }
        @Override
        public void inputCommand(List lines, String command, int length, InputCommandCallback inputCommandCallback) {
            //contains code which handles an incoming input command
        }
        ...
    };
    opiDeService.resetToFactorySettings(externalTerminal, terminalDelegate);