com.ning.billing.subscription.events
Interface SubscriptionBaseEvent

All Superinterfaces:
Comparable<SubscriptionBaseEvent>, Entity
All Known Subinterfaces:
ApiEvent, PhaseEvent
All Known Implementing Classes:
ApiEventBase, ApiEventCancel, ApiEventChange, ApiEventCreate, ApiEventMigrateBilling, ApiEventMigrateSubscription, ApiEventReCreate, ApiEventTransfer, ApiEventUncancel, EventBase, PhaseEventData

public interface SubscriptionBaseEvent
extends Comparable<SubscriptionBaseEvent>, Entity


Nested Class Summary
static class SubscriptionBaseEvent.EventType
           
 
Method Summary
 void deactivate()
           
 long getActiveVersion()
           
 org.joda.time.DateTime getEffectiveDate()
           
 org.joda.time.DateTime getProcessedDate()
           
 org.joda.time.DateTime getRequestedDate()
           
 UUID getSubscriptionId()
           
 long getTotalOrdering()
           
 SubscriptionBaseEvent.EventType getType()
           
 boolean isActive()
           
 void reactivate()
           
 void setActiveVersion(long activeVersion)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.ning.billing.util.entity.Entity
getCreatedDate, getId, getUpdatedDate
 

Method Detail

getType

SubscriptionBaseEvent.EventType getType()

getTotalOrdering

long getTotalOrdering()

getActiveVersion

long getActiveVersion()

setActiveVersion

void setActiveVersion(long activeVersion)

isActive

boolean isActive()

deactivate

void deactivate()

reactivate

void reactivate()

getProcessedDate

org.joda.time.DateTime getProcessedDate()

getRequestedDate

org.joda.time.DateTime getRequestedDate()

getEffectiveDate

org.joda.time.DateTime getEffectiveDate()

getSubscriptionId

UUID getSubscriptionId()


Copyright © 2010-2013. All Rights Reserved.