org.broadleafcommerce.core.offer.domain
Class OfferAuditImpl

java.lang.Object
  extended by org.broadleafcommerce.core.offer.domain.OfferAuditImpl
All Implemented Interfaces:
java.io.Serializable, OfferAudit

@Entity
public class OfferAuditImpl
extends java.lang.Object
implements OfferAudit

See Also:
Serialized Form

Field Summary
protected  java.lang.Long customerId
           
protected  java.lang.Long id
           
protected  Offer offer
           
protected  java.lang.Long offerCodeId
           
protected  java.lang.String offerType
           
protected  java.sql.Date redeemedDate
           
protected  java.lang.Long relatedId
           
protected  java.math.BigDecimal relatedPrice
           
protected  java.math.BigDecimal relatedRetailPrice
           
protected  java.math.BigDecimal relatedSalePrice
           
static long serialVersionUID
           
 
Constructor Summary
OfferAuditImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Long getCustomerId()
           
 java.lang.Long getId()
           
 Offer getOffer()
           
 java.lang.Long getOfferCodeId()
           
 OfferDiscountType getOfferType()
           
 java.sql.Date getRedeemedDate()
           
 java.lang.Long getRelatedId()
           
 Money getRelatedPrice()
           
 Money getRelatedRetailPrice()
           
 Money getRelatedSalePrice()
           
 int hashCode()
           
 void setCustomerId(java.lang.Long customerId)
           
 void setId(java.lang.Long id)
           
 void setOffer(Offer offer)
           
 void setOfferCodeId(java.lang.Long offerCodeId)
           
 void setOfferType(OfferDiscountType offerType)
           
 void setRedeemedDate(java.sql.Date redeemedDate)
           
 void setRelatedId(java.lang.Long relatedId)
           
 void setRelatedPrice(Money relatedPrice)
           
 void setRelatedRetailPrice(Money relatedRetailPrice)
           
 void setRelatedSalePrice(Money relatedSalePrice)
           
 
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

offer

protected Offer offer

offerCodeId

protected java.lang.Long offerCodeId

customerId

protected java.lang.Long customerId

offerType

protected java.lang.String offerType

relatedId

protected java.lang.Long relatedId

relatedRetailPrice

protected java.math.BigDecimal relatedRetailPrice

relatedSalePrice

protected java.math.BigDecimal relatedSalePrice

relatedPrice

protected java.math.BigDecimal relatedPrice

redeemedDate

protected java.sql.Date redeemedDate
Constructor Detail

OfferAuditImpl

public OfferAuditImpl()
Method Detail

getId

public java.lang.Long getId()
Specified by:
getId in interface OfferAudit

setId

public void setId(java.lang.Long id)
Specified by:
setId in interface OfferAudit

getOffer

public Offer getOffer()
Specified by:
getOffer in interface OfferAudit

setOffer

public void setOffer(Offer offer)
Specified by:
setOffer in interface OfferAudit

getOfferCodeId

public java.lang.Long getOfferCodeId()
Specified by:
getOfferCodeId in interface OfferAudit

setOfferCodeId

public void setOfferCodeId(java.lang.Long offerCodeId)
Specified by:
setOfferCodeId in interface OfferAudit

getCustomerId

public java.lang.Long getCustomerId()
Specified by:
getCustomerId in interface OfferAudit

setCustomerId

public void setCustomerId(java.lang.Long customerId)
Specified by:
setCustomerId in interface OfferAudit

getOfferType

public OfferDiscountType getOfferType()

setOfferType

public void setOfferType(OfferDiscountType offerType)

getRelatedId

public java.lang.Long getRelatedId()

setRelatedId

public void setRelatedId(java.lang.Long relatedId)
Specified by:
setRelatedId in interface OfferAudit

getRelatedRetailPrice

public Money getRelatedRetailPrice()
Specified by:
getRelatedRetailPrice in interface OfferAudit

setRelatedRetailPrice

public void setRelatedRetailPrice(Money relatedRetailPrice)
Specified by:
setRelatedRetailPrice in interface OfferAudit

getRelatedSalePrice

public Money getRelatedSalePrice()
Specified by:
getRelatedSalePrice in interface OfferAudit

setRelatedSalePrice

public void setRelatedSalePrice(Money relatedSalePrice)
Specified by:
setRelatedSalePrice in interface OfferAudit

getRelatedPrice

public Money getRelatedPrice()
Specified by:
getRelatedPrice in interface OfferAudit

setRelatedPrice

public void setRelatedPrice(Money relatedPrice)
Specified by:
setRelatedPrice in interface OfferAudit

getRedeemedDate

public java.sql.Date getRedeemedDate()
Specified by:
getRedeemedDate in interface OfferAudit

setRedeemedDate

public void setRedeemedDate(java.sql.Date redeemedDate)
Specified by:
setRedeemedDate in interface OfferAudit

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.