org.broadleafcommerce.core.order.service
Class StructuredContentCartRuleProcessor
java.lang.Object
org.broadleafcommerce.cms.structure.service.AbstractStructuredContentRuleProcessor
org.broadleafcommerce.core.order.service.StructuredContentCartRuleProcessor
- All Implemented Interfaces:
- StructuredContentRuleProcessor
public class StructuredContentCartRuleProcessor
- extends AbstractStructuredContentRuleProcessor
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 -
- Returns:
setOrderDao
public void setOrderDao(OrderDao orderDao)
getOrderDao
public OrderDao getOrderDao()
Copyright © 2012. All Rights Reserved.