Enum SessionStatus
- java.lang.Object
-
- java.lang.Enum<SessionStatus>
-
- de.adorsys.opba.tppbankingapi.pis.model.generated.SessionStatus
-
- All Implemented Interfaces:
Serializable,Comparable<SessionStatus>
public enum SessionStatus extends Enum<SessionStatus>
* `PENDING` - Session not started (user has not started session authorization) * `STARTED` - Session started (user started session authorization) * `COMPLETED` - Session completed (user completed session authorization, but FinTech must confirm it) * `ACTIVATED` - Session activated and ready to use * `DENIED` - User denied consent/payment authorization * `ERROR` - Error happened during the process
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionStatusfromValue(String text)StringtoString()static SessionStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static SessionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final SessionStatus PENDING
-
STARTED
public static final SessionStatus STARTED
-
COMPLETED
public static final SessionStatus COMPLETED
-
ACTIVATED
public static final SessionStatus ACTIVATED
-
DENIED
public static final SessionStatus DENIED
-
ERROR
public static final SessionStatus ERROR
-
-
Method Detail
-
values
public static SessionStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SessionStatus c : SessionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<SessionStatus>
-
fromValue
public static SessionStatus fromValue(String text)
-
-