Class CartItemProductServiceProperties.SubscriptionItemDefaults

java.lang.Object
com.broadleafcommerce.cartoperation.service.mapping.CartItemProductServiceProperties.SubscriptionItemDefaults
Enclosing class:
CartItemProductServiceProperties

public static class CartItemProductServiceProperties.SubscriptionItemDefaults extends Object
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    int
     
    boolean
    For subscription products only, this flag indicates whether this product's subscription's auto-renewability can be modified after declaration on the subscription.
    boolean
    For subscription products only, this flag indicates whether this product's subscription would be auto-renewed.
    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.
    void
    setAutoRenewalEnabled(boolean autoRenewalEnabled)
    For subscription products only, this flag indicates whether this product's subscription would be auto-renewed.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object