Package com.adyen.model.tapi
Enum CharacterStyle
- java.lang.Object
-
- java.lang.Enum<CharacterStyle>
-
- com.adyen.model.tapi.CharacterStyle
-
- All Implemented Interfaces:
Serializable,Comparable<CharacterStyle>
public enum CharacterStyle extends Enum<CharacterStyle>
Gets or Sets CharacterStyle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CharacterStylefromValue(String value)StringgetValue()StringtoString()static CharacterStylevalueOf(String name)Returns the enum constant of this type with the specified name.static CharacterStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOLD
public static final CharacterStyle BOLD
-
ITALIC
public static final CharacterStyle ITALIC
-
NORMAL
public static final CharacterStyle NORMAL
-
UNDERLINE
public static final CharacterStyle UNDERLINE
-
-
Method Detail
-
values
public static CharacterStyle[] 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 (CharacterStyle c : CharacterStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CharacterStyle 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<CharacterStyle>
-
fromValue
public static CharacterStyle fromValue(String value)
-
-