org.broadleafcommerce.core.offer.service.discount.domain
Class PromotableCandidateFulfillmentGroupOfferImpl
java.lang.Object
org.broadleafcommerce.core.offer.service.discount.domain.PromotableCandidateFulfillmentGroupOfferImpl
- All Implemented Interfaces:
- PromotableCandidateFulfillmentGroupOffer
public class PromotableCandidateFulfillmentGroupOfferImpl
- extends Object
- implements PromotableCandidateFulfillmentGroupOffer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
candidateQualifiersMap
protected HashMap<OfferItemCriteria,List<PromotableOrderItem>> candidateQualifiersMap
delegate
protected CandidateFulfillmentGroupOffer delegate
promotableFulfillmentGroup
protected PromotableFulfillmentGroup promotableFulfillmentGroup
discountedAmount
protected Money discountedAmount
PromotableCandidateFulfillmentGroupOfferImpl
public PromotableCandidateFulfillmentGroupOfferImpl(CandidateFulfillmentGroupOffer candidateFulfillmentGroupOffer,
PromotableFulfillmentGroup promotableFulfillmentGroup)
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.