com.ning.billing.subscription.api.user
Class DefaultSubscriptionBaseBundle

java.lang.Object
  extended by com.ning.billing.util.entity.EntityBase
      extended by com.ning.billing.subscription.api.user.DefaultSubscriptionBaseBundle
All Implemented Interfaces:
com.ning.billing.entitlement.api.Blockable, SubscriptionBaseBundle, Entity

public class DefaultSubscriptionBaseBundle
extends EntityBase
implements SubscriptionBaseBundle


Field Summary
 
Fields inherited from class com.ning.billing.util.entity.EntityBase
createdDate, id, updatedDate
 
Constructor Summary
DefaultSubscriptionBaseBundle(String name, UUID accountId, org.joda.time.DateTime startDate)
           
DefaultSubscriptionBaseBundle(UUID id, String key, UUID accountId, org.joda.time.DateTime lastSysUpdate)
           
 
Method Summary
 boolean equals(Object o)
           
 UUID getAccountId()
           
 String getExternalKey()
           
 org.joda.time.DateTime getLastSysUpdateDate()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class com.ning.billing.util.entity.EntityBase
getCreatedDate, getId, getUpdatedDate, safeCompareTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ning.billing.util.entity.Entity
getCreatedDate, getId, getUpdatedDate
 

Constructor Detail

DefaultSubscriptionBaseBundle

public DefaultSubscriptionBaseBundle(String name,
                                     UUID accountId,
                                     org.joda.time.DateTime startDate)

DefaultSubscriptionBaseBundle

public DefaultSubscriptionBaseBundle(UUID id,
                                     String key,
                                     UUID accountId,
                                     org.joda.time.DateTime lastSysUpdate)
Method Detail

getExternalKey

public String getExternalKey()
Specified by:
getExternalKey in interface SubscriptionBaseBundle

getAccountId

public UUID getAccountId()
Specified by:
getAccountId in interface SubscriptionBaseBundle

getLastSysUpdateDate

public org.joda.time.DateTime getLastSysUpdateDate()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class EntityBase

hashCode

public int hashCode()
Overrides:
hashCode in class EntityBase


Copyright © 2010-2013. All Rights Reserved.