public class SubscriptionBaseTransitionData extends Object implements SubscriptionBaseTransition
| Constructor and Description |
|---|
SubscriptionBaseTransitionData(SubscriptionBaseTransitionData input,
int remainingEventsForUserOperation) |
SubscriptionBaseTransitionData(SubscriptionBaseTransitionData input,
SubscriptionBaseEvent.EventType eventType,
ApiEventType apiEventType,
int remainingEventsForUserOperation) |
SubscriptionBaseTransitionData(UUID eventId,
UUID subscriptionId,
UUID bundleId,
SubscriptionBaseEvent.EventType eventType,
ApiEventType apiEventType,
org.joda.time.DateTime requestedTransitionTime,
org.joda.time.DateTime effectiveTransitionTime,
UUID previousEventId,
org.joda.time.DateTime previousEventCreatedDate,
com.ning.billing.entitlement.api.Entitlement.EntitlementState previousState,
Plan previousPlan,
PlanPhase previousPhase,
PriceList previousPriceList,
UUID nextEventId,
org.joda.time.DateTime nextEventCreatedDate,
com.ning.billing.entitlement.api.Entitlement.EntitlementState nextState,
Plan nextPlan,
PlanPhase nextPhase,
PriceList nextPriceList,
Long totalOrdering,
org.joda.time.DateTime createdDate,
UUID userToken,
Boolean isFromDisk) |
public SubscriptionBaseTransitionData(UUID eventId, UUID subscriptionId, UUID bundleId, SubscriptionBaseEvent.EventType eventType, ApiEventType apiEventType, org.joda.time.DateTime requestedTransitionTime, org.joda.time.DateTime effectiveTransitionTime, UUID previousEventId, org.joda.time.DateTime previousEventCreatedDate, com.ning.billing.entitlement.api.Entitlement.EntitlementState previousState, Plan previousPlan, PlanPhase previousPhase, PriceList previousPriceList, UUID nextEventId, org.joda.time.DateTime nextEventCreatedDate, com.ning.billing.entitlement.api.Entitlement.EntitlementState nextState, Plan nextPlan, PlanPhase nextPhase, PriceList nextPriceList, Long totalOrdering, org.joda.time.DateTime createdDate, UUID userToken, Boolean isFromDisk)
public SubscriptionBaseTransitionData(SubscriptionBaseTransitionData input, int remainingEventsForUserOperation)
public SubscriptionBaseTransitionData(SubscriptionBaseTransitionData input, SubscriptionBaseEvent.EventType eventType, ApiEventType apiEventType, int remainingEventsForUserOperation)
public UUID getId()
getId in interface SubscriptionBaseTransitionpublic UUID getSubscriptionId()
getSubscriptionId in interface SubscriptionBaseTransitionpublic UUID getBundleId()
getBundleId in interface SubscriptionBaseTransitionpublic com.ning.billing.entitlement.api.Entitlement.EntitlementState getPreviousState()
getPreviousState in interface SubscriptionBaseTransitionpublic Plan getPreviousPlan()
getPreviousPlan in interface SubscriptionBaseTransitionpublic PlanPhase getPreviousPhase()
getPreviousPhase in interface SubscriptionBaseTransitionpublic UUID getNextEventId()
getNextEventId in interface SubscriptionBaseTransitionpublic org.joda.time.DateTime getNextEventCreatedDate()
getNextEventCreatedDate in interface SubscriptionBaseTransitionpublic Plan getNextPlan()
getNextPlan in interface SubscriptionBaseTransitionpublic PlanPhase getNextPhase()
getNextPhase in interface SubscriptionBaseTransitionpublic com.ning.billing.entitlement.api.Entitlement.EntitlementState getNextState()
getNextState in interface SubscriptionBaseTransitionpublic UUID getPreviousEventId()
getPreviousEventId in interface SubscriptionBaseTransitionpublic org.joda.time.DateTime getPreviousEventCreatedDate()
getPreviousEventCreatedDate in interface SubscriptionBaseTransitionpublic PriceList getPreviousPriceList()
getPreviousPriceList in interface SubscriptionBaseTransitionpublic PriceList getNextPriceList()
getNextPriceList in interface SubscriptionBaseTransitionpublic UUID getUserToken()
public Integer getRemainingEventsForUserOperation()
public SubscriptionBaseTransitionType getTransitionType()
getTransitionType in interface SubscriptionBaseTransitionpublic static SubscriptionBaseTransitionType toSubscriptionTransitionType(SubscriptionBaseEvent.EventType eventType, ApiEventType apiEventType)
public org.joda.time.DateTime getCreatedDate()
getCreatedDate in interface SubscriptionBaseTransitionpublic org.joda.time.DateTime getRequestedTransitionTime()
getRequestedTransitionTime in interface SubscriptionBaseTransitionpublic org.joda.time.DateTime getEffectiveTransitionTime()
getEffectiveTransitionTime in interface SubscriptionBaseTransitionpublic Long getTotalOrdering()
public Boolean isFromDisk()
public ApiEventType getApiEventType()
public SubscriptionBaseEvent.EventType getEventType()
Copyright © 2010-2013. All Rights Reserved.