| Package | Description |
|---|---|
| org.killbill.billing.entitlement.api |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Subscription
An Subscription is created using the
SubscriptionApi
It contains its Entitlement and additional billing related information. |
| Modifier and Type | Method and Description |
|---|---|
Entitlement |
Entitlement.cancelEntitlementWithDate(org.joda.time.LocalDate effectiveDate,
boolean overrideBillingEffectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Cancels the
Entitlement at the specified date. |
Entitlement |
Entitlement.cancelEntitlementWithDateOverrideBillingPolicy(org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Cancels the
Entitlement at the specified date
After this operation, the existing object becomes stale. |
Entitlement |
Entitlement.cancelEntitlementWithPolicy(Entitlement.EntitlementActionPolicy policy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Cancel the
Entitlement with a policy. |
Entitlement |
Entitlement.cancelEntitlementWithPolicyOverrideBillingPolicy(Entitlement.EntitlementActionPolicy policy,
BillingActionPolicy billingPolicy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Cancels the
Entitlement at the specified date and overrides the default billing policy. |
Entitlement |
Entitlement.changePlan(PlanPhaseSpecifier spec,
java.util.List<PlanPhasePriceOverride> overrides,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Change
Entitlement plan using default policy. |
Entitlement |
Entitlement.changePlanOverrideBillingPolicy(PlanPhaseSpecifier spec,
java.util.List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Change
Entitlement plan at the specified date and overrides the billing policy. |
Entitlement |
Entitlement.changePlanWithDate(PlanPhaseSpecifier spec,
java.util.List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Change
Entitlement plan at the specified date. |
Entitlement |
EntitlementApi.getEntitlementForId(java.util.UUID id,
TenantContext context)
Retrieves an
Entitlement using its id. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Entitlement> |
EntitlementApi.getAllEntitlementsForAccountId(java.util.UUID accountId,
TenantContext context)
Retrieves all the
Entitlement for a given account. |
java.util.List<Entitlement> |
EntitlementApi.getAllEntitlementsForAccountIdAndExternalKey(java.util.UUID accountId,
java.lang.String externalKey,
TenantContext context)
Retrieves all the
Entitlement for a given account and matching an external key. |
java.util.List<Entitlement> |
EntitlementApi.getAllEntitlementsForBundle(java.util.UUID bundleId,
TenantContext context)
Retrieves all the
Entitlement attached to the base entitlement. |
Copyright © 2010-2018. All Rights Reserved.