Package com.adyen.model.management
Enum AffirmInfo.PricePlanEnum
- java.lang.Object
-
- java.lang.Enum<AffirmInfo.PricePlanEnum>
-
- com.adyen.model.management.AffirmInfo.PricePlanEnum
-
- All Implemented Interfaces:
Serializable,Comparable<AffirmInfo.PricePlanEnum>
- Enclosing class:
- AffirmInfo
public static enum AffirmInfo.PricePlanEnum extends Enum<AffirmInfo.PricePlanEnum>
Merchant price plan
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AffirmInfo.PricePlanEnumfromValue(String value)StringgetValue()StringtoString()static AffirmInfo.PricePlanEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static AffirmInfo.PricePlanEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BRONZE
public static final AffirmInfo.PricePlanEnum BRONZE
-
SILVER
public static final AffirmInfo.PricePlanEnum SILVER
-
GOLD
public static final AffirmInfo.PricePlanEnum GOLD
-
-
Method Detail
-
values
public static AffirmInfo.PricePlanEnum[] 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 (AffirmInfo.PricePlanEnum c : AffirmInfo.PricePlanEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AffirmInfo.PricePlanEnum 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<AffirmInfo.PricePlanEnum>
-
fromValue
public static AffirmInfo.PricePlanEnum fromValue(String value)
-
-