org.broadleafcommerce.core.offer.service.discount.domain
Class PromotableOrderAdjustmentImpl

java.lang.Object
  extended by org.broadleafcommerce.core.offer.service.discount.domain.PromotableOrderAdjustmentImpl
All Implemented Interfaces:
PromotableOrderAdjustment

public class PromotableOrderAdjustmentImpl
extends java.lang.Object
implements PromotableOrderAdjustment


Field Summary
protected  OrderAdjustment delegate
           
protected  PromotableOrder order
           
 
Constructor Summary
PromotableOrderAdjustmentImpl(OrderAdjustment orderAdjustment, PromotableOrder order)
           
 
Method Summary
 void computeAdjustmentValue()
           
 OrderAdjustment getDelegate()
           
 Money getValue()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected OrderAdjustment delegate

order

protected PromotableOrder order
Constructor Detail

PromotableOrderAdjustmentImpl

public PromotableOrderAdjustmentImpl(OrderAdjustment orderAdjustment,
                                     PromotableOrder order)
Method Detail

reset

public void reset()
Specified by:
reset in interface PromotableOrderAdjustment

getDelegate

public OrderAdjustment getDelegate()
Specified by:
getDelegate in interface PromotableOrderAdjustment

computeAdjustmentValue

public void computeAdjustmentValue()
Specified by:
computeAdjustmentValue in interface PromotableOrderAdjustment

getValue

public Money getValue()
Specified by:
getValue in interface PromotableOrderAdjustment


Copyright © 2012. All Rights Reserved.