IReceiptRegistrationService
An interface for registering components that wish to add additional data to customer receipts. Developers that wish to add additional data to customer receipts should call the register method to register the URI of a content provider that will provide receipt data. Said content provider must conform to the ReceiptContract contract. The ReceiptRegistration service is a bound AIDL service. Bind to this service as follows,
Intent serviceIntent = new Intent(PrinterIntent.ACTION_RECEIPT_REGISTRATION);
serviceIntent.putExtra(PrinterIntent.EXTRA_ACCOUNT, CloverAccount.getAccount(context));
serviceIntent.putExtra(PrinterIntent.EXTRA_VERSION, 1);
context.bindService(serviceIntent);
Content copied to clipboard