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(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 |
findPriceList(java.lang.String name,
org.joda.time.DateTime requestedDate) |
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) |
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) |
java.lang.String getCatalogName()
java.util.Date getStandaloneCatalogEffectiveDate(org.joda.time.DateTime requestedDate)
throws CatalogApiException
requestedDate - the requestedDateStandaloneCatalog matching that requestedDateCatalogApiExceptionCurrency[] getSupportedCurrencies(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that dateCurrencysCatalogApiExceptionUnit[] getUnits(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that dateUnitsCatalogApiExceptionjava.util.Collection<Product> getProducts(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that dateProductsCatalogApiExceptionjava.util.Collection<Plan> getPlans(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that datePlansCatalogApiExceptionPriceListSet getPriceLists(org.joda.time.DateTime requestedDate) throws CatalogApiException
requestedDate - specifies the state of the catalog for that datePriceListSet for that requestedDateCatalogApiExceptionPlan 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 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 Plan does not existPlan 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 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 Plan does not existProduct 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 Product does not existPriceList findPriceList(java.lang.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 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 datesubscriptionStartDate - the startDate of the subscriptionCatalogApiExceptionPlanPhase 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 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-2018. All Rights Reserved.