public class SubscriptionBaseTransitionData extends java.lang.Object implements SubscriptionBaseTransition
| Constructor and Description |
|---|
SubscriptionBaseTransitionData(SubscriptionBaseTransitionData input,
int remainingEventsForUserOperation) |
SubscriptionBaseTransitionData(SubscriptionBaseTransitionData input,
SubscriptionBaseEvent.EventType eventType,
ApiEventType apiEventType,
int remainingEventsForUserOperation) |
SubscriptionBaseTransitionData(java.util.UUID eventId,
java.util.UUID subscriptionId,
java.util.UUID bundleId,
java.lang.String bundleExternalKey,
SubscriptionBaseEvent.EventType eventType,
ApiEventType apiEventType,
org.joda.time.DateTime effectiveTransitionTime,
java.util.UUID previousEventId,
org.joda.time.DateTime previousEventCreatedDate,
Entitlement.EntitlementState previousState,
Plan previousPlan,
PlanPhase previousPhase,
PriceList previousPriceList,
java.lang.Integer previousBillingCycleDayLocal,
java.util.UUID nextEventId,
org.joda.time.DateTime nextEventCreatedDate,
Entitlement.EntitlementState nextState,
Plan nextPlan,
PlanPhase nextPhase,
PriceList nextPriceList,
java.lang.Integer nextBillingCycleDayLocal,
java.lang.Long totalOrdering,
org.joda.time.DateTime createdDate,
java.util.UUID userToken,
java.lang.Boolean isFromDisk) |
public SubscriptionBaseTransitionData(java.util.UUID eventId,
java.util.UUID subscriptionId,
java.util.UUID bundleId,
java.lang.String bundleExternalKey,
SubscriptionBaseEvent.EventType eventType,
ApiEventType apiEventType,
org.joda.time.DateTime effectiveTransitionTime,
java.util.UUID previousEventId,
org.joda.time.DateTime previousEventCreatedDate,
Entitlement.EntitlementState previousState,
Plan previousPlan,
PlanPhase previousPhase,
PriceList previousPriceList,
java.lang.Integer previousBillingCycleDayLocal,
java.util.UUID nextEventId,
org.joda.time.DateTime nextEventCreatedDate,
Entitlement.EntitlementState nextState,
Plan nextPlan,
PlanPhase nextPhase,
PriceList nextPriceList,
java.lang.Integer nextBillingCycleDayLocal,
java.lang.Long totalOrdering,
org.joda.time.DateTime createdDate,
java.util.UUID userToken,
java.lang.Boolean isFromDisk)
public SubscriptionBaseTransitionData(SubscriptionBaseTransitionData input, int remainingEventsForUserOperation)
public SubscriptionBaseTransitionData(SubscriptionBaseTransitionData input, SubscriptionBaseEvent.EventType eventType, ApiEventType apiEventType, int remainingEventsForUserOperation)
public java.util.UUID getId()
getId in interface SubscriptionBaseTransitionpublic java.util.UUID getSubscriptionId()
getSubscriptionId in interface SubscriptionBaseTransitionpublic java.util.UUID getBundleId()
getBundleId in interface SubscriptionBaseTransitionpublic java.lang.String getBundleExternalKey()
public Entitlement.EntitlementState getPreviousState()
getPreviousState in interface SubscriptionBaseTransitionpublic Plan getPreviousPlan()
getPreviousPlan in interface SubscriptionBaseTransitionpublic PlanPhase getPreviousPhase()
getPreviousPhase in interface SubscriptionBaseTransitionpublic java.util.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 Entitlement.EntitlementState getNextState()
getNextState in interface SubscriptionBaseTransitionpublic java.util.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 java.lang.Integer getPreviousBillingCycleDayLocal()
getPreviousBillingCycleDayLocal in interface SubscriptionBaseTransitionpublic java.lang.Integer getNextBillingCycleDayLocal()
getNextBillingCycleDayLocal in interface SubscriptionBaseTransitionpublic java.util.UUID getUserToken()
public java.lang.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 getEffectiveTransitionTime()
getEffectiveTransitionTime in interface SubscriptionBaseTransitionpublic java.lang.Long getTotalOrdering()
public java.lang.Boolean isFromDisk()
public ApiEventType getApiEventType()
public SubscriptionBaseEvent.EventType getEventType()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010-2018. All Rights Reserved.