org.broadleafcommerce.core.order.service
Class StructuredContentCartRuleProcessor
java.lang.Object
org.broadleafcommerce.common.rule.AbstractRuleProcessor<T>
org.broadleafcommerce.core.order.service.AbstractCartRuleProcessor<StructuredContentDTO>
org.broadleafcommerce.core.order.service.StructuredContentCartRuleProcessor
- All Implemented Interfaces:
- RuleProcessor<StructuredContentDTO>
public class StructuredContentCartRuleProcessor
- extends AbstractCartRuleProcessor<StructuredContentDTO>
Created by bpolster.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructuredContentCartRuleProcessor
public StructuredContentCartRuleProcessor()
checkForMatch
public boolean checkForMatch(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 -
Copyright © 2013. All Rights Reserved.