| Package | Description |
|---|---|
| org.killbill.billing.entitlement.api |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionApi.addBlockingState(BlockingState blockingState,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Add a
BlockingState
The date is interpreted by the system to be in the timezone specified at the Account |
java.util.UUID |
EntitlementApi.addEntitlement(java.util.UUID bundleId,
EntitlementSpecifier spec,
org.joda.time.LocalDate entitlementEffectiveDate,
org.joda.time.LocalDate billingEffectiveDate,
boolean isMigrated,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Adds an ADD_ON|STANDALONE entitlement to previously created entitlement.
|
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(EntitlementSpecifier spec,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Change
Entitlement plan using default policy. |
Entitlement |
Entitlement.changePlanOverrideBillingPolicy(EntitlementSpecifier spec,
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(EntitlementSpecifier spec,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Change
Entitlement plan at the specified date. |
java.util.UUID |
EntitlementApi.createBaseEntitlement(java.util.UUID accountId,
EntitlementSpecifier spec,
java.lang.String externalKey,
org.joda.time.LocalDate entitlementEffectiveDate,
org.joda.time.LocalDate billingEffectiveDate,
boolean isMigrated,
boolean renameCancelledBundleIfExist,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Create a new entitlement for that account.
|
java.util.List<java.util.UUID> |
EntitlementApi.createBaseEntitlementsWithAddOns(java.util.UUID accountId,
java.lang.Iterable<BaseEntitlementWithAddOnsSpecifier> baseEntitlementWithAddOnsSpecifier,
boolean renameCancelledBundleIfExist,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Create multiple new entitlements with addOn entitlements for that account.
|
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. |
java.lang.Iterable<BlockingState> |
SubscriptionApi.getBlockingStates(java.util.UUID accountId,
java.util.List<BlockingStateType> typeFilter,
java.util.List<java.lang.String> svcsFilter,
OrderingType orderingType,
int timeFilter,
TenantContext context) |
java.util.List<EntitlementAOStatusDryRun> |
EntitlementApi.getDryRunStatusForChange(java.util.UUID bundleId,
java.lang.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(java.util.UUID id,
TenantContext context)
Retrieves an
Entitlement using its id. |
void |
EntitlementApi.pause(java.util.UUID bundleId,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Will pause all entitlements associated with the base entitlement.
|
void |
EntitlementApi.resume(java.util.UUID bundleId,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Will resume all entitlements associated with the base entitlement.
|
java.util.UUID |
EntitlementApi.transferEntitlements(java.util.UUID sourceAccountId,
java.util.UUID destAccountId,
java.lang.String externalKey,
org.joda.time.LocalDate effectiveDate,
java.lang.Iterable<PluginProperty> properties,
CallContext context)
Transfer all the
Entitlement For the source account and matching the external key to the destination account. |
java.util.UUID |
EntitlementApi.transferEntitlementsOverrideBillingPolicy(java.util.UUID sourceAccountId,
java.util.UUID destAccountId,
java.lang.String externalKey,
org.joda.time.LocalDate effectiveDate,
BillingActionPolicy billingPolicy,
java.lang.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(java.lang.Iterable<PluginProperty> properties,
CallContext context)
Removes a pending future cancellation on an entitlement.
|
void |
Entitlement.undoChangePlan(java.lang.Iterable<PluginProperty> properties,
CallContext context) |
void |
Entitlement.updateBCD(int bcd,
org.joda.time.LocalDate effectiveFromDate,
CallContext context) |
void |
SubscriptionApi.updateExternalKey(java.util.UUID bundleId,
java.lang.String newExternalKey,
CallContext context)
Update the externalKey for a given bundle
|
Copyright © 2010-2018. All Rights Reserved.