org.broadleafcommerce.offer.domain
Class CandidateFulfillmentGroupOfferImpl
java.lang.Object
org.broadleafcommerce.offer.domain.CandidateFulfillmentGroupOfferImpl
- All Implemented Interfaces:
- java.io.Serializable, CandidateFulfillmentGroupOffer
public class CandidateFulfillmentGroupOfferImpl
- extends java.lang.Object
- 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 CandidateFulfillmentGroupOffer
setId
public void setId(java.lang.Long id)
- Specified by:
setId in interface CandidateFulfillmentGroupOffer
getOffer
public Offer getOffer()
- Specified by:
getOffer in interface CandidateFulfillmentGroupOffer
setOffer
public void setOffer(Offer offer)
- Specified by:
setOffer in interface CandidateFulfillmentGroupOffer
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 CandidateFulfillmentGroupOffer
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.