org.broadleafcommerce.core.offer.domain
Class CandidateFulfillmentGroupOfferImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.CandidateQualifiedOfferImpl
org.broadleafcommerce.core.offer.domain.CandidateFulfillmentGroupOfferImpl
- All Implemented Interfaces:
- java.io.Serializable, CandidateFulfillmentGroupOffer, CandidateOffer, CandidateQualifiedOffer
@Entity
public class CandidateFulfillmentGroupOfferImpl
- extends CandidateQualifiedOfferImpl
- implements CandidateFulfillmentGroupOffer
- 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
fulfillmentGroup
protected FulfillmentGroup fulfillmentGroup
offer
protected Offer offer
discountedPrice
protected java.math.BigDecimal discountedPrice
CandidateFulfillmentGroupOfferImpl
public CandidateFulfillmentGroupOfferImpl()
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
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 CandidateFulfillmentGroupOffer
getDiscountAmount
public Money getDiscountAmount()
- Specified by:
getDiscountAmount in interface CandidateFulfillmentGroupOffer
getFulfillmentGroup
public FulfillmentGroup getFulfillmentGroup()
- Specified by:
getFulfillmentGroup in interface CandidateFulfillmentGroupOffer
setFulfillmentGroup
public void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
- Specified by:
setFulfillmentGroup in interface CandidateFulfillmentGroupOffer
getPriority
public int getPriority()
- Specified by:
getPriority in interface CandidateOffer
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.