org.broadleafcommerce.core.offer.service.discount
Class PromotionDiscount
java.lang.Object
org.broadleafcommerce.core.offer.service.discount.PromotionDiscount
- All Implemented Interfaces:
- Serializable
public class PromotionDiscount
- extends Object
- implements Serializable
Records the usage of this item as qualifier or target of
the promotion. The discount amount will be 0 if this
item was only used as a qualifier.
- Author:
- jfischer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PromotionDiscount
public PromotionDiscount()
getPromotion
public Offer getPromotion()
setPromotion
public void setPromotion(Offer promotion)
getItemCriteria
public Set<OfferItemCriteria> getItemCriteria()
setItemCriteria
public void setItemCriteria(Set<OfferItemCriteria> itemCriteria)
getQuantity
public int getQuantity()
setQuantity
public void setQuantity(int quantity)
getFinalizedQuantity
public int getFinalizedQuantity()
setFinalizedQuantity
public void setFinalizedQuantity(int finalizedQuantity)
incrementQuantity
public void incrementQuantity(int quantity)
getCandidateItemOffer
public PromotableCandidateItemOffer getCandidateItemOffer()
setCandidateItemOffer
public void setCandidateItemOffer(PromotableCandidateItemOffer candidateItemOffer)
copy
public PromotionDiscount copy()
resetQty
public void resetQty(int qty)
Copyright © 2013. All Rights Reserved.