public class DefaultPlanRules extends org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog> implements org.killbill.billing.catalog.api.rules.PlanRules, Externalizable
| Constructor and Description |
|---|
DefaultPlanRules() |
public StaticCatalog getCatalog()
getCatalog in interface org.killbill.billing.catalog.api.rules.PlanRulespublic Iterable<org.killbill.billing.catalog.api.rules.CaseChangePlanPolicy> getCaseChangePlanPolicy()
getCaseChangePlanPolicy in interface org.killbill.billing.catalog.api.rules.PlanRulespublic Iterable<org.killbill.billing.catalog.api.rules.CaseChangePlanAlignment> getCaseChangePlanAlignment()
getCaseChangePlanAlignment in interface org.killbill.billing.catalog.api.rules.PlanRulespublic Iterable<org.killbill.billing.catalog.api.rules.CaseCancelPolicy> getCaseCancelPolicy()
getCaseCancelPolicy in interface org.killbill.billing.catalog.api.rules.PlanRulespublic Iterable<org.killbill.billing.catalog.api.rules.CaseCreateAlignment> getCaseCreateAlignment()
getCaseCreateAlignment in interface org.killbill.billing.catalog.api.rules.PlanRulespublic Iterable<org.killbill.billing.catalog.api.rules.CaseBillingAlignment> getCaseBillingAlignment()
getCaseBillingAlignment in interface org.killbill.billing.catalog.api.rules.PlanRulespublic Iterable<org.killbill.billing.catalog.api.rules.CasePriceList> getCasePriceList()
getCasePriceList in interface org.killbill.billing.catalog.api.rules.PlanRulespublic PlanAlignmentCreate getPlanCreateAlignment(PlanSpecifier specifier) throws CatalogApiException
getPlanCreateAlignment in interface org.killbill.billing.catalog.api.rules.PlanRulesCatalogApiExceptionpublic BillingActionPolicy getPlanCancelPolicy(PlanPhaseSpecifier planPhase) throws CatalogApiException
getPlanCancelPolicy in interface org.killbill.billing.catalog.api.rules.PlanRulesCatalogApiExceptionpublic BillingAlignment getBillingAlignment(PlanPhaseSpecifier planPhase) throws CatalogApiException
getBillingAlignment in interface org.killbill.billing.catalog.api.rules.PlanRulesCatalogApiExceptionpublic PlanChangeResult getPlanChangeResult(PlanPhaseSpecifier from, PlanSpecifier to) throws CatalogApiException
getPlanChangeResult in interface org.killbill.billing.catalog.api.rules.PlanRulesCatalogApiExceptionpublic 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)
initialize in class org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog>public DefaultPlanRules setChangeCase(DefaultCaseChangePlanPolicy[] changeCase)
public DefaultPlanRules setChangeAlignmentCase(DefaultCaseChangePlanAlignment[] changeAlignmentCase)
public DefaultPlanRules setCancelCase(DefaultCaseCancelPolicy[] cancelCase)
public DefaultPlanRules setCreateAlignmentCase(DefaultCaseCreateAlignment[] createAlignmentCase)
public DefaultPlanRules setBillingAlignmentCase(DefaultCaseBillingAlignment[] billingAlignmentCase)
public DefaultPlanRules setPriceListCase(DefaultCasePriceList[] priceListCase)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2010–2021. All rights reserved.