val configuration = UiConfiguration( automaticPrintingOption = AutomaticPrintingOption.MERCHANT_RECEIPT ) mposUi.configuration = configuration
UiConfiguration configuration = new UiConfiguration.Builder() .automaticPrintingOption(UiConfiguration.AutomaticPrintingOption.MERCHANT_RECEIPT) .build(); mposUi.setConfiguration(configuration);