public class DefaultSimplePlanDescriptor extends Object implements SimplePlanDescriptor
| Constructor and Description |
|---|
DefaultSimplePlanDescriptor(String planId,
String productName,
ProductCategory productCategory,
Currency currency,
BigDecimal amount,
BillingPeriod billingPeriod,
Integer trialLength,
TimeUnit trialTimeUnit,
List<String> availableBaseProducts) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAmount() |
List<String> |
getAvailableBaseProducts() |
BillingPeriod |
getBillingPeriod() |
Currency |
getCurrency() |
String |
getPlanId() |
ProductCategory |
getProductCategory() |
String |
getProductName() |
Integer |
getTrialLength() |
TimeUnit |
getTrialTimeUnit() |
String |
toString() |
public DefaultSimplePlanDescriptor(String planId, String productName, ProductCategory productCategory, Currency currency, BigDecimal amount, BillingPeriod billingPeriod, Integer trialLength, TimeUnit trialTimeUnit, List<String> availableBaseProducts)
public String getPlanId()
getPlanId in interface SimplePlanDescriptorpublic String getProductName()
getProductName in interface SimplePlanDescriptorpublic ProductCategory getProductCategory()
getProductCategory in interface SimplePlanDescriptorpublic List<String> getAvailableBaseProducts()
getAvailableBaseProducts in interface SimplePlanDescriptorpublic Currency getCurrency()
getCurrency in interface SimplePlanDescriptorpublic BigDecimal getAmount()
getAmount in interface SimplePlanDescriptorpublic BillingPeriod getBillingPeriod()
getBillingPeriod in interface SimplePlanDescriptorpublic Integer getTrialLength()
getTrialLength in interface SimplePlanDescriptorpublic TimeUnit getTrialTimeUnit()
getTrialTimeUnit in interface SimplePlanDescriptorCopyright © 2010–2021. All rights reserved.