@Entity public class OfferAuditImpl extends Object implements OfferAudit
| Modifier and Type | Field and Description |
|---|---|
protected Long |
customerId |
protected Long |
id |
protected static org.apache.commons.logging.Log |
LOG |
protected Long |
offerCodeId |
protected Long |
offerId |
protected Long |
orderId |
protected Date |
redeemedDate |
static long |
serialVersionUID |
| Constructor and Description |
|---|
OfferAuditImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getCustomerId()
The id of the associated customer.
|
Long |
getId()
System generated unique id for this audit record.
|
Long |
getOfferCodeId()
The offer code that was used to retrieve the offer.
|
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 |
setOfferCodeId(Long offerCodeId)
Sets the offer code that was used to retrieve the offer.
|
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.
|
public static final long serialVersionUID
protected static final org.apache.commons.logging.Log LOG
protected Long id
protected Long offerId
protected Long customerId
protected Long orderId
protected Long offerCodeId
protected Date redeemedDate
public Long getId()
OfferAuditgetId in interface OfferAuditpublic void setId(Long id)
OfferAuditsetId in interface OfferAuditpublic Long getOfferId()
OfferAuditgetOfferId in interface OfferAuditpublic void setOfferId(Long offerId)
OfferAuditsetOfferId in interface OfferAuditpublic Long getOfferCodeId()
OfferAuditThe offer code that was used to retrieve the offer. This will be null if the offer was automatically applied
and not obtained by an OfferCode.
getOfferCodeId in interface OfferAuditpublic void setOfferCodeId(Long offerCodeId)
OfferAuditSets the offer code that was used to retrieve the offer. This should be null if the offer was automatically applied
and not obtained by an OfferCode.
setOfferCodeId in interface OfferAuditpublic Long getCustomerId()
OfferAuditgetCustomerId in interface OfferAuditpublic void setCustomerId(Long customerId)
OfferAuditsetCustomerId in interface OfferAuditpublic Long getOrderId()
OfferAuditgetOrderId in interface OfferAuditpublic void setOrderId(Long orderId)
OfferAuditsetOrderId in interface OfferAuditpublic Date getRedeemedDate()
OfferAuditgetRedeemedDate in interface OfferAuditpublic void setRedeemedDate(Date redeemedDate)
OfferAuditsetRedeemedDate in interface OfferAuditCopyright © 2019. All rights reserved.