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 dateCurrency
sCatalogApiException
- 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 dateUnit
sCatalogApiException
- 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 dateProduct
sCatalogApiException
- 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 datePlan
sCatalogApiException
- 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 datePlan
CatalogApiException
- 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 datePlan
CatalogApiException
- 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 subscriptionPlan
CatalogApiException
- 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 datePlan
CatalogApiException
- 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 Product
requestedDate
- specifies the state of the catalog for that dateProduct
CatalogApiException
- 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 datePriceList
CatalogApiException
- 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 PlanPhase
requestedDate
- specifies the state of the catalog for that datesubscriptionStartDate
- the startDate of the subscriptionPlanPhase
CatalogApiException
- if the PlanPhase
does not existPlanChangeResult planChange(PlanPhaseSpecifier from, PlanSpecifier to, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
CatalogApiException
BillingActionPolicy planCancelPolicy(PlanPhaseSpecifier planPhase, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
CatalogApiException
PlanAlignmentCreate planCreateAlignment(PlanSpecifier specifier, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
CatalogApiException
BillingAlignment billingAlignment(PlanPhaseSpecifier planPhase, org.joda.time.DateTime requestedDate, org.joda.time.DateTime subscriptionStartDate) throws CatalogApiException
CatalogApiException
Copyright © 2010-2019. All Rights Reserved.