public enum OperatorGroupAccountAccess extends java.lang.Enum<OperatorGroupAccountAccess> implements HasMessageKey
| Enum Constant and Description |
|---|
ALL_PAYMENTS
Full account visibility
|
INCOMING_PAYMENTS
All incoming and own payments are visible
|
NONE
The account is not visible
|
OUTGOING_PAYMENTS
All outgoing and own payments are visible
|
OWN_PAYMENTS
The operator can only see payments he/she have received or performed
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsIncoming() |
boolean |
allowsOutgoing() |
MessageKey |
getMessageKey() |
static OperatorGroupAccountAccess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperatorGroupAccountAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorGroupAccountAccess NONE
public static final OperatorGroupAccountAccess OWN_PAYMENTS
public static final OperatorGroupAccountAccess INCOMING_PAYMENTS
public static final OperatorGroupAccountAccess OUTGOING_PAYMENTS
public static final OperatorGroupAccountAccess ALL_PAYMENTS
public static OperatorGroupAccountAccess[] values()
for (OperatorGroupAccountAccess c : OperatorGroupAccountAccess.values()) System.out.println(c);
public static OperatorGroupAccountAccess 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 nullpublic boolean allowsIncoming()
public boolean allowsOutgoing()
public MessageKey getMessageKey()
getMessageKey in interface HasMessageKey