org.broadleafcommerce.core.offer.domain
Class CandidateOrderOfferImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.CandidateQualifiedOfferImpl
org.broadleafcommerce.core.offer.domain.CandidateOrderOfferImpl
- All Implemented Interfaces:
- java.io.Serializable, CandidateOffer, CandidateOrderOffer, CandidateQualifiedOffer
@Entity
public class CandidateOrderOfferImpl
- extends CandidateQualifiedOfferImpl
- implements CandidateOrderOffer
- 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
order
protected Order order
offer
protected Offer offer
discountedPrice
protected java.math.BigDecimal discountedPrice
CandidateOrderOfferImpl
public CandidateOrderOfferImpl()
getId
public java.lang.Long getId()
- Specified by:
getId in interface CandidateOffer
setId
public void setId(java.lang.Long id)
- Specified by:
setId in interface CandidateOffer
getPriority
public int getPriority()
- Specified by:
getPriority in interface CandidateOffer
getOffer
public Offer getOffer()
- Specified by:
getOffer in interface CandidateOffer
setOffer
public void setOffer(Offer offer)
- Specified by:
setOffer in interface CandidateOffer
getDiscountedPrice
public Money getDiscountedPrice()
- Specified by:
getDiscountedPrice in interface CandidateOrderOffer
getDiscountAmount
public Money getDiscountAmount()
- Specified by:
getDiscountAmount in interface CandidateOrderOffer
getOrder
public Order getOrder()
- Specified by:
getOrder in interface CandidateOrderOffer
setOrder
public void setOrder(Order order)
- Specified by:
setOrder in interface CandidateOrderOffer
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 © 2011. All Rights Reserved.