public interface SubscriptionSku extends Serializable
Modifier and Type | Method and Description |
---|---|
BillingFrequencyType |
getBillingFrequencyType()
Returns the billing frequency type of this SKU.
|
Boolean |
getIsFutureStartDate() |
Boolean |
getIsSubscription()
Returns whether this sku represents a subscription sku
|
Boolean |
getIsTrial()
Returns whether this sku represents a subscription trial
|
org.broadleafcommerce.core.catalog.domain.Sku |
getPaidSubscription()
Returns the sku that this subscription trial will become
|
org.broadleafcommerce.core.catalog.domain.Sku |
getSku()
Returns the related parent SKU for this embeddable object.
|
Integer |
getTrialPeriodDays()
Returns the number of days this subscription trial lasts
|
String |
getUpgradeFamily() |
Integer |
getUpgradeLevel()
The upgrade level can be used by implementations to indicate whether a given SKU
represents an upgrade or downgrade within a
SubscriptionProduct.getUpgradeFamilyType() |
void |
setBillingFrequencyType(BillingFrequencyType billingFrequencyType)
Sets the billing frequency type of this SKU.
|
void |
setFutureStartDate(Boolean isFutureStartDate) |
void |
setIsSubscription(Boolean isSubscription)
Sets whether this sku represents a subscription sku
|
void |
setIsTrial(Boolean isTrial)
Sets whether this sku represents a subscription trial
|
void |
setPaidSubscription(org.broadleafcommerce.core.catalog.domain.Sku paidSubscription)
Sets the sku that this subscription trial will become
|
void |
setSku(org.broadleafcommerce.core.catalog.domain.Sku sku)
Sets the related parent SKU for this embeddable object
|
void |
setTrialPeriodDays(Integer trialPeriodDays)
Sets the number of days this subscription trial lasts
|
void |
setUpgradeLevel(Integer upgradeLevel)
Returns the upgrade level for this SKU
|
Integer getUpgradeLevel()
SubscriptionProduct.getUpgradeFamilyType()
void setUpgradeLevel(Integer upgradeLevel)
upgradeLevel
- getUpgradeLevel()
String getUpgradeFamily()
org.broadleafcommerce.core.catalog.domain.Sku getSku()
void setSku(org.broadleafcommerce.core.catalog.domain.Sku sku)
sku
- BillingFrequencyType getBillingFrequencyType()
BillingFrequencyType
from the parent SubscriptionProduct
Allows a Product to have a set of SKUs for different billing frequencies.void setBillingFrequencyType(BillingFrequencyType billingFrequencyType)
BillingFrequencyType
from the parent SubscriptionProduct
Allows a Product to have a set of SKUs for different billing frequencies.billingFrequencyType
- Boolean getIsSubscription()
void setIsSubscription(Boolean isSubscription)
isSubscription
- Boolean getIsTrial()
void setIsTrial(Boolean isTrial)
isTrial
- Integer getTrialPeriodDays()
void setTrialPeriodDays(Integer trialPeriodDays)
trialPeriodDays
- org.broadleafcommerce.core.catalog.domain.Sku getPaidSubscription()
void setPaidSubscription(org.broadleafcommerce.core.catalog.domain.Sku paidSubscription)
paidSubscription
- Boolean getIsFutureStartDate()
void setFutureStartDate(Boolean isFutureStartDate)
Copyright © 2020. All rights reserved.