Package org.killbill.billing.catalog.api
Interface SimplePlanDescriptor
-
public interface SimplePlanDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimalgetAmount()List<String>getAvailableBaseProducts()BillingPeriodgetBillingPeriod()CurrencygetCurrency()StringgetPlanId()ProductCategorygetProductCategory()StringgetProductName()IntegergetTrialLength()TimeUnitgetTrialTimeUnit()
-
-
-
Method Detail
-
getPlanId
String getPlanId()
- Returns:
- the unique ID for the plan. If not provided, this is allocated by the system.
-
getProductName
String getProductName()
- Returns:
- the name associated to this
-
getProductCategory
ProductCategory getProductCategory()
- Returns:
- the product category
-
getAvailableBaseProducts
List<String> getAvailableBaseProducts()
- Returns:
- the list of BASE plans that have the AO configured as available
-
getCurrency
Currency getCurrency()
- Returns:
- the currency
-
getAmount
BigDecimal getAmount()
- Returns:
- the recurring price amount
-
getBillingPeriod
BillingPeriod getBillingPeriod()
- Returns:
- thr recurring billing period
-
getTrialLength
Integer getTrialLength()
- Returns:
- the length of the trial. Set to 0 if not trial.
-
getTrialTimeUnit
TimeUnit getTrialTimeUnit()
- Returns:
- thr trial period. Set to NO_BILLING_PERIOD if not trial.
-
-