public class DefaultPriceListSet extends org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog> implements PriceListSet, java.io.Externalizable
DEFAULT_PRICELIST_NAME| Constructor and Description |
|---|
DefaultPriceListSet() |
DefaultPriceListSet(DefaultPriceList defaultPricelist,
DefaultPriceList[] childPriceLists) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
DefaultPriceList |
findPriceListFrom(java.lang.String priceListName) |
java.util.List<PriceList> |
getAllPriceLists() |
StaticCatalog |
getCatalog() |
DefaultPriceList[] |
getChildPriceLists() |
DefaultPriceList |
getDefaultPricelist() |
Plan |
getPlanFrom(Product product,
BillingPeriod period,
java.lang.String priceListName) |
int |
hashCode() |
void |
initialize(StandaloneCatalog catalog) |
void |
readExternal(java.io.ObjectInput in) |
org.killbill.xmlloader.ValidationErrors |
validate(StandaloneCatalog catalog,
org.killbill.xmlloader.ValidationErrors errors) |
void |
writeExternal(java.io.ObjectOutput out) |
public DefaultPriceListSet()
public DefaultPriceListSet(DefaultPriceList defaultPricelist, DefaultPriceList[] childPriceLists)
public Plan getPlanFrom(Product product, BillingPeriod period, java.lang.String priceListName) throws CatalogApiException
CatalogApiExceptionpublic DefaultPriceList findPriceListFrom(java.lang.String priceListName) throws CatalogApiException
CatalogApiExceptionpublic StaticCatalog getCatalog()
getCatalog in interface PriceListSetpublic 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 getDefaultPricelist()
public DefaultPriceList[] getChildPriceLists()
public java.util.List<PriceList> getAllPriceLists()
getAllPriceLists in interface PriceListSetpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionCopyright © 2010-2020. All Rights Reserved.