public interface Catalog
Catalog information for a specific tenant.| Modifier and Type | Method and Description |
|---|---|
BillingAlignment |
billingAlignment(PlanPhaseSpecifier planPhase,
org.joda.time.DateTime requestedDate) |
boolean |
canCreatePlan(PlanSpecifier specifier,
org.joda.time.DateTime requestedDate) |
Plan |
createOrFindPlan(String productName,
BillingPeriod billingPeriod,
String priceListName,
PlanPhasePriceOverridesWithCallContext overrides,
org.joda.time.DateTime requestedDate) |
Plan |
createOrFindPlan(String productName,
BillingPeriod billingPeriod,
String priceListName,
PlanPhasePriceOverridesWithCallContext overrides,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
PlanPhase |
findPhase(String name,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
Plan |
findPlan(String name,
org.joda.time.DateTime requestedDate) |
Plan |
findPlan(String name,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
PriceList |
findPriceList(String name,
org.joda.time.DateTime requestedDate) |
Product |
findProduct(String name,
org.joda.time.DateTime requestedDate) |
String |
getCatalogName() |
Plan[] |
getPlans(org.joda.time.DateTime requestedDate) |
Product[] |
getProducts(org.joda.time.DateTime requestedDate) |
Currency[] |
getSupportedCurrencies(org.joda.time.DateTime requestedDate) |
BillingActionPolicy |
planCancelPolicy(PlanPhaseSpecifier planPhase,
org.joda.time.DateTime requestedDate) |
PlanChangeResult |
planChange(PlanPhaseSpecifier from,
PlanSpecifier to,
org.joda.time.DateTime requestedDate) |
PlanAlignmentChange |
planChangeAlignment(PlanPhaseSpecifier from,
PlanSpecifier to,
org.joda.time.DateTime requestedDate) |
BillingActionPolicy |
planChangePolicy(PlanPhaseSpecifier from,
PlanSpecifier to,
org.joda.time.DateTime requestedDate) |
PlanAlignmentCreate |
planCreateAlignment(PlanSpecifier specifier,
org.joda.time.DateTime requestedDate) |
String getCatalogName()
Currency[] getSupportedCurrencies(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that dateCurrencysCatalogApiExceptionProduct[] getProducts(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that dateProductsCatalogApiExceptionPlan[] getPlans(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that datePlansCatalogApiExceptionPlan findPlan(String name, org.joda.time.DateTime requestedDate) throws CatalogApiException
name - the unique name of the planrequestedDate - specifies the state of the catalog for that datePlanCatalogApiException - if Plan does not existPlan createOrFindPlan(String productName, BillingPeriod billingPeriod, String priceListName, PlanPhasePriceOverridesWithCallContext overrides, org.joda.time.DateTime requestedDate) throws CatalogApiException
productName - the unique name for the ProductbillingPeriod - the unique name for the BillingPeriodpriceListName - the unique name for the PriceListoverrides - the price override for each phase and for a specific currencyrequestedDate - specifies the state of the catalog for that datePlanCatalogApiException - if Plan does not existPlan findPlan(String name, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
name - the unique name of the planrequestedDate - specifies the state of the catalog for that datesubscriptionStartDate - the startDate of the subscriptionPlanCatalogApiException - if Plan does not existPlan createOrFindPlan(String productName, BillingPeriod billingPeriod, String priceListName, PlanPhasePriceOverridesWithCallContext overrides, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
productName - the unique name for the ProductbillingPeriod - the unique name for the BillingPeriodpriceListName - the unique name for the PriceListoverrides - the price override for each phase and for a specific currencyrequestedDate - specifies the state of the catalog for that datePlanCatalogApiException - if Plan does not existProduct findProduct(String name, org.joda.time.DateTime requestedDate) throws CatalogApiException
name - the unique name for the ProductrequestedDate - specifies the state of the catalog for that dateProductCatalogApiException - if Product does not existPriceList findPriceList(String name, org.joda.time.DateTime requestedDate) throws CatalogApiException
name - the unique name for the PlanPhaserequestedDate - specifies the state of the catalog for that datePlanPhaseCatalogApiException - if the PlanPhase does not existPlanPhase findPhase(String name, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
name - the unique name for the PlanPhaserequestedDate - specifies the state of the catalog for that datesubscriptionStartDate - the startDate of the subscriptionPlanPhaseCatalogApiException - if the PlanPhase does not existBillingActionPolicy planChangePolicy(PlanPhaseSpecifier from, PlanSpecifier to, org.joda.time.DateTime requestedDate) throws CatalogApiException
CatalogApiExceptionPlanChangeResult planChange(PlanPhaseSpecifier from, PlanSpecifier to, org.joda.time.DateTime requestedDate) throws CatalogApiException
CatalogApiExceptionBillingActionPolicy planCancelPolicy(PlanPhaseSpecifier planPhase, org.joda.time.DateTime requestedDate) throws CatalogApiException
CatalogApiExceptionPlanAlignmentCreate planCreateAlignment(PlanSpecifier specifier, org.joda.time.DateTime requestedDate) throws CatalogApiException
CatalogApiExceptionBillingAlignment billingAlignment(PlanPhaseSpecifier planPhase, org.joda.time.DateTime requestedDate) throws CatalogApiException
CatalogApiExceptionPlanAlignmentChange planChangeAlignment(PlanPhaseSpecifier from, PlanSpecifier to, org.joda.time.DateTime requestedDate) throws CatalogApiException
CatalogApiExceptionboolean canCreatePlan(PlanSpecifier specifier, org.joda.time.DateTime requestedDate) throws CatalogApiException
CatalogApiExceptionCopyright © 2010-2015. All Rights Reserved.