public interface NotificationHandler
Modifier and Type | Method and Description |
---|---|
void |
onNotification(NotificationEvent event,
java.lang.String info)
This method is called when the payment application sends a notification.
|
void onNotification(NotificationEvent event, java.lang.String info)
Note! Notification can occur during a transaction. Since the payment application must not be disturbed during a transaction, it is important that the POS application handles notifications in the background.
event
- The type of event that has occurred.info
- Optional extra text accompanying the notification. See each entry in
NotificationEvent
for more information.