Package de.adorsys.psd2.model
Enum CardAccountDetails.UsageEnum
- java.lang.Object
-
- java.lang.Enum<CardAccountDetails.UsageEnum>
-
- de.adorsys.psd2.model.CardAccountDetails.UsageEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CardAccountDetails.UsageEnum>
- Enclosing class:
- CardAccountDetails
public static enum CardAccountDetails.UsageEnum extends Enum<CardAccountDetails.UsageEnum>
Specifies the usage of the account: * PRIV: private personal account * ORGA: professional account
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardAccountDetails.UsageEnumfromValue(String text)StringtoString()static CardAccountDetails.UsageEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CardAccountDetails.UsageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIV
public static final CardAccountDetails.UsageEnum PRIV
-
ORGA
public static final CardAccountDetails.UsageEnum ORGA
-
-
Method Detail
-
values
public static CardAccountDetails.UsageEnum[] 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 (CardAccountDetails.UsageEnum c : CardAccountDetails.UsageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardAccountDetails.UsageEnum 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<CardAccountDetails.UsageEnum>
-
fromValue
public static CardAccountDetails.UsageEnum fromValue(String text)
-
-