| Package | Description |
|---|---|
| org.killbill.billing.entitlement.api |
| Modifier and Type | Method and Description |
|---|---|
Entitlement |
EntitlementApi.addEntitlement(UUID bundleId,
PlanPhaseSpecifier spec,
List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate effectiveDate,
CallContext context)
Adds an ADD_ON entitlement to previously created entitlement.
|
Entitlement |
Entitlement.cancelEntitlementWithDate(org.joda.time.LocalDate effectiveDate,
boolean overrideBillingEffectiveDate,
CallContext context)
Cancels the
Entitlement at the specified date. |
Entitlement |
Entitlement.cancelEntitlementWithDateOverrideBillingPolicy(org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
CallContext context)
Cancels the
Entitlement at the specified date
After this operation, the existing object becomes stale. |
Entitlement |
Entitlement.cancelEntitlementWithPolicy(Entitlement.EntitlementActionPolicy policy,
CallContext context)
Cancel the
Entitlement with a policy. |
Entitlement |
Entitlement.cancelEntitlementWithPolicyOverrideBillingPolicy(Entitlement.EntitlementActionPolicy policy,
BillingActionPolicy billingPolicy,
CallContext context)
Cancels the
Entitlement at the specified date and overrides the default billing policy. |
Entitlement |
Entitlement.changePlan(String productName,
BillingPeriod billingPeriod,
String priceList,
List<PlanPhasePriceOverride> overrides,
CallContext context)
Change
Entitlement plan using default policy. |
Entitlement |
Entitlement.changePlanOverrideBillingPolicy(String productName,
BillingPeriod billingPeriod,
String priceList,
List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
CallContext context)
Change
Entitlement plan at the specified date and overrides the billing policy. |
Entitlement |
Entitlement.changePlanWithDate(String productName,
BillingPeriod billingPeriod,
String priceList,
List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate effectiveDate,
CallContext context)
Change
Entitlement plan at the specified date. |
Entitlement |
EntitlementApi.createBaseEntitlement(UUID accountId,
PlanPhaseSpecifier spec,
String externalKey,
List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate effectiveDate,
CallContext context)
Create a new entitlement for that account.
|
List<Entitlement> |
EntitlementApi.getAllEntitlementsForAccountId(UUID accountId,
TenantContext context)
Retrieves all the
Entitlement for a given account. |
List<Entitlement> |
EntitlementApi.getAllEntitlementsForAccountIdAndExternalKey(UUID accountId,
String externalKey,
TenantContext context)
Retrieves all the
Entitlement for a given account and matching an external key. |
List<Entitlement> |
EntitlementApi.getAllEntitlementsForBundle(UUID bundleId,
TenantContext context)
Retrieves all the
Entitlement attached to the base entitlement. |
List<EntitlementAOStatusDryRun> |
EntitlementApi.getDryRunStatusForChange(UUID bundleId,
String targetProductName,
org.joda.time.LocalDate effectiveDate,
TenantContext context)
Simulate a change of product for the BP on that bundle and return the effect it would have on the existing ADD_ON-- if any.
|
Entitlement |
EntitlementApi.getEntitlementForId(UUID id,
TenantContext context)
Retrieves an
Entitlement using its id. |
void |
EntitlementApi.pause(UUID bundleId,
org.joda.time.LocalDate effectiveDate,
CallContext context)
Will pause all entitlements associated with the base entitlement.
|
void |
EntitlementApi.resume(UUID bundleId,
org.joda.time.LocalDate effectiveDate,
CallContext context)
Will resume all entitlements associated with the base entitlement.
|
UUID |
EntitlementApi.transferEntitlements(UUID sourceAccountId,
UUID destAccountId,
String externalKey,
org.joda.time.LocalDate effectiveDate,
CallContext context)
Transfer all the
Entitlement For the source account and matching the external key to the destination account. |
UUID |
EntitlementApi.transferEntitlementsOverrideBillingPolicy(UUID sourceAccountId,
UUID destAccountId,
String externalKey,
org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
CallContext context)
Transfer all the
Entitlement for the source account and matching the external key to the destination account. |
void |
Entitlement.uncancelEntitlement(CallContext context)
Removes a pending future cancellation on an entitlement.
|
Copyright © 2010-2015. All Rights Reserved.