Package com.onslip360
Enum API.Campaign.Type
- java.lang.Object
-
- java.lang.Enum<API.Campaign.Type>
-
- com.onslip360.API.Campaign.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<API.Campaign.Type>
- Enclosing class:
- API.Campaign
public static enum API.Campaign.Type extends Enum<API.Campaign.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description __
CHEAPEST_FREE
FIXED_AMOUNT
FIXED_PRICE
PERCENTAGE
TAB_FIXED_AMOUNT
TAB_PERCENTAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static API.Campaign.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static API.Campaign.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERCENTAGE
public static final API.Campaign.Type PERCENTAGE
-
FIXED_AMOUNT
public static final API.Campaign.Type FIXED_AMOUNT
-
FIXED_PRICE
public static final API.Campaign.Type FIXED_PRICE
-
CHEAPEST_FREE
public static final API.Campaign.Type CHEAPEST_FREE
-
TAB_PERCENTAGE
public static final API.Campaign.Type TAB_PERCENTAGE
-
TAB_FIXED_AMOUNT
public static final API.Campaign.Type TAB_FIXED_AMOUNT
-
__
public static final API.Campaign.Type __
-
-
Method Detail
-
values
public static API.Campaign.Type[] 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 (API.Campaign.Type c : API.Campaign.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static API.Campaign.Type 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
-
-