@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()
OfferAudit
getId
in interface OfferAudit
public void setId(Long id)
OfferAudit
setId
in interface OfferAudit
public Long getOfferId()
OfferAudit
getOfferId
in interface OfferAudit
public void setOfferId(Long offerId)
OfferAudit
setOfferId
in interface OfferAudit
public Long getOfferCodeId()
OfferAudit
The 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 OfferAudit
public void setOfferCodeId(Long offerCodeId)
OfferAudit
Sets 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 OfferAudit
public Long getCustomerId()
OfferAudit
getCustomerId
in interface OfferAudit
public void setCustomerId(Long customerId)
OfferAudit
setCustomerId
in interface OfferAudit
public Long getOrderId()
OfferAudit
getOrderId
in interface OfferAudit
public void setOrderId(Long orderId)
OfferAudit
setOrderId
in interface OfferAudit
public Date getRedeemedDate()
OfferAudit
getRedeemedDate
in interface OfferAudit
public void setRedeemedDate(Date redeemedDate)
OfferAudit
setRedeemedDate
in interface OfferAudit
Copyright © 2019. All rights reserved.