com.ning.billing.subscription.api.user
Class SubscriptionBuilder
java.lang.Object
com.ning.billing.subscription.api.user.SubscriptionBuilder
public class SubscriptionBuilder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionBuilder
public SubscriptionBuilder()
SubscriptionBuilder
public SubscriptionBuilder(DefaultSubscriptionBase original)
setId
public SubscriptionBuilder setId(UUID id)
setCreatedDate
public SubscriptionBuilder setCreatedDate(org.joda.time.DateTime createdDate)
setUpdatedDate
public SubscriptionBuilder setUpdatedDate(org.joda.time.DateTime updatedDate)
setBundleId
public SubscriptionBuilder setBundleId(UUID bundleId)
setAlignStartDate
public SubscriptionBuilder setAlignStartDate(org.joda.time.DateTime alignStartDate)
setBundleStartDate
public SubscriptionBuilder setBundleStartDate(org.joda.time.DateTime bundleStartDate)
setActiveVersion
public SubscriptionBuilder setActiveVersion(long activeVersion)
setChargedThroughDate
public SubscriptionBuilder setChargedThroughDate(org.joda.time.DateTime chargedThroughDate)
setPaidThroughDate
public SubscriptionBuilder setPaidThroughDate(org.joda.time.DateTime paidThroughDate)
setCategory
public SubscriptionBuilder setCategory(ProductCategory category)
getId
public UUID getId()
getCreatedDate
public org.joda.time.DateTime getCreatedDate()
getUpdatedDate
public org.joda.time.DateTime getUpdatedDate()
getBundleId
public UUID getBundleId()
getAlignStartDate
public org.joda.time.DateTime getAlignStartDate()
getBundleStartDate
public org.joda.time.DateTime getBundleStartDate()
getActiveVersion
public Long getActiveVersion()
getCategory
public ProductCategory getCategory()
getChargedThroughDate
public org.joda.time.DateTime getChargedThroughDate()
getPaidThroughDate
public org.joda.time.DateTime getPaidThroughDate()
Copyright © 2010-2013. All Rights Reserved.