org.broadleafcommerce.offer.domain
Class OrderItemOfferImpl

java.lang.Object
  extended by org.broadleafcommerce.offer.domain.OrderItemOfferImpl
All Implemented Interfaces:
OrderItemOffer

public class OrderItemOfferImpl
extends java.lang.Object
implements OrderItemOffer


Field Summary
protected  java.util.List<CandidateItemOffer> candidateItemOffers
           
protected  Offer offer
           
protected  Money totalDiscount
           
 
Constructor Summary
OrderItemOfferImpl()
           
 
Method Summary
 void addCandidateItemOffer(CandidateItemOffer candidateItemOffer)
           
 java.util.List<CandidateItemOffer> getCandidateItemOffers()
           
 Offer getOffer()
           
 int getPriority()
           
 Money getTotalDiscount()
           
 void setOffer(Offer offer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offer

protected Offer offer

candidateItemOffers

protected java.util.List<CandidateItemOffer> candidateItemOffers

totalDiscount

protected Money totalDiscount
Constructor Detail

OrderItemOfferImpl

public OrderItemOfferImpl()
Method Detail

getOffer

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

setOffer

public void setOffer(Offer offer)
Specified by:
setOffer in interface OrderItemOffer

getCandidateItemOffers

public java.util.List<CandidateItemOffer> getCandidateItemOffers()
Specified by:
getCandidateItemOffers in interface OrderItemOffer

addCandidateItemOffer

public void addCandidateItemOffer(CandidateItemOffer candidateItemOffer)
Specified by:
addCandidateItemOffer in interface OrderItemOffer

getTotalDiscount

public Money getTotalDiscount()
Specified by:
getTotalDiscount in interface OrderItemOffer

getPriority

public int getPriority()
Specified by:
getPriority in interface OrderItemOffer


Copyright © 2010. All Rights Reserved.