com.ning.billing.subscription.events.phase
Class PhaseEventData
java.lang.Object
com.ning.billing.subscription.events.EventBase
com.ning.billing.subscription.events.phase.PhaseEventData
- All Implemented Interfaces:
- PhaseEvent, SubscriptionBaseEvent, Entity, Comparable<SubscriptionBaseEvent>
public class PhaseEventData
- extends EventBase
- implements PhaseEvent
| Methods inherited from class com.ning.billing.subscription.events.EventBase |
compareTo, deactivate, equals, getActiveVersion, getCreatedDate, getEffectiveDate, getId, getProcessedDate, getRequestedDate, getSubscriptionId, getTotalOrdering, getUpdatedDate, isActive, reactivate, setActiveVersion |
PhaseEventData
public PhaseEventData(PhaseEventBuilder builder)
getType
public SubscriptionBaseEvent.EventType getType()
- Specified by:
getType in interface SubscriptionBaseEvent- Specified by:
getType in class EventBase
getPhase
public String getPhase()
- Specified by:
getPhase in interface PhaseEvent
toString
public String toString()
- Overrides:
toString in class Object
createNextPhaseEvent
public static PhaseEvent createNextPhaseEvent(String phaseName,
DefaultSubscriptionBase subscription,
org.joda.time.DateTime now,
org.joda.time.DateTime effectiveDate)
Copyright © 2010-2013. All Rights Reserved.