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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether a discount amount can be applied to the cancellation charge.booleanWhether or not to trigger the workflow from theChangeSubscriptionAutoRenewalHandlerbooleanWhether tax should be calculated on the cancellation chargevoidsetDiscountAllowedForCancellationCharge(boolean discountAllowedForCancellationCharge) Whether a discount amount can be applied to the cancellation charge.voidsetStartChangeAutoRenewalWorkflowEnabled(boolean startChangeAutoRenewalWorkflowEnabled) Whether or not to trigger the workflow from theChangeSubscriptionAutoRenewalHandlervoidsetTaxAllowedForCancellationCharge(boolean taxAllowedForCancellationCharge) Whether tax should be calculated on the cancellation charge
-
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 theChangeSubscriptionAutoRenewalHandler- 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 theChangeSubscriptionAutoRenewalHandler- See Also:
-