Enum Entitlement.EntitlementActionPolicy
- java.lang.Object
-
- java.lang.Enum<Entitlement.EntitlementActionPolicy>
-
- org.killbill.billing.entitlement.api.Entitlement.EntitlementActionPolicy
-
- All Implemented Interfaces:
Serializable,Comparable<Entitlement.EntitlementActionPolicy>
- Enclosing interface:
- Entitlement
public static enum Entitlement.EntitlementActionPolicy extends Enum<Entitlement.EntitlementActionPolicy>
Used to control the effective date that should be used on Plan change or on cancellation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END_OF_TERMIMMEDIATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Entitlement.EntitlementActionPolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static Entitlement.EntitlementActionPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMMEDIATE
public static final Entitlement.EntitlementActionPolicy IMMEDIATE
-
END_OF_TERM
public static final Entitlement.EntitlementActionPolicy END_OF_TERM
-
-
Method Detail
-
values
public static Entitlement.EntitlementActionPolicy[] 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 (Entitlement.EntitlementActionPolicy c : Entitlement.EntitlementActionPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Entitlement.EntitlementActionPolicy 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
-
-