Interface SubscriptionEvent
-
public interface SubscriptionEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.joda.time.DateTimegetEffectiveDate()UUIDgetEntitlementId()UUIDgetId()BillingPeriodgetNextBillingPeriod()PlanPhasegetNextPhase()PlangetNextPlan()PriceListgetNextPriceList()ProductgetNextProduct()BillingPeriodgetPrevBillingPeriod()PlanPhasegetPrevPhase()PlangetPrevPlan()PriceListgetPrevPriceList()ProductgetPrevProduct()StringgetServiceName()StringgetServiceStateName()SubscriptionEventTypegetSubscriptionEventType()booleanisBlockedBilling()booleanisBlockedEntitlement()
-
-
-
Method Detail
-
getId
UUID getId()
- Returns:
- the unique id for the event
-
getEntitlementId
UUID getEntitlementId()
- Returns:
- the id of the entitlement
-
getEffectiveDate
org.joda.time.DateTime getEffectiveDate()
- Returns:
- the date at which the transition took place
-
getSubscriptionEventType
SubscriptionEventType getSubscriptionEventType()
- Returns:
- the type of transition
-
isBlockedBilling
boolean isBlockedBilling()
- Returns:
- whether the billing is blocked
-
isBlockedEntitlement
boolean isBlockedEntitlement()
- Returns:
- whether the entitlement is blocked
-
getServiceName
String getServiceName()
- Returns:
- the service that generated the event
-
getServiceStateName
String getServiceStateName()
- Returns:
- the state that was set by a given service for a particular transition
-
getPrevProduct
Product getPrevProduct()
- Returns:
- the previous product after that transition took place
-
getPrevPlan
Plan getPrevPlan()
- Returns:
- the previous plan after that transition took place
-
getPrevPhase
PlanPhase getPrevPhase()
- Returns:
- the previous phase after that transition took place
-
getPrevPriceList
PriceList getPrevPriceList()
- Returns:
- the previous pricelist after that transition took place
-
getPrevBillingPeriod
BillingPeriod getPrevBillingPeriod()
- Returns:
- the previous billing period name after that transition took place
-
getNextProduct
Product getNextProduct()
- Returns:
- the next product after that transition took place
-
getNextPlan
Plan getNextPlan()
- Returns:
- the next plan after that transition took place
-
getNextPhase
PlanPhase getNextPhase()
- Returns:
- the next phase after that transition took place
-
getNextPriceList
PriceList getNextPriceList()
- Returns:
- the next pricelist after that transition took place
-
getNextBillingPeriod
BillingPeriod getNextBillingPeriod()
- Returns:
- the next billing period name after that transition took place
-
-