org.broadleafcommerce.offer.domain
Class CandidateItemOfferImpl
java.lang.Object
org.broadleafcommerce.offer.domain.CandidateItemOfferImpl
- All Implemented Interfaces:
- java.io.Serializable, CandidateItemOffer
public class CandidateItemOfferImpl
- extends java.lang.Object
- implements CandidateItemOffer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
id
protected java.lang.Long id
orderItem
protected OrderItem orderItem
offer
protected Offer offer
CandidateItemOfferImpl
public CandidateItemOfferImpl()
getId
public java.lang.Long getId()
- Specified by:
getId in interface CandidateItemOffer
setId
public void setId(java.lang.Long id)
- Specified by:
setId in interface CandidateItemOffer
getOrderItem
public OrderItem getOrderItem()
- Specified by:
getOrderItem in interface CandidateItemOffer
setOrderItem
public void setOrderItem(OrderItem orderItem)
- Specified by:
setOrderItem in interface CandidateItemOffer
setOffer
public void setOffer(Offer offer)
- Specified by:
setOffer in interface CandidateItemOffer
getDiscountedPrice
public Money getDiscountedPrice()
- Specified by:
getDiscountedPrice in interface CandidateItemOffer
getDiscountAmount
public Money getDiscountAmount()
- Specified by:
getDiscountAmount in interface CandidateItemOffer
getPriority
public int getPriority()
- Specified by:
getPriority in interface CandidateItemOffer
getOffer
public Offer getOffer()
- Specified by:
getOffer in interface CandidateItemOffer
computeDiscountedPriceAndAmount
protected void computeDiscountedPriceAndAmount()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2010. All Rights Reserved.