org.broadleafcommerce.core.offer.domain
Class OfferAuditImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.OfferAuditImpl
- All Implemented Interfaces:
- Serializable, OfferAudit
@Entity
public class OfferAuditImpl
- extends Object
- implements OfferAudit
- See Also:
- Serialized Form
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
id
protected Long id
offer
protected Offer offer
offerCodeId
protected Long offerCodeId
customerId
protected Long customerId
offerType
protected String offerType
relatedId
protected Long relatedId
relatedRetailPrice
protected BigDecimal relatedRetailPrice
relatedSalePrice
protected BigDecimal relatedSalePrice
relatedPrice
protected BigDecimal relatedPrice
redeemedDate
protected Date redeemedDate
OfferAuditImpl
public OfferAuditImpl()
getId
public Long getId()
- Specified by:
getId in interface OfferAudit
setId
public void setId(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 Long getOfferCodeId()
- Specified by:
getOfferCodeId in interface OfferAudit
setOfferCodeId
public void setOfferCodeId(Long offerCodeId)
- Specified by:
setOfferCodeId in interface OfferAudit
getCustomerId
public Long getCustomerId()
- Specified by:
getCustomerId in interface OfferAudit
setCustomerId
public void setCustomerId(Long customerId)
- Specified by:
setCustomerId in interface OfferAudit
getOfferType
public OfferDiscountType getOfferType()
setOfferType
public void setOfferType(OfferDiscountType offerType)
getRelatedId
public Long getRelatedId()
setRelatedId
public void setRelatedId(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 Date getRedeemedDate()
- Specified by:
getRedeemedDate in interface OfferAudit
setRedeemedDate
public void setRedeemedDate(Date redeemedDate)
- Specified by:
setRedeemedDate in interface OfferAudit
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012. All Rights Reserved.