public class StandaloneCatalog extends org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog> implements StaticCatalog
| Modifier | Constructor and Description |
|---|---|
|
StandaloneCatalog() |
protected |
StandaloneCatalog(java.util.Date effectiveDate) |
public StandaloneCatalog()
protected StandaloneCatalog(java.util.Date effectiveDate)
public java.lang.String getCatalogName()
getCatalogName in interface StaticCatalogpublic StandaloneCatalog setCatalogName(java.lang.String catalogName)
public java.util.Date getEffectiveDate()
getEffectiveDate in interface StaticCatalogpublic StandaloneCatalog setEffectiveDate(java.util.Date effectiveDate)
public java.util.Collection<Product> getCurrentProducts()
getCurrentProducts in interface StaticCatalogpublic CatalogEntityCollection<Product> getCatalogEntityCollectionProduct()
public DefaultUnit[] getCurrentUnits()
getCurrentUnits in interface StaticCatalogpublic Currency[] getCurrentSupportedCurrencies()
getCurrentSupportedCurrencies in interface StaticCatalogpublic java.util.Collection<Plan> getCurrentPlans()
getCurrentPlans in interface StaticCatalogpublic CatalogEntityCollection<Plan> getCatalogEntityCollectionPlan()
public boolean isTemplateCatalog()
public java.net.URI getCatalogURI()
public DefaultPlanRules getPlanRules()
public StandaloneCatalog setPlanRules(DefaultPlanRules planRules)
public DefaultPriceList findCurrentPriceList(java.lang.String priceListName) throws CatalogApiException
CatalogApiExceptionpublic DefaultPriceListSet getPriceLists()
public StandaloneCatalog setPriceLists(DefaultPriceListSet priceLists)
public Plan createOrFindCurrentPlan(PlanSpecifier spec, PlanPhasePriceOverridesWithCallContext unused) throws CatalogApiException
createOrFindCurrentPlan in interface StaticCatalogCatalogApiExceptionpublic DefaultPlan findCurrentPlan(java.lang.String name) throws CatalogApiException
findCurrentPlan in interface StaticCatalogCatalogApiExceptionpublic Product findCurrentProduct(java.lang.String name) throws CatalogApiException
findCurrentProduct in interface StaticCatalogCatalogApiExceptionpublic PlanPhase findCurrentPhase(java.lang.String name) throws CatalogApiException
findCurrentPhase in interface StaticCatalogCatalogApiExceptionpublic PriceList findCurrentPricelist(java.lang.String name) throws CatalogApiException
findCurrentPricelist in interface StaticCatalogCatalogApiExceptionpublic BillingActionPolicy planCancelPolicy(PlanPhaseSpecifier planPhase) throws CatalogApiException
planCancelPolicy in interface StaticCatalogCatalogApiExceptionpublic PlanAlignmentCreate planCreateAlignment(PlanSpecifier specifier) throws CatalogApiException
planCreateAlignment in interface StaticCatalogCatalogApiExceptionpublic BillingAlignment billingAlignment(PlanPhaseSpecifier planPhase) throws CatalogApiException
billingAlignment in interface StaticCatalogCatalogApiExceptionpublic PlanChangeResult planChange(PlanPhaseSpecifier from, PlanSpecifier to) throws CatalogApiException
planChange in interface StaticCatalogCatalogApiExceptionpublic org.killbill.xmlloader.ValidationErrors validate(StandaloneCatalog catalog, org.killbill.xmlloader.ValidationErrors errors)
validate in class org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog>public void initialize(StandaloneCatalog catalog, java.net.URI sourceURI)
initialize in class org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog>public BillingMode getRecurringBillingMode()
public StandaloneCatalog setRecurringBillingMode(BillingMode recurringBillingMode)
public StandaloneCatalog setProducts(java.lang.Iterable<Product> products)
public StandaloneCatalog setSupportedCurrencies(Currency[] supportedCurrencies)
public StandaloneCatalog setPlans(java.lang.Iterable<Plan> plans)
public StandaloneCatalog setUnits(DefaultUnit[] units)
public java.util.List<Listing> getAvailableAddOnListings(java.lang.String baseProductName, @Nullable java.lang.String priceListName)
getAvailableAddOnListings in interface StaticCatalogpublic java.util.List<Listing> getAvailableBasePlanListings()
getAvailableBasePlanListings in interface StaticCatalogpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010-2018. All Rights Reserved.