public interface Catalog
Catalog information for a specific tenant.| Modifier and Type | Method and Description |
|---|---|
BillingAlignment |
billingAlignment(PlanPhaseSpecifier planPhase,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
Plan |
createOrFindPlan(PlanSpecifier spec,
PlanPhasePriceOverridesWithCallContext overrides,
org.joda.time.DateTime requestedDate) |
Plan |
createOrFindPlan(PlanSpecifier spec,
PlanPhasePriceOverridesWithCallContext overrides,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
PlanPhase |
findPhase(java.lang.String name,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
Plan |
findPlan(java.lang.String name,
org.joda.time.DateTime requestedDate) |
Plan |
findPlan(java.lang.String name,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
PriceList |
findPriceListForPlan(java.lang.String planName,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
Product |
findProduct(java.lang.String name,
org.joda.time.DateTime requestedDate) |
java.lang.String |
getCatalogName() |
java.util.Collection<Plan> |
getPlans(org.joda.time.DateTime requestedDate) |
PriceListSet |
getPriceLists(org.joda.time.DateTime requestedDate) |
java.util.Collection<Product> |
getProducts(org.joda.time.DateTime requestedDate) |
java.util.Date |
getStandaloneCatalogEffectiveDate(org.joda.time.DateTime requestedDate) |
Currency[] |
getSupportedCurrencies(org.joda.time.DateTime requestedDate) |
Unit[] |
getUnits(org.joda.time.DateTime requestedDate) |
BillingActionPolicy |
planCancelPolicy(PlanPhaseSpecifier planPhase,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
PlanChangeResult |
planChange(PlanPhaseSpecifier from,
PlanSpecifier to,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
PlanAlignmentCreate |
planCreateAlignment(PlanSpecifier specifier,
org.joda.time.DateTime requestedDate,
org.joda.time.DateTime subscriptionStartDate) |
java.lang.String getCatalogName()
java.util.Date getStandaloneCatalogEffectiveDate(org.joda.time.DateTime requestedDate)
throws CatalogApiException
requestedDate - the requestedDateStandaloneCatalog matching that requestedDateCatalogApiException - if no catalog can be found for that dateCurrency[] getSupportedCurrencies(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that dateCurrencysCatalogApiException - if no catalog can be found for that dateUnit[] getUnits(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that dateUnitsCatalogApiException - if no catalog can be found for that datejava.util.Collection<Product> getProducts(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that dateProductsCatalogApiException - if no catalog can be found for that datejava.util.Collection<Plan> getPlans(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that datePlansCatalogApiException - if no catalog can be found for that datePriceListSet getPriceLists(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that datePriceListSet for that requestedDateCatalogApiException - if no catalog can be found for that datePlan findPlan(java.lang.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 no catalog can be found for that date or if the Plan does not existPlan createOrFindPlan(PlanSpecifier spec, PlanPhasePriceOverridesWithCallContext overrides, org.joda.time.DateTime requestedDate) throws CatalogApiException
spec - the specification for the Plan to be usedoverrides - the price override for each phase and for a specific currencyrequestedDate - specifies the state of the catalog for that datePlanCatalogApiException - if no catalog can be found for that date or if the Plan cannot be found nor createdPlan findPlan(java.lang.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 no catalog can be found for that date or if the Plan does not existPlan createOrFindPlan(PlanSpecifier spec, PlanPhasePriceOverridesWithCallContext overrides, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
spec - the specification for the Plan to be usedoverrides - the price override for each phase and for a specific currencyrequestedDate - specifies the state of the catalog for that datePlanCatalogApiException - if no catalog can be found for that date or if the Plan cannot be found nor createdProduct findProduct(java.lang.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 no catalog can be found for that date or if the Product does not existPriceList findPriceListForPlan(java.lang.String planName, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
planName - the unique name of the planrequestedDate - specifies the state of the catalog for that datePriceListCatalogApiException - if no catalog can be found for that date or if the PriceList does not existPlanPhase findPhase(java.lang.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 existPlanChangeResult planChange(PlanPhaseSpecifier from, PlanSpecifier to, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
CatalogApiExceptionBillingActionPolicy planCancelPolicy(PlanPhaseSpecifier planPhase, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
CatalogApiExceptionPlanAlignmentCreate planCreateAlignment(PlanSpecifier specifier, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
CatalogApiExceptionBillingAlignment billingAlignment(PlanPhaseSpecifier planPhase, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
CatalogApiExceptionCopyright © 2010-2018. All Rights Reserved.