org.broadleafcommerce.core.offer.domain
Class OfferAuditImpl

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

@Entity
public class OfferAuditImpl
extends Object
implements OfferAudit

See Also:
Serialized Form

Field Summary
protected  Long customerId
           
protected  Long id
           
protected  Long offerId
           
protected  Long orderId
           
protected  Date redeemedDate
           
static long serialVersionUID
           
 
Constructor Summary
OfferAuditImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getCustomerId()
          The id of the associated customer.
 Long getId()
          System generated unique id for this audit record.
 Long getOfferId()
          The associated offer id.
 Long getOrderId()
          The associated order id.
 Date getRedeemedDate()
          The date the offer was applied to the order.
 int hashCode()
           
 void setCustomerId(Long customerId)
          Sets the customer id.
 void setId(Long id)
          Sets the id.
 void setOfferId(Long offerId)
          Sets the associated offer id.
 void setOrderId(Long orderId)
          Sets the associated order id.
 void setRedeemedDate(Date redeemedDate)
          Sets the offer redeemed date.
 
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 Long id

offerId

protected Long offerId

customerId

protected Long customerId

orderId

protected Long orderId

redeemedDate

protected Date redeemedDate
Constructor Detail

OfferAuditImpl

public OfferAuditImpl()
Method Detail

getId

public Long getId()
Description copied from interface: OfferAudit
System generated unique id for this audit record.

Specified by:
getId in interface OfferAudit
Returns:

setId

public void setId(Long id)
Description copied from interface: OfferAudit
Sets the id.

Specified by:
setId in interface OfferAudit

getOfferId

public Long getOfferId()
Description copied from interface: OfferAudit
The associated offer id.

Specified by:
getOfferId in interface OfferAudit
Returns:

setOfferId

public void setOfferId(Long offerId)
Description copied from interface: OfferAudit
Sets the associated offer id.

Specified by:
setOfferId in interface OfferAudit

getCustomerId

public Long getCustomerId()
Description copied from interface: OfferAudit
The id of the associated customer.

Specified by:
getCustomerId in interface OfferAudit
Returns:

setCustomerId

public void setCustomerId(Long customerId)
Description copied from interface: OfferAudit
Sets the customer id.

Specified by:
setCustomerId in interface OfferAudit

getOrderId

public Long getOrderId()
Description copied from interface: OfferAudit
The associated order id.

Specified by:
getOrderId in interface OfferAudit
Returns:

setOrderId

public void setOrderId(Long orderId)
Description copied from interface: OfferAudit
Sets the associated order id.

Specified by:
setOrderId in interface OfferAudit

getRedeemedDate

public Date getRedeemedDate()
Description copied from interface: OfferAudit
The date the offer was applied to the order.

Specified by:
getRedeemedDate in interface OfferAudit
Returns:

setRedeemedDate

public void setRedeemedDate(Date redeemedDate)
Description copied from interface: OfferAudit
Sets the offer redeemed date.

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.