Class SubscriptionCancellationProperties

java.lang.Object
com.broadleafcommerce.subscriptionoperation.service.autoconfigure.SubscriptionCancellationProperties

@ConfigurationProperties("broadleaf.subscriptionoperation.cancellation") public class SubscriptionCancellationProperties extends Object
Configuration properties for Subscription cancellation.
Author:
karanjariwala
  • Constructor Details

    • SubscriptionCancellationProperties

      public SubscriptionCancellationProperties()
  • Method Details

    • isDiscountAllowedForCancellationCharge

      public boolean isDiscountAllowedForCancellationCharge()
      Whether a discount amount can be applied to the cancellation charge.
    • isTaxAllowedForCancellationCharge

      public boolean isTaxAllowedForCancellationCharge()
      Whether tax should be calculated on the cancellation charge
    • isStartChangeAutoRenewalWorkflowEnabled

      public boolean isStartChangeAutoRenewalWorkflowEnabled()
      Whether or not to trigger the workflow from the ChangeSubscriptionAutoRenewalHandler
      See Also:
    • setDiscountAllowedForCancellationCharge

      public void setDiscountAllowedForCancellationCharge(boolean discountAllowedForCancellationCharge)
      Whether a discount amount can be applied to the cancellation charge.
    • setTaxAllowedForCancellationCharge

      public void setTaxAllowedForCancellationCharge(boolean taxAllowedForCancellationCharge)
      Whether tax should be calculated on the cancellation charge
    • setStartChangeAutoRenewalWorkflowEnabled

      public void setStartChangeAutoRenewalWorkflowEnabled(boolean startChangeAutoRenewalWorkflowEnabled)
      Whether or not to trigger the workflow from the ChangeSubscriptionAutoRenewalHandler
      See Also: