Package org.killbill.billing.jaxrs.json
Class CatalogJson.PhaseJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.CatalogJson.PhaseJson
-
- Enclosing class:
- CatalogJson
public static class CatalogJson.PhaseJson extends Object
-
-
Constructor Summary
Constructors Constructor Description PhaseJson(String type, List<CatalogJson.PriceJson> prices, List<CatalogJson.PriceJson> fixedPrices, CatalogJson.DurationJson duration, List<CatalogJson.UsageJson> usages)PhaseJson(PlanPhase phase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CatalogJson.DurationJsongetDuration()List<CatalogJson.PriceJson>getFixedPrices()List<CatalogJson.PriceJson>getPrices()StringgetType()List<CatalogJson.UsageJson>getUsages()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PhaseJson
public PhaseJson(PlanPhase phase) throws CurrencyValueNull
- Throws:
CurrencyValueNull
-
PhaseJson
public PhaseJson(String type, List<CatalogJson.PriceJson> prices, List<CatalogJson.PriceJson> fixedPrices, CatalogJson.DurationJson duration, List<CatalogJson.UsageJson> usages)
-
-
Method Detail
-
getType
public String getType()
-
getPrices
public List<CatalogJson.PriceJson> getPrices()
-
getFixedPrices
public List<CatalogJson.PriceJson> getFixedPrices()
-
getDuration
public CatalogJson.DurationJson getDuration()
-
getUsages
public List<CatalogJson.UsageJson> getUsages()
-
-