org.broadleafcommerce.core.offer.service.discount
Class OrderItemPriceComparator

java.lang.Object
  extended by org.broadleafcommerce.core.offer.service.discount.OrderItemPriceComparator
All Implemented Interfaces:
Comparator<PromotableOrderItem>

public class OrderItemPriceComparator
extends Object
implements Comparator<PromotableOrderItem>

Author:
jfischer

Constructor Summary
OrderItemPriceComparator(boolean applyToSalePrice)
           
 
Method Summary
 int compare(PromotableOrderItem c1, PromotableOrderItem c2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

OrderItemPriceComparator

public OrderItemPriceComparator(boolean applyToSalePrice)
Method Detail

compare

public int compare(PromotableOrderItem c1,
                   PromotableOrderItem c2)
Specified by:
compare in interface Comparator<PromotableOrderItem>


Copyright © 2013. All Rights Reserved.