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 |
cancelWithPolicyNoValidation(Iterable<DefaultSubscriptionBase> subscriptions,
BillingActionPolicy policy,
int accountBillCycleDayLocal,
InternalCallContext context) |
boolean |
cancelWithRequestedDate(DefaultSubscriptionBase subscription,
org.joda.time.DateTime requestedDate,
CallContext context) |
org.joda.time.DateTime |
changePlan(DefaultSubscriptionBase subscription,
PlanSpecifier spec,
List<PlanPhasePriceOverride> overrides,
CallContext context) |
org.joda.time.DateTime |
changePlanWithPolicy(DefaultSubscriptionBase subscription,
PlanSpecifier spec,
List<PlanPhasePriceOverride> overrides,
BillingActionPolicy policy,
CallContext context) |
org.joda.time.DateTime |
changePlanWithRequestedDate(DefaultSubscriptionBase subscription,
PlanSpecifier spec,
List<PlanPhasePriceOverride> overrides,
org.joda.time.DateTime requestedDate,
CallContext context) |
DefaultSubscriptionBase |
createPlan(SubscriptionBuilder builder,
Plan plan,
PhaseType initialPhase,
String realPriceList,
org.joda.time.DateTime effectiveDate,
org.joda.time.DateTime processedDate,
CallContext context) |
List<SubscriptionBaseWithAddOns> |
createPlansWithAddOns(UUID accountId,
Iterable<SubscriptionAndAddOnsSpecifier> subscriptionsAndAddOns,
CallContext context) |
org.joda.time.DateTime |
dryRunChangePlan(DefaultSubscriptionBase subscription,
PlanSpecifier spec,
org.joda.time.DateTime requestedDate,
BillingActionPolicy policy,
TenantContext context) |
List<SubscriptionBaseEvent> |
getEventsOnCancelPlan(DefaultSubscriptionBase subscription,
org.joda.time.DateTime effectiveDate,
org.joda.time.DateTime processedDate,
boolean addCancellationAddOnForEventsIfRequired,
InternalTenantContext internalTenantContext) |
List<SubscriptionBaseEvent> |
getEventsOnChangePlan(DefaultSubscriptionBase subscription,
Plan newPlan,
String newPriceList,
org.joda.time.DateTime effectiveDate,
org.joda.time.DateTime processedDate,
boolean addCancellationAddOnForEventsIfRequired,
InternalTenantContext context) |
List<SubscriptionBaseEvent> |
getEventsOnCreation(UUID bundleId,
UUID subscriptionId,
org.joda.time.DateTime alignStartDate,
org.joda.time.DateTime bundleStartDate,
Plan plan,
PhaseType initialPhase,
String realPriceList,
org.joda.time.DateTime effectiveDate,
org.joda.time.DateTime processedDate,
InternalTenantContext context) |
PlanChangeResult |
getPlanChangeResult(DefaultSubscriptionBase subscription,
PlanSpecifier spec,
org.joda.time.DateTime effectiveDate,
TenantContext context) |
int |
handleBasePlanEvent(DefaultSubscriptionBase subscription,
SubscriptionBaseEvent event,
CallContext context) |
boolean |
uncancel(DefaultSubscriptionBase subscription,
CallContext context) |
DefaultSubscriptionBase createPlan(SubscriptionBuilder builder, Plan plan, PhaseType initialPhase, String realPriceList, org.joda.time.DateTime effectiveDate, org.joda.time.DateTime processedDate, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionList<SubscriptionBaseWithAddOns> createPlansWithAddOns(UUID accountId, Iterable<SubscriptionAndAddOnsSpecifier> subscriptionsAndAddOns, 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 cancelWithPolicyNoValidation(Iterable<DefaultSubscriptionBase> subscriptions, BillingActionPolicy policy, int accountBillCycleDayLocal, InternalCallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionboolean uncancel(DefaultSubscriptionBase subscription, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionorg.joda.time.DateTime dryRunChangePlan(DefaultSubscriptionBase subscription, PlanSpecifier spec, org.joda.time.DateTime requestedDate, BillingActionPolicy policy, TenantContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionorg.joda.time.DateTime changePlan(DefaultSubscriptionBase subscription, PlanSpecifier spec, List<PlanPhasePriceOverride> overrides, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionorg.joda.time.DateTime changePlanWithRequestedDate(DefaultSubscriptionBase subscription, PlanSpecifier spec, List<PlanPhasePriceOverride> overrides, org.joda.time.DateTime requestedDate, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionorg.joda.time.DateTime changePlanWithPolicy(DefaultSubscriptionBase subscription, PlanSpecifier spec, List<PlanPhasePriceOverride> overrides, BillingActionPolicy policy, CallContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionint handleBasePlanEvent(DefaultSubscriptionBase subscription, SubscriptionBaseEvent event, CallContext context) throws CatalogApiException
CatalogApiExceptionPlanChangeResult getPlanChangeResult(DefaultSubscriptionBase subscription, PlanSpecifier spec, org.joda.time.DateTime effectiveDate, TenantContext context) throws SubscriptionBaseApiException
SubscriptionBaseApiExceptionList<SubscriptionBaseEvent> getEventsOnCreation(UUID bundleId, UUID subscriptionId, org.joda.time.DateTime alignStartDate, org.joda.time.DateTime bundleStartDate, Plan plan, PhaseType initialPhase, String realPriceList, org.joda.time.DateTime effectiveDate, org.joda.time.DateTime processedDate, InternalTenantContext context) throws CatalogApiException, SubscriptionBaseApiException
List<SubscriptionBaseEvent> getEventsOnChangePlan(DefaultSubscriptionBase subscription, Plan newPlan, String newPriceList, org.joda.time.DateTime effectiveDate, org.joda.time.DateTime processedDate, boolean addCancellationAddOnForEventsIfRequired, InternalTenantContext context) throws CatalogApiException, SubscriptionBaseApiException
List<SubscriptionBaseEvent> getEventsOnCancelPlan(DefaultSubscriptionBase subscription, org.joda.time.DateTime effectiveDate, org.joda.time.DateTime processedDate, boolean addCancellationAddOnForEventsIfRequired, InternalTenantContext internalTenantContext) throws CatalogApiException
CatalogApiExceptionCopyright © 2010-2017. All Rights Reserved.