org.broadleafcommerce.core.offer.domain
Class CandidateOrderOfferImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.CandidateOrderOfferImpl
- All Implemented Interfaces:
- java.io.Serializable, CandidateOrderOffer
@Entity
public class CandidateOrderOfferImpl
- extends java.lang.Object
- 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 CandidateOrderOffer
setId
public void setId(java.lang.Long id)
- Specified by:
setId in interface CandidateOrderOffer
getPriority
public int getPriority()
- Specified by:
getPriority in interface CandidateOrderOffer
getOffer
public Offer getOffer()
- Specified by:
getOffer in interface CandidateOrderOffer
setOffer
public void setOffer(Offer offer)
- Specified by:
setOffer in interface CandidateOrderOffer
getDiscountedPrice
public Money getDiscountedPrice()
- Specified by:
getDiscountedPrice in interface CandidateOrderOffer
setDiscountedPrice
public void setDiscountedPrice(Money discountedPrice)
- Specified by:
setDiscountedPrice 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
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 © 2012. All Rights Reserved.