public interface SubscriptionBaseApiService
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(DefaultSubscriptionBase subscription,
CallContext context) |
boolean |
cancelWithPolicy(DefaultSubscriptionBase subscription,
BillingActionPolicy policy,
int accountBillCycleDayLocal,
CallContext context) |
boolean |
cancelWithPolicyNoValidationAndCatalog(java.lang.Iterable<DefaultSubscriptionBase> subscriptions,
BillingActionPolicy policy,
int accountBillCycleDayLocal,
Catalog catalog,
InternalCallContext context) |
boolean |
cancelWithRequestedDate(DefaultSubscriptionBase subscription,
org.joda.time.DateTime requestedDate,
CallContext context) |
org.joda.time.DateTime |
changePlan(DefaultSubscriptionBase subscription,
EntitlementSpecifier spec,
CallContext context) |
org.joda.time.DateTime |
changePlanWithPolicy(DefaultSubscriptionBase subscription,
EntitlementSpecifier spec,
BillingActionPolicy policy,
CallContext context) |
org.joda.time.DateTime |
changePlanWithRequestedDate(DefaultSubscriptionBase subscription,
EntitlementSpecifier spec,
org.joda.time.DateTime requestedDate,
CallContext context) |
java.util.List<SubscriptionBaseWithAddOns> |
createPlansWithAddOns(java.util.UUID accountId,
java.lang.Iterable<SubscriptionAndAddOnsSpecifier> subscriptionsAndAddOns,
Catalog catalog,
CallContext context) |
org.joda.time.DateTime |
dryRunChangePlan(DefaultSubscriptionBase subscription,
EntitlementSpecifier spec,
org.joda.time.DateTime requestedDate,
BillingActionPolicy policy,
TenantContext context) |
java.util.List<SubscriptionBaseEvent> |
getEventsOnCancelPlan(DefaultSubscriptionBase subscription,
org.joda.time.DateTime effectiveDate,
boolean addCancellationAddOnForEventsIfRequired,
Catalog fullCatalog,
InternalTenantContext internalTenantContext) |
java.util.List<SubscriptionBaseEvent> |
getEventsOnChangePlan(DefaultSubscriptionBase subscription,
Plan newPlan,
java.lang.String newPriceList,
org.joda.time.DateTime effectiveDate,
boolean addCancellationAddOnForEventsIfRequired,
java.lang.Integer bcd,
Catalog fullCatalog,
InternalTenantContext context) |
java.util.List<SubscriptionBaseEvent> |
getEventsOnCreation(java.util.UUID subscriptionId,
org.joda.time.DateTime alignStartDate,
org.joda.time.DateTime bundleStartDate,
Plan plan,
PhaseType initialPhase,
java.lang.String realPriceList,
org.joda.time.DateTime effectiveDate,
java.lang.Integer bcd,
Catalog fullCatalog,
InternalTenantContext context) |
PlanChangeResult |
getPlanChangeResult(DefaultSubscriptionBase subscription,
PlanSpecifier spec,
org.joda.time.DateTime effectiveDate,
TenantContext context) |
int |
handleBasePlanEvent(DefaultSubscriptionBase subscription,
SubscriptionBaseEvent event,
Catalog fullCatalog,
CallContext context) |
boolean |
uncancel(DefaultSubscriptionBase subscription,
CallContext context) |
boolean |
undoChangePlan(DefaultSubscriptionBase defaultSubscriptionBase,
CallContext context) |
java.util.List<SubscriptionBaseWithAddOns> createPlansWithAddOns(java.util.UUID accountId, java.lang.Iterable<SubscriptionAndAddOnsSpecifier> subscriptionsAndAddOns, Catalog catalog, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionboolean cancel(DefaultSubscriptionBase subscription, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionboolean cancelWithRequestedDate(DefaultSubscriptionBase subscription, org.joda.time.DateTime requestedDate, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionboolean cancelWithPolicy(DefaultSubscriptionBase subscription, BillingActionPolicy policy, int accountBillCycleDayLocal, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionboolean cancelWithPolicyNoValidationAndCatalog(java.lang.Iterable<DefaultSubscriptionBase> subscriptions, BillingActionPolicy policy, int accountBillCycleDayLocal, Catalog catalog, InternalCallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionboolean uncancel(DefaultSubscriptionBase subscription, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionorg.joda.time.DateTime dryRunChangePlan(DefaultSubscriptionBase subscription, EntitlementSpecifier spec, org.joda.time.DateTime requestedDate, BillingActionPolicy policy, TenantContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionorg.joda.time.DateTime changePlan(DefaultSubscriptionBase subscription, EntitlementSpecifier spec, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionorg.joda.time.DateTime changePlanWithRequestedDate(DefaultSubscriptionBase subscription, EntitlementSpecifier spec, org.joda.time.DateTime requestedDate, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionorg.joda.time.DateTime changePlanWithPolicy(DefaultSubscriptionBase subscription, EntitlementSpecifier spec, BillingActionPolicy policy, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionint handleBasePlanEvent(DefaultSubscriptionBase subscription, SubscriptionBaseEvent event, Catalog fullCatalog, CallContext context) throws CatalogApiException
CatalogApiExceptionPlanChangeResult getPlanChangeResult(DefaultSubscriptionBase subscription, PlanSpecifier spec, org.joda.time.DateTime effectiveDate, TenantContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionjava.util.List<SubscriptionBaseEvent> getEventsOnCreation(java.util.UUID subscriptionId, org.joda.time.DateTime alignStartDate, org.joda.time.DateTime bundleStartDate, Plan plan, PhaseType initialPhase, java.lang.String realPriceList, org.joda.time.DateTime effectiveDate, java.lang.Integer bcd, Catalog fullCatalog, InternalTenantContext context) throws CatalogApiException, SubscriptionBaseApiException
java.util.List<SubscriptionBaseEvent> getEventsOnChangePlan(DefaultSubscriptionBase subscription, Plan newPlan, java.lang.String newPriceList, org.joda.time.DateTime effectiveDate, boolean addCancellationAddOnForEventsIfRequired, java.lang.Integer bcd, Catalog fullCatalog, InternalTenantContext context) throws CatalogApiException, SubscriptionBaseApiException
java.util.List<SubscriptionBaseEvent> getEventsOnCancelPlan(DefaultSubscriptionBase subscription, org.joda.time.DateTime effectiveDate, boolean addCancellationAddOnForEventsIfRequired, Catalog fullCatalog, InternalTenantContext internalTenantContext) throws CatalogApiException
CatalogApiExceptionboolean undoChangePlan(DefaultSubscriptionBase defaultSubscriptionBase, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionCopyright © 2010-2018. All Rights Reserved.