| Package | Description |
|---|---|
| org.killbill.billing.entitlement.api |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionApi.addBlockingState(BlockingState blockingState,
org.joda.time.LocalDate effectiveDate,
Iterable<PluginProperty> properties,
CallContext context)
Add a
BlockingState
The date is interpreted by the system to be in the timezone specified at the Account |
Entitlement |
EntitlementApi.addEntitlement(UUID bundleId,
PlanPhaseSpecifier spec,
List<PlanPhasePriceOverride> overrides,
org.joda.time.LocalDate entitlementEffectiveDate,
org.joda.time.LocalDate billingEffectiveDate,
boolean isMigrated,
Iterable<PluginProperty> properties,
CallContext context)
Adds an ADD_ON entitlement to previously created entitlement.
|
Entitlement |
Entitlement.cancelEntitlementWithDate(org.joda.time.LocalDate effectiveDate,
boolean overrideBillingEffectiveDate,
Iterable<PluginProperty> properties,
CallContext context)
Cancels the
Entitlement at the specified date. |
Entitlement |
Entitlement.cancelEntitlementWithDateOverrideBillingPolicy(org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
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,
Iterable<PluginProperty> properties,
CallContext context)
Cancel the
Entitlement with a policy. |
Entitlement |
Entitlement.cancelEntitlementWithPolicyOverrideBillingPolicy(Entitlement.EntitlementActionPolicy policy,
BillingActionPolicy billingPolicy,
Iterable<PluginProperty> properties,
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,
Iterable<PluginProperty> properties,
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,
Iterable<PluginProperty> properties,
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,
Iterable<PluginProperty> properties,
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 entitlementEffectiveDate,
org.joda.time.LocalDate billingEffectiveDate,
boolean isMigrated,
Iterable<PluginProperty> properties,
CallContext context)
Create a new entitlement for that account.
|
Entitlement |
EntitlementApi.createBaseEntitlementWithAddOns(UUID accountId,
String externalKey,
Iterable<EntitlementSpecifier> entitlementSpecifier,
org.joda.time.LocalDate entitlementEffectiveDate,
org.joda.time.LocalDate billingEffectiveDate,
boolean isMigrated,
Iterable<PluginProperty> properties,
CallContext context)
Create a new base entitlement and addOn entitlements 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. |
Iterable<BlockingState> |
SubscriptionApi.getBlockingStates(UUID accountId,
List<BlockingStateType> typeFilter,
List<String> svcsFilter,
OrderingType orderingType,
int timeFilter,
TenantContext context) |
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,
Iterable<PluginProperty> properties,
CallContext context)
Will pause all entitlements associated with the base entitlement.
|
void |
EntitlementApi.resume(UUID bundleId,
org.joda.time.LocalDate effectiveDate,
Iterable<PluginProperty> properties,
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,
Iterable<PluginProperty> properties,
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,
Iterable<PluginProperty> properties,
CallContext context)
Transfer all the
Entitlement for the source account and matching the external key to the destination account. |
void |
Entitlement.uncancelEntitlement(Iterable<PluginProperty> properties,
CallContext context)
Removes a pending future cancellation on an entitlement.
|
void |
Entitlement.updateBCD(int bcd,
org.joda.time.LocalDate effectiveFromDate,
CallContext context) |
void |
SubscriptionApi.updateExternalKey(UUID bundleId,
String newExternalKey,
CallContext context)
Update the externalKey for a given bundle
|
Copyright © 2010-2016. All Rights Reserved.