Package org.killbill.billing.jaxrs.json
Class CatalogJson.PriceJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.CatalogJson.PriceJson
-
- Enclosing class:
- CatalogJson
public static class CatalogJson.PriceJson extends Object
-
-
Constructor Summary
Constructors Constructor Description PriceJson(Currency currency, BigDecimal value)PriceJson(Price price)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CurrencygetCurrency()BigDecimalgetValue()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PriceJson
public PriceJson(Currency currency, BigDecimal value)
-
PriceJson
public PriceJson(Price price) throws CurrencyValueNull
- Throws:
CurrencyValueNull
-
-
Method Detail
-
getCurrency
public Currency getCurrency()
-
getValue
public BigDecimal getValue()
-
-