Package com.adyen.model.balanceplatform
Enum DayOfWeekRestriction.ValueEnum
- java.lang.Object
-
- java.lang.Enum<DayOfWeekRestriction.ValueEnum>
-
- com.adyen.model.balanceplatform.DayOfWeekRestriction.ValueEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DayOfWeekRestriction.ValueEnum>
- Enclosing class:
- DayOfWeekRestriction
public static enum DayOfWeekRestriction.ValueEnum extends Enum<DayOfWeekRestriction.ValueEnum>
Gets or Sets value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DayOfWeekRestriction.ValueEnumfromValue(String value)StringgetValue()StringtoString()static DayOfWeekRestriction.ValueEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DayOfWeekRestriction.ValueEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FRIDAY
public static final DayOfWeekRestriction.ValueEnum FRIDAY
-
MONDAY
public static final DayOfWeekRestriction.ValueEnum MONDAY
-
SATURDAY
public static final DayOfWeekRestriction.ValueEnum SATURDAY
-
SUNDAY
public static final DayOfWeekRestriction.ValueEnum SUNDAY
-
THURSDAY
public static final DayOfWeekRestriction.ValueEnum THURSDAY
-
TUESDAY
public static final DayOfWeekRestriction.ValueEnum TUESDAY
-
WEDNESDAY
public static final DayOfWeekRestriction.ValueEnum WEDNESDAY
-
-
Method Detail
-
values
public static DayOfWeekRestriction.ValueEnum[] 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 (DayOfWeekRestriction.ValueEnum c : DayOfWeekRestriction.ValueEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DayOfWeekRestriction.ValueEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<DayOfWeekRestriction.ValueEnum>
-
fromValue
public static DayOfWeekRestriction.ValueEnum fromValue(String value)
-
-