Class CartItemProductServiceProperties.SubscriptionItemDefaults
java.lang.Object
com.broadleafcommerce.cartoperation.service.mapping.CartItemProductServiceProperties.SubscriptionItemDefaults
- Enclosing class:
- CartItemProductServiceProperties
Default settings for subscription items when added to the cart, if not specified in the
Product configurations.
- Since:
- Cart Operation Service 2.3.0, Release Train 2.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanFor subscription products only, this flag indicates whether this product's subscription's auto-renewability can be modified after declaration on the subscription.booleanFor subscription products only, this flag indicates whether this product's subscription would be auto-renewed.voidsetAllowAutoRenewalModification(boolean allowAutoRenewalModification) For subscription products only, this flag indicates whether this product's subscription's auto-renewability can be modified after declaration on the subscription.voidsetAutoRenewalEnabled(boolean autoRenewalEnabled) For subscription products only, this flag indicates whether this product's subscription would be auto-renewed.toString()
-
Constructor Details
-
SubscriptionItemDefaults
public SubscriptionItemDefaults()
-
-
Method Details
-
isAutoRenewalEnabled
public boolean isAutoRenewalEnabled()For subscription products only, this flag indicates whether this product's subscription would be auto-renewed. -
isAllowAutoRenewalModification
public boolean isAllowAutoRenewalModification()For subscription products only, this flag indicates whether this product's subscription's auto-renewability can be modified after declaration on the subscription. -
setAutoRenewalEnabled
public void setAutoRenewalEnabled(boolean autoRenewalEnabled) For subscription products only, this flag indicates whether this product's subscription would be auto-renewed. -
setAllowAutoRenewalModification
public void setAllowAutoRenewalModification(boolean allowAutoRenewalModification) For subscription products only, this flag indicates whether this product's subscription's auto-renewability can be modified after declaration on the subscription. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-