Package org.killbill.billing.jaxrs.json
Class PhasePriceJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.PhasePriceJson
-
public class PhasePriceJson extends Object
-
-
Constructor Summary
Constructors Constructor Description PhasePriceJson(String planName, String phaseName, String phaseType, BigDecimal fixedPrice, BigDecimal recurringPrice, List<UsagePriceJson> usagePrices)PhasePriceJson(String planName, String phaseName, String phaseType, BigDecimal fixedPrice, BigDecimal recurringPrice, Usage[] usagePrices, Currency currency)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BigDecimalgetFixedPrice()StringgetPhaseName()StringgetPhaseType()StringgetPlanName()BigDecimalgetRecurringPrice()List<UsagePriceJson>getUsagePrices()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PhasePriceJson
public PhasePriceJson(String planName, String phaseName, String phaseType, @Nullable BigDecimal fixedPrice, @Nullable BigDecimal recurringPrice, @Nullable List<UsagePriceJson> usagePrices)
-
PhasePriceJson
public PhasePriceJson(String planName, String phaseName, String phaseType, BigDecimal fixedPrice, BigDecimal recurringPrice, Usage[] usagePrices, Currency currency) throws CatalogApiException
- Throws:
CatalogApiException
-
-
Method Detail
-
getPlanName
public String getPlanName()
-
getFixedPrice
public BigDecimal getFixedPrice()
-
getRecurringPrice
public BigDecimal getRecurringPrice()
-
getPhaseName
public String getPhaseName()
-
getPhaseType
public String getPhaseType()
-
getUsagePrices
public List<UsagePriceJson> getUsagePrices()
-
-