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  Offer offer
           
protected  PromotableFulfillmentGroup promotableFulfillmentGroup
           
 
Constructor Summary
PromotableCandidateFulfillmentGroupOfferImpl(PromotableFulfillmentGroup promotableFulfillmentGroup, Offer offer)
           
 
Method Summary
 Money computeDiscountedAmount()
           
protected  Money getBasePrice()
           
 HashMap<OfferItemCriteria,List<PromotableOrderItem>> getCandidateQualifiersMap()
           
 Money getDiscountedAmount()
           
 Money getDiscountedPrice()
           
 PromotableFulfillmentGroup getFulfillmentGroup()
           
 Offer getOffer()
           
 int getPriority()
           
 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

offer

protected Offer offer

promotableFulfillmentGroup

protected PromotableFulfillmentGroup promotableFulfillmentGroup
Constructor Detail

PromotableCandidateFulfillmentGroupOfferImpl

public PromotableCandidateFulfillmentGroupOfferImpl(PromotableFulfillmentGroup promotableFulfillmentGroup,
                                                    Offer offer)
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

getBasePrice

protected Money getBasePrice()

computeDiscountedAmount

public Money computeDiscountedAmount()
Specified by:
computeDiscountedAmount 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.