Enum SubscriptionEventType
- java.lang.Object
-
- java.lang.Enum<SubscriptionEventType>
-
- org.killbill.billing.entitlement.api.SubscriptionEventType
-
- All Implemented Interfaces:
Serializable,Comparable<SubscriptionEventType>
public enum SubscriptionEventType extends Enum<SubscriptionEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGEPAUSE_BILLINGPAUSE_ENTITLEMENTPHASERESUME_BILLINGRESUME_ENTITLEMENTSERVICE_STATE_CHANGESTART_BILLINGSTART_ENTITLEMENTSTOP_BILLINGSTOP_ENTITLEMENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectTypegetObjectType()static SubscriptionEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SubscriptionEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_ENTITLEMENT
public static final SubscriptionEventType START_ENTITLEMENT
-
START_BILLING
public static final SubscriptionEventType START_BILLING
-
PAUSE_ENTITLEMENT
public static final SubscriptionEventType PAUSE_ENTITLEMENT
-
PAUSE_BILLING
public static final SubscriptionEventType PAUSE_BILLING
-
RESUME_ENTITLEMENT
public static final SubscriptionEventType RESUME_ENTITLEMENT
-
RESUME_BILLING
public static final SubscriptionEventType RESUME_BILLING
-
PHASE
public static final SubscriptionEventType PHASE
-
CHANGE
public static final SubscriptionEventType CHANGE
-
STOP_ENTITLEMENT
public static final SubscriptionEventType STOP_ENTITLEMENT
-
STOP_BILLING
public static final SubscriptionEventType STOP_BILLING
-
SERVICE_STATE_CHANGE
public static final SubscriptionEventType SERVICE_STATE_CHANGE
-
-
Method Detail
-
values
public static SubscriptionEventType[] 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 (SubscriptionEventType c : SubscriptionEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionEventType 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
-
getObjectType
public ObjectType getObjectType()
-
-