|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.offer.domain.OfferAuditImpl
@Entity public class OfferAuditImpl
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
OfferAuditImpl()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public OfferAuditImpl()
| Method Detail |
|---|
public Long getId()
OfferAudit
getId in interface OfferAuditpublic void setId(Long id)
OfferAudit
setId in interface OfferAuditpublic Long getOfferId()
OfferAudit
getOfferId in interface OfferAuditpublic void setOfferId(Long offerId)
OfferAudit
setOfferId 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()
OfferAudit
getCustomerId in interface OfferAuditpublic void setCustomerId(Long customerId)
OfferAudit
setCustomerId in interface OfferAuditpublic Long getOrderId()
OfferAudit
getOrderId in interface OfferAuditpublic void setOrderId(Long orderId)
OfferAudit
setOrderId in interface OfferAuditpublic Date getRedeemedDate()
OfferAudit
getRedeemedDate in interface OfferAuditpublic void setRedeemedDate(Date redeemedDate)
OfferAudit
setRedeemedDate in interface OfferAuditpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||