public class DefaultPriceList extends org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog> implements PriceList, Externalizable
| Constructor and Description |
|---|
DefaultPriceList() |
DefaultPriceList(DefaultPlan[] plans,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Plan |
findPlan(String planName) |
Collection<Plan> |
findPlans(Product product,
BillingPeriod period) |
StaticCatalog |
getCatalog() |
CatalogEntityCollection<Plan> |
getCatalogEntityCollectionPlan() |
String |
getName() |
Collection<Plan> |
getPlans() |
String |
getPrettyName() |
int |
hashCode() |
void |
initialize(StandaloneCatalog catalog) |
void |
readExternal(ObjectInput in) |
DefaultPriceList |
setName(String name) |
DefaultPriceList |
setPlans(Iterable<Plan> plans) |
String |
toString() |
org.killbill.xmlloader.ValidationErrors |
validate(StandaloneCatalog catalog,
org.killbill.xmlloader.ValidationErrors errors) |
void |
writeExternal(ObjectOutput out) |
public DefaultPriceList()
public DefaultPriceList(DefaultPlan[] plans, String name)
public StaticCatalog getCatalog()
getCatalog in interface PriceListpublic Collection<Plan> getPlans()
public CatalogEntityCollection<Plan> getCatalogEntityCollectionPlan()
public String getName()
getName in interface CatalogEntitypublic String getPrettyName()
getPrettyName in interface CatalogEntitypublic Collection<Plan> findPlans(Product product, BillingPeriod period)
public 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 DefaultPriceList setName(String name)
public DefaultPriceList setPlans(Iterable<Plan> plans)
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.