Package de.adorsys.psd2.model
Enum MessageCode403LTB
- java.lang.Object
-
- java.lang.Enum<MessageCode403LTB>
-
- de.adorsys.psd2.model.MessageCode403LTB
-
- All Implemented Interfaces:
Serializable,Comparable<MessageCode403LTB>
public enum MessageCode403LTB extends Enum<MessageCode403LTB>
Message codes defined for Trusted Beneficiaries for HTTP Error code 403 (FORBIDDEN).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSENT_UNKNOWNRESOURCE_EXPIREDRESOURCE_UNKNOWNSERVICE_BLOCKED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageCode403LTBfromValue(String text)StringtoString()static MessageCode403LTBvalueOf(String name)Returns the enum constant of this type with the specified name.static MessageCode403LTB[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSENT_UNKNOWN
public static final MessageCode403LTB CONSENT_UNKNOWN
-
SERVICE_BLOCKED
public static final MessageCode403LTB SERVICE_BLOCKED
-
RESOURCE_UNKNOWN
public static final MessageCode403LTB RESOURCE_UNKNOWN
-
RESOURCE_EXPIRED
public static final MessageCode403LTB RESOURCE_EXPIRED
-
-
Method Detail
-
values
public static MessageCode403LTB[] 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 (MessageCode403LTB c : MessageCode403LTB.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageCode403LTB 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<MessageCode403LTB>
-
fromValue
public static MessageCode403LTB fromValue(String text)
-
-