Class StructuredContentCartRuleProcessor

java.lang.Object
org.broadleafcommerce.common.rule.AbstractRuleProcessor<T>
org.broadleafcommerce.core.order.service.AbstractCartRuleProcessor<org.broadleafcommerce.common.structure.dto.StructuredContentDTO>
org.broadleafcommerce.core.order.service.StructuredContentCartRuleProcessor
All Implemented Interfaces:
org.broadleafcommerce.common.rule.RuleProcessor<org.broadleafcommerce.common.structure.dto.StructuredContentDTO>

public class StructuredContentCartRuleProcessor extends AbstractCartRuleProcessor<org.broadleafcommerce.common.structure.dto.StructuredContentDTO>
Created by bpolster.
  • Constructor Details

    • StructuredContentCartRuleProcessor

      public StructuredContentCartRuleProcessor()
  • Method Details

    • checkForMatch

      public boolean checkForMatch(org.broadleafcommerce.common.structure.dto.StructuredContentDTO sc, Map<String,Object> valueMap)
      Expects to find a valid "Customer" in the valueMap. Uses the customer to locate the cart and then loops through the items in the current cart and checks to see if the cart items rules are met.
      Parameters:
      sc -