public enum TokenRequestedType extends Enum<TokenRequestedType>
Java class for TokenRequestedType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TokenRequestedType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Transaction"/>
<enumeration value="Customer"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUSTOMER
The token is generated to recognise a customer for a longer period.
|
TRANSACTION
The token is generated to recognise a customer during the time of a transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenRequestedType |
fromValue(String v)
From value token requested type.
|
String |
value()
Value string.
|
static TokenRequestedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenRequestedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenRequestedType TRANSACTION
public static final TokenRequestedType CUSTOMER
public static TokenRequestedType[] values()
for (TokenRequestedType c : TokenRequestedType.values()) System.out.println(c);
public static TokenRequestedType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static TokenRequestedType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.