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

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

public class PromotableCandidateFulfillmentGroupOfferImpl
extends Object
implements PromotableCandidateFulfillmentGroupOffer


Field Summary
protected  HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateQualifiersMap
           
protected  CandidateFulfillmentGroupOffer delegate
           
protected  Money discountedAmount
           
protected  PromotableFulfillmentGroup promotableFulfillmentGroup
           
 
Constructor Summary
PromotableCandidateFulfillmentGroupOfferImpl(CandidateFulfillmentGroupOffer candidateFulfillmentGroupOffer, PromotableFulfillmentGroup promotableFulfillmentGroup)
           
 
Method Summary
 void computeDiscountedPriceAndAmount()
           
 HashMap<OfferItemCriteria,List<PromotableOrderItem>> getCandidateQualifiersMap()
           
 CandidateFulfillmentGroupOffer getDelegate()
           
 Money getDiscountedAmount()
           
 Money getDiscountedPrice()
           
 PromotableFulfillmentGroup getFulfillmentGroup()
           
 Offer getOffer()
           
 int getPriority()
           
 void reset()
           
 void setCandidateQualifiersMap(HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateItemsMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

candidateQualifiersMap

protected HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateQualifiersMap

delegate

protected CandidateFulfillmentGroupOffer delegate

promotableFulfillmentGroup

protected PromotableFulfillmentGroup promotableFulfillmentGroup

discountedAmount

protected Money discountedAmount
Constructor Detail

PromotableCandidateFulfillmentGroupOfferImpl

public PromotableCandidateFulfillmentGroupOfferImpl(CandidateFulfillmentGroupOffer candidateFulfillmentGroupOffer,
                                                    PromotableFulfillmentGroup promotableFulfillmentGroup)
Method Detail

getCandidateQualifiersMap

public HashMap<OfferItemCriteria,List<PromotableOrderItem>> getCandidateQualifiersMap()
Specified by:
getCandidateQualifiersMap in interface PromotableCandidateFulfillmentGroupOffer

setCandidateQualifiersMap

public void setCandidateQualifiersMap(HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateItemsMap)
Specified by:
setCandidateQualifiersMap in interface PromotableCandidateFulfillmentGroupOffer

computeDiscountedPriceAndAmount

public void computeDiscountedPriceAndAmount()
Specified by:
computeDiscountedPriceAndAmount in interface PromotableCandidateFulfillmentGroupOffer

reset

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

getDelegate

public CandidateFulfillmentGroupOffer getDelegate()
Specified by:
getDelegate in interface PromotableCandidateFulfillmentGroupOffer

getDiscountedPrice

public Money getDiscountedPrice()
Specified by:
getDiscountedPrice in interface PromotableCandidateFulfillmentGroupOffer

getDiscountedAmount

public Money getDiscountedAmount()
Specified by:
getDiscountedAmount in interface PromotableCandidateFulfillmentGroupOffer

getOffer

public Offer getOffer()
Specified by:
getOffer in interface PromotableCandidateFulfillmentGroupOffer

getFulfillmentGroup

public PromotableFulfillmentGroup getFulfillmentGroup()
Specified by:
getFulfillmentGroup in interface PromotableCandidateFulfillmentGroupOffer

getPriority

public int getPriority()


Copyright © 2013. All Rights Reserved.