com.ning.billing.subscription.events.user
Enum ApiEventType

java.lang.Object
  extended by java.lang.Enum<ApiEventType>
      extended by com.ning.billing.subscription.events.user.ApiEventType
All Implemented Interfaces:
Serializable, Comparable<ApiEventType>

public enum ApiEventType
extends Enum<ApiEventType>


Enum Constant Summary
CANCEL
           
CHANGE
           
CREATE
           
MIGRATE_BILLING
           
MIGRATE_ENTITLEMENT
           
RE_CREATE
           
TRANSFER
           
UNCANCEL
           
 
Method Summary
abstract  SubscriptionBaseTransitionType getSubscriptionTransitionType()
           
static ApiEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApiEventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MIGRATE_ENTITLEMENT

public static final ApiEventType MIGRATE_ENTITLEMENT

CREATE

public static final ApiEventType CREATE

MIGRATE_BILLING

public static final ApiEventType MIGRATE_BILLING

TRANSFER

public static final ApiEventType TRANSFER

CHANGE

public static final ApiEventType CHANGE

RE_CREATE

public static final ApiEventType RE_CREATE

CANCEL

public static final ApiEventType CANCEL

UNCANCEL

public static final ApiEventType UNCANCEL
Method Detail

values

public static ApiEventType[] 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 (ApiEventType c : ApiEventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ApiEventType 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 name
NullPointerException - if the argument is null

getSubscriptionTransitionType

public abstract SubscriptionBaseTransitionType getSubscriptionTransitionType()


Copyright © 2010-2013. All Rights Reserved.