Package de.adorsys.ledgers.um.db.domain
Enum ScaMethodType
- java.lang.Object
-
- java.lang.Enum<ScaMethodType>
-
- de.adorsys.ledgers.um.db.domain.ScaMethodType
-
- All Implemented Interfaces:
Serializable,Comparable<ScaMethodType>
public enum ScaMethodType extends Enum<ScaMethodType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDecoupled()static ScaMethodTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ScaMethodType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMAIL
public static final ScaMethodType EMAIL
-
MOBILE
public static final ScaMethodType MOBILE
-
CHIP_OTP
public static final ScaMethodType CHIP_OTP
-
PHOTO_OTP
public static final ScaMethodType PHOTO_OTP
-
PUSH_OTP
public static final ScaMethodType PUSH_OTP
-
SMS_OTP
public static final ScaMethodType SMS_OTP
-
APP_OTP
public static final ScaMethodType APP_OTP
-
-
Method Detail
-
values
public static ScaMethodType[] 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 (ScaMethodType c : ScaMethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScaMethodType 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
-
isDecoupled
public boolean isDecoupled()
-
-