Class RuleOrderPercentageDiscountExcludedProductsRAOAction

  • All Implemented Interfaces:
    RAOAction, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    @Deprecated(since="1811",
                forRemoval=true)
    public class RuleOrderPercentageDiscountExcludedProductsRAOAction
    extends AbstractRuleExecutableSupport
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 18.11
    • Constructor Detail

      • RuleOrderPercentageDiscountExcludedProductsRAOAction

        public RuleOrderPercentageDiscountExcludedProductsRAOAction()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • performAction

        protected boolean performAction​(RuleActionContext context,
                                        java.util.List<java.lang.String> excludedProducts,
                                        java.math.BigDecimal threshold,
                                        java.math.BigDecimal amount)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • calculateSubTotals

        protected java.math.BigDecimal calculateSubTotals​(CartRAO cartRao,
                                                          java.util.List<java.lang.String> excludedProductCodes)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createProduct

        protected ProductRAO createProduct​(java.lang.String code)
        Deprecated, for removal: This API element is subject to removal in a future version.