public enum NotificationEvent extends java.lang.Enum<NotificationEvent>
Enum Constant and Description |
---|
AVAILABLE_PAYMENT_METHODS
The notification info contains a comma-separated list of payment methods available on
the terminal.
|
BEGIN_MAINTENANCE
The payment terminal has entered maintenance mode.
|
CARD_INSERTED
A card has been inserted in the card reader.
|
CARD_REMOVED
A card has been removed from the card reader.
|
DISPLAY_UPDATE
The payment terminal screen has been updated.
|
END_MAINTENANCE
The payment terminal has left maintenance mode.
|
INITIALISING_PAYMENT_METHODS
The terminal is updating the installed payment methods.
|
SHUTDOWN
The payment terminal is shutting down.
|
UNKNOWN
The payment terminal was not able to verify type of event.
|
Modifier and Type | Method and Description |
---|---|
static NotificationEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationEvent UNKNOWN
public static final NotificationEvent BEGIN_MAINTENANCE
public static final NotificationEvent END_MAINTENANCE
public static final NotificationEvent SHUTDOWN
public static final NotificationEvent CARD_INSERTED
public static final NotificationEvent CARD_REMOVED
public static final NotificationEvent DISPLAY_UPDATE
public static final NotificationEvent INITIALISING_PAYMENT_METHODS
public static final NotificationEvent AVAILABLE_PAYMENT_METHODS
Example: swish,vipps,klarna
public static NotificationEvent[] values()
for (NotificationEvent c : NotificationEvent.values()) System.out.println(c);
public static NotificationEvent valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null