Class OfferAuditImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.OfferAuditImpl
- All Implemented Interfaces:
Serializable,OfferAudit
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe id of the associated account.The id of the associated customer.getId()System generated unique id for this audit record.The offer code that was used to retrieve the offer.The associated offer id.The associated order id.The date the offer was applied to the order.inthashCode()voidsetAccountId(Long accountId) Sets the associated account id.voidsetCustomerId(Long customerId) Sets the customer id.voidSets the id.voidsetOfferCodeId(Long offerCodeId) Sets the offer code that was used to retrieve the offer.voidsetOfferId(Long offerId) Sets the associated offer id.voidsetOrderId(Long orderId) Sets the associated order id.voidsetRedeemedDate(Date redeemedDate) Sets the offer redeemed date.
-
Field Details
-
LOG
protected static final org.apache.commons.logging.Log LOG -
id
-
offerId
-
customerId
-
accountId
-
orderId
-
offerCodeId
-
redeemedDate
-
-
Constructor Details
-
OfferAuditImpl
public OfferAuditImpl()
-
-
Method Details
-
getId
Description copied from interface:OfferAuditSystem generated unique id for this audit record.- Specified by:
getIdin interfaceOfferAudit- Returns:
-
setId
Description copied from interface:OfferAuditSets the id.- Specified by:
setIdin interfaceOfferAudit
-
getOfferId
Description copied from interface:OfferAuditThe associated offer id.- Specified by:
getOfferIdin interfaceOfferAudit- Returns:
-
setOfferId
Description copied from interface:OfferAuditSets the associated offer id.- Specified by:
setOfferIdin interfaceOfferAudit
-
getOfferCodeId
Description copied from interface: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.- Specified by:
getOfferCodeIdin interfaceOfferAudit
-
setOfferCodeId
Description copied from interface: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.- Specified by:
setOfferCodeIdin interfaceOfferAudit
-
getCustomerId
Description copied from interface:OfferAuditThe id of the associated customer.- Specified by:
getCustomerIdin interfaceOfferAudit- Returns:
-
setCustomerId
Description copied from interface:OfferAuditSets the customer id.- Specified by:
setCustomerIdin interfaceOfferAudit
-
getAccountId
Description copied from interface:OfferAuditThe id of the associated account.- Specified by:
getAccountIdin interfaceOfferAudit- Returns:
-
setAccountId
Description copied from interface:OfferAuditSets the associated account id.- Specified by:
setAccountIdin interfaceOfferAudit
-
getOrderId
Description copied from interface:OfferAuditThe associated order id.- Specified by:
getOrderIdin interfaceOfferAudit- Returns:
-
setOrderId
Description copied from interface:OfferAuditSets the associated order id.- Specified by:
setOrderIdin interfaceOfferAudit
-
getRedeemedDate
Description copied from interface:OfferAuditThe date the offer was applied to the order.- Specified by:
getRedeemedDatein interfaceOfferAudit- Returns:
-
setRedeemedDate
Description copied from interface:OfferAuditSets the offer redeemed date.- Specified by:
setRedeemedDatein interfaceOfferAudit
-
hashCode
public int hashCode() -
equals
-