public class DefaultInternationalPrice extends org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog> implements InternationalPrice, Externalizable
| Constructor and Description |
|---|
DefaultInternationalPrice() |
DefaultInternationalPrice(DefaultInternationalPrice in,
BigDecimal overriddenPrice,
Currency currency) |
DefaultInternationalPrice(DefaultInternationalPrice in,
PlanPhasePriceOverride override,
boolean fixed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BigDecimal |
getPrice(Currency currency) |
Price[] |
getPrices() |
int |
hashCode() |
void |
initialize(StandaloneCatalog root) |
boolean |
isZero() |
void |
readExternal(ObjectInput in) |
DefaultInternationalPrice |
setPrices(DefaultPrice[] prices) |
org.killbill.xmlloader.ValidationErrors |
validate(StandaloneCatalog catalog,
org.killbill.xmlloader.ValidationErrors errors) |
void |
writeExternal(ObjectOutput out) |
public DefaultInternationalPrice()
public DefaultInternationalPrice(DefaultInternationalPrice in, PlanPhasePriceOverride override, boolean fixed)
public DefaultInternationalPrice(DefaultInternationalPrice in, BigDecimal overriddenPrice, Currency currency)
public Price[] getPrices()
getPrices in interface InternationalPricepublic BigDecimal getPrice(Currency currency) throws CatalogApiException
getPrice in interface InternationalPriceCatalogApiExceptionpublic DefaultInternationalPrice setPrices(DefaultPrice[] prices)
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 root)
initialize in class org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog>public boolean isZero()
isZero in interface InternationalPricepublic 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.