Package org.killbill.billing.jaxrs.json
Class SimplePlanJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.SimplePlanJson
-
public class SimplePlanJson extends Object
-
-
Constructor Summary
Constructors Constructor Description SimplePlanJson(String planId, String productName, ProductCategory productCategory, Currency currency, BigDecimal amount, BillingPeriod billingPeriod, Integer trialLength, TimeUnit trialTimeUnit, List<String> availableBaseProducts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BigDecimalgetAmount()List<String>getAvailableBaseProducts()BillingPeriodgetBillingPeriod()CurrencygetCurrency()StringgetPlanId()ProductCategorygetProductCategory()StringgetProductName()IntegergetTrialLength()TimeUnitgetTrialTimeUnit()inthashCode()
-
-
-
Constructor Detail
-
SimplePlanJson
public SimplePlanJson(String planId, String productName, ProductCategory productCategory, Currency currency, BigDecimal amount, BillingPeriod billingPeriod, Integer trialLength, TimeUnit trialTimeUnit, List<String> availableBaseProducts)
-
-
Method Detail
-
getPlanId
public String getPlanId()
-
getProductName
public String getProductName()
-
getProductCategory
public ProductCategory getProductCategory()
-
getCurrency
public Currency getCurrency()
-
getAmount
public BigDecimal getAmount()
-
getBillingPeriod
public BillingPeriod getBillingPeriod()
-
getTrialLength
public Integer getTrialLength()
-
getTrialTimeUnit
public TimeUnit getTrialTimeUnit()
-
-