public class DefaultInternationalPrice extends org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog> implements InternationalPrice
| Constructor and Description |
|---|
DefaultInternationalPrice() |
DefaultInternationalPrice(DefaultInternationalPrice in,
java.math.BigDecimal overriddenPrice,
Currency currency) |
DefaultInternationalPrice(DefaultInternationalPrice in,
PlanPhasePriceOverride override,
boolean fixed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.math.BigDecimal |
getPrice(Currency currency) |
Price[] |
getPrices() |
int |
hashCode() |
void |
initialize(StandaloneCatalog root,
java.net.URI uri) |
boolean |
isZero() |
DefaultInternationalPrice |
setPrices(DefaultPrice[] prices) |
org.killbill.xmlloader.ValidationErrors |
validate(StandaloneCatalog catalog,
org.killbill.xmlloader.ValidationErrors errors) |
public DefaultInternationalPrice()
public DefaultInternationalPrice(DefaultInternationalPrice in, PlanPhasePriceOverride override, boolean fixed)
public DefaultInternationalPrice(DefaultInternationalPrice in, java.math.BigDecimal overriddenPrice, Currency currency)
public Price[] getPrices()
getPrices in interface InternationalPricepublic java.math.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, java.net.URI uri)
initialize in class org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog>public boolean isZero()
isZero in interface InternationalPricepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010-2018. All Rights Reserved.