@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 |
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 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.
For any 3.0 version starting with 3.0.6-GA and above, this has the potential to throw an UnsupportedOperationException.
This column did not exist until 3.0.6-GA. Rather than prevent a drop-in release of 3.0.6-GA, by making this database
modification, OfferAuditWeaveImpl should instead be weaved into this class to obtain the column definition
along with correct implementation of this method.
getOfferCodeId in interface OfferAuditOfferAuditWeaveImpl}public 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.
For any 3.0 version starting with 3.0.6-GA and above, this has the potential to throw an UnsupportedOperationException.
This column did not exist until 3.0.6-GA. Rather than prevent a drop-in release of 3.0.6-GA, by making this database
modification, OfferAuditWeaveImpl should instead be weaved into this class to obtain the column definition
along with correct implementation of this method.
setOfferCodeId in interface OfferAuditOfferAuditWeaveImpl}public 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 © 2014. All Rights Reserved.