public class DefaultPrice extends org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog> implements Price
| Constructor and Description |
|---|
DefaultPrice() |
DefaultPrice(BigDecimal value,
Currency currency) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Currency |
getCurrency() |
BigDecimal |
getValue() |
int |
hashCode() |
DefaultPrice |
setCurrency(Currency currency) |
DefaultPrice |
setValue(BigDecimal value) |
org.killbill.xmlloader.ValidationErrors |
validate(StandaloneCatalog catalog,
org.killbill.xmlloader.ValidationErrors errors) |
public DefaultPrice()
public DefaultPrice(BigDecimal value, Currency currency)
public Currency getCurrency()
getCurrency in interface Pricepublic BigDecimal getValue() throws CurrencyValueNull
getValue in interface PriceCurrencyValueNullpublic DefaultPrice setCurrency(Currency currency)
public DefaultPrice setValue(BigDecimal value)
public org.killbill.xmlloader.ValidationErrors validate(StandaloneCatalog catalog, org.killbill.xmlloader.ValidationErrors errors)
validate in class org.killbill.xmlloader.ValidatingConfig<StandaloneCatalog>Copyright © 2010-2016. All Rights Reserved.