@Entity public class CreditAccountEventImpl extends Object implements CreditAccountEvent, CreditAccountEventAdminPresentation
CreditAccountEventAdminPresentation.FieldOrder, CreditAccountEventAdminPresentation.GroupName, CreditAccountEventAdminPresentation.GroupOrder, CreditAccountEventAdminPresentation.TabName, CreditAccountEventAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
amount |
protected CreditAccount |
creditAccount |
protected String |
creditAccountEventType |
protected Date |
eventDate |
protected Date |
expirationDate |
protected Long |
id |
protected String |
ipAddress |
protected org.broadleafcommerce.core.order.domain.Order |
order |
protected String |
originalReferer |
protected String |
reasonCode |
protected String |
reasonDesc |
protected BigDecimal |
remainingBalance |
protected String |
userAgent |
protected org.broadleafcommerce.profile.core.domain.Customer |
userId |
protected Long |
version |
| Constructor and Description |
|---|
CreditAccountEventImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.common.money.Money |
getAmount()
Gets the amount
|
CreditAccount |
getCreditAccount()
Gets the CreditAccount
|
CreditAccountEventEnum |
getCreditAccountEventType()
Gets the CreditAccountEventType
|
Date |
getEventDate()
Gets the event date
|
Date |
getExpirationDate()
Gets the expiration date
|
Long |
getId()
Gets the id
|
String |
getIpAddress()
Gets the IP address
|
org.broadleafcommerce.core.order.domain.Order |
getOrder()
Gets the order
|
String |
getOriginalReferer()
Gets the original referer
|
ReasonCodeEnum |
getReasonCode()
Gets the code for the reason of the event.
|
String |
getReasonDesc()
Gets the reasonDesc for the event.
|
org.broadleafcommerce.common.money.Money |
getRemainingBalance()
Gets the remaining balance
|
String |
getUserAgent()
Gets the user agent
|
org.broadleafcommerce.profile.core.domain.Customer |
getUserId()
Gets the user id
|
Long |
getVersion()
Retrieves the version set by Hibernate.
|
void |
setAmount(org.broadleafcommerce.common.money.Money amount)
Sets the amount
|
void |
setCreditAccount(CreditAccount creditAccount)
Sets the CreditAccount
|
void |
setCreditAccountEventType(CreditAccountEventEnum creditAccountEventType)
Sets the CreditAccountEventType
|
void |
setEventDate(Date eventDate)
Sets the event date
|
void |
setExpirationDate(Date expirationDate)
Sets the expiration date
|
void |
setId(Long id)
Sets the id
|
void |
setIpAddress(String ipAddress)
Sets the IP address
|
void |
setOrder(org.broadleafcommerce.core.order.domain.Order order)
Sets the order
|
void |
setOriginalReferer(String originalReferer)
Sets the original referer
|
void |
setReasonCode(ReasonCodeEnum reasonCode)
Sets the code for the reason of the event.
|
void |
setReasonDesc(String reasonDesc)
Sets the reasonDesc for the event.
|
void |
setRemainingBalance(org.broadleafcommerce.common.money.Money remainingBalance)
Sets the remaining balance
|
void |
setUserAgent(String userAgent)
Sets the user agent
|
void |
setUserId(org.broadleafcommerce.profile.core.domain.Customer userId)
Sets the user id
|
protected Long id
protected Long version
protected String creditAccountEventType
protected Date eventDate
protected Date expirationDate
protected BigDecimal amount
protected BigDecimal remainingBalance
protected org.broadleafcommerce.core.order.domain.Order order
protected String reasonCode
protected String reasonDesc
protected org.broadleafcommerce.profile.core.domain.Customer userId
protected String ipAddress
protected String userAgent
protected String originalReferer
protected CreditAccount creditAccount
public Long getId()
CreditAccountEventgetId in interface CreditAccountEventpublic void setId(Long id)
CreditAccountEventsetId in interface CreditAccountEventpublic Long getVersion()
CreditAccountEventgetVersion in interface CreditAccountEventpublic CreditAccount getCreditAccount()
CreditAccountEventgetCreditAccount in interface CreditAccountEventpublic void setCreditAccount(CreditAccount creditAccount)
CreditAccountEventsetCreditAccount in interface CreditAccountEventpublic CreditAccountEventEnum getCreditAccountEventType()
CreditAccountEventgetCreditAccountEventType in interface CreditAccountEventpublic void setCreditAccountEventType(CreditAccountEventEnum creditAccountEventType)
CreditAccountEventsetCreditAccountEventType in interface CreditAccountEventpublic Date getEventDate()
CreditAccountEventgetEventDate in interface CreditAccountEventpublic void setEventDate(Date eventDate)
CreditAccountEventsetEventDate in interface CreditAccountEventpublic Date getExpirationDate()
CreditAccountEventgetExpirationDate in interface CreditAccountEventpublic void setExpirationDate(Date expirationDate)
CreditAccountEventsetExpirationDate in interface CreditAccountEventpublic org.broadleafcommerce.common.money.Money getAmount()
CreditAccountEventgetAmount in interface CreditAccountEventpublic void setAmount(org.broadleafcommerce.common.money.Money amount)
CreditAccountEventsetAmount in interface CreditAccountEventpublic org.broadleafcommerce.common.money.Money getRemainingBalance()
CreditAccountEventgetRemainingBalance in interface CreditAccountEventpublic void setRemainingBalance(org.broadleafcommerce.common.money.Money remainingBalance)
CreditAccountEventsetRemainingBalance in interface CreditAccountEventpublic org.broadleafcommerce.core.order.domain.Order getOrder()
CreditAccountEventgetOrder in interface CreditAccountEventpublic void setOrder(org.broadleafcommerce.core.order.domain.Order order)
CreditAccountEventsetOrder in interface CreditAccountEventpublic ReasonCodeEnum getReasonCode()
CreditAccountEventgetReasonCode in interface CreditAccountEventpublic void setReasonCode(ReasonCodeEnum reasonCode)
CreditAccountEventsetReasonCode in interface CreditAccountEventpublic String getReasonDesc()
CreditAccountEventgetReasonDesc in interface CreditAccountEventpublic void setReasonDesc(String reasonDesc)
CreditAccountEventsetReasonDesc in interface CreditAccountEventpublic org.broadleafcommerce.profile.core.domain.Customer getUserId()
CreditAccountEventgetUserId in interface CreditAccountEventpublic void setUserId(org.broadleafcommerce.profile.core.domain.Customer userId)
CreditAccountEventsetUserId in interface CreditAccountEventpublic String getIpAddress()
CreditAccountEventgetIpAddress in interface CreditAccountEventpublic void setIpAddress(String ipAddress)
CreditAccountEventsetIpAddress in interface CreditAccountEventpublic String getUserAgent()
CreditAccountEventgetUserAgent in interface CreditAccountEventpublic void setUserAgent(String userAgent)
CreditAccountEventsetUserAgent in interface CreditAccountEventpublic String getOriginalReferer()
CreditAccountEventgetOriginalReferer in interface CreditAccountEventpublic void setOriginalReferer(String originalReferer)
CreditAccountEventsetOriginalReferer in interface CreditAccountEventCopyright © 2019. All rights reserved.