org.broadleafcommerce.offer.domain
Class CandidateFulfillmentGroupOfferImpl

java.lang.Object
  extended by 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

Field Summary
protected  java.math.BigDecimal discountedPrice
           
protected  FulfillmentGroup fulfillmentGroup
           
protected  java.lang.Long id
           
protected  Offer offer
           
static long serialVersionUID
           
 
Constructor Summary
CandidateFulfillmentGroupOfferImpl()
           
 
Method Summary
protected  void computeDiscountedPriceAndAmount()
           
 boolean equals(java.lang.Object obj)
           
 Money getDiscountAmount()
           
 Money getDiscountedPrice()
           
 FulfillmentGroup getFulfillmentGroup()
           
 java.lang.Long getId()
           
 Offer getOffer()
           
 int getPriority()
           
 int hashCode()
           
 void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
           
 void setId(java.lang.Long id)
           
 void setOffer(Offer offer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CandidateFulfillmentGroupOfferImpl

public CandidateFulfillmentGroupOfferImpl()
Method Detail

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.