Interface Subscription
-
- All Superinterfaces:
Entitlement,Entity
public interface Subscription extends Entitlement
An Subscription is created using theSubscriptionApiIt contains itsEntitlementand additional billing related information.- See Also:
SubscriptionApi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.killbill.billing.entitlement.api.Entitlement
Entitlement.EntitlementActionPolicy, Entitlement.EntitlementSourceType, Entitlement.EntitlementState
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.joda.time.DateTimegetBillingEndDate()org.joda.time.DateTimegetBillingStartDate()org.joda.time.LocalDategetChargedThroughDate()List<SubscriptionEvent>getSubscriptionEvents()-
Methods inherited from interface org.killbill.billing.entitlement.api.Entitlement
cancelEntitlementWithDate, cancelEntitlementWithDate, cancelEntitlementWithDateOverrideBillingPolicy, cancelEntitlementWithPolicy, cancelEntitlementWithPolicyOverrideBillingPolicy, changePlan, changePlanOverrideBillingPolicy, changePlanWithDate, changePlanWithDate, getAccountId, getBaseEntitlementId, getBillCycleDayLocal, getBundleExternalKey, getBundleId, getEffectiveEndDate, getEffectiveStartDate, getExternalKey, getLastActivePhase, getLastActivePlan, getLastActivePriceList, getLastActiveProduct, getLastActiveProductCategory, getQuantity, getSourceType, getState, uncancelEntitlement, undoChangePlan, updateBCD, updateQuantity
-
Methods inherited from interface org.killbill.billing.util.entity.Entity
getCreatedDate, getId, getUpdatedDate
-
-
-
-
Method Detail
-
getBillingStartDate
org.joda.time.DateTime getBillingStartDate()
- Returns:
- the date at which the billing started for that subscription
-
getBillingEndDate
org.joda.time.DateTime getBillingEndDate()
- Returns:
- the date at which the billing stopped for that subscription
-
getChargedThroughDate
org.joda.time.LocalDate getChargedThroughDate()
- Returns:
- the date up to which that
Subscription got invoiced
-
getSubscriptionEvents
List<SubscriptionEvent> getSubscriptionEvents()
- Returns:
- the ordered list of transitions that occurred for that subscription
-
-