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