Enum AuthorisationType
- java.lang.Object
-
- java.lang.Enum<AuthorisationType>
-
- de.adorsys.psd2.xs2a.core.authorisation.AuthorisationType
-
- All Implemented Interfaces:
Serializable,Comparable<AuthorisationType>
public enum AuthorisationType extends Enum<AuthorisationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSENTPIS_CANCELLATIONPIS_CREATIONSIGNING_BASKET
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthorisationTypefromValue(String text)Maps textual representation to AuthorisationType enum-value.static AuthorisationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AuthorisationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSENT
public static final AuthorisationType CONSENT
-
PIS_CREATION
public static final AuthorisationType PIS_CREATION
-
PIS_CANCELLATION
public static final AuthorisationType PIS_CANCELLATION
-
SIGNING_BASKET
public static final AuthorisationType SIGNING_BASKET
-
-
Method Detail
-
values
public static AuthorisationType[] 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 (AuthorisationType c : AuthorisationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorisationType 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
-
fromValue
public static AuthorisationType fromValue(String text)
Maps textual representation to AuthorisationType enum-value. Mapping is performed case-insensitive.- Parameters:
text- - text to be mapped.- Returns:
- Enum value mapped. Null otherwise.
-
-