@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()
CreditAccountEvent
getId
in interface CreditAccountEvent
public void setId(Long id)
CreditAccountEvent
setId
in interface CreditAccountEvent
public Long getVersion()
CreditAccountEvent
getVersion
in interface CreditAccountEvent
public CreditAccount getCreditAccount()
CreditAccountEvent
getCreditAccount
in interface CreditAccountEvent
public void setCreditAccount(CreditAccount creditAccount)
CreditAccountEvent
setCreditAccount
in interface CreditAccountEvent
public CreditAccountEventEnum getCreditAccountEventType()
CreditAccountEvent
getCreditAccountEventType
in interface CreditAccountEvent
public void setCreditAccountEventType(CreditAccountEventEnum creditAccountEventType)
CreditAccountEvent
setCreditAccountEventType
in interface CreditAccountEvent
public Date getEventDate()
CreditAccountEvent
getEventDate
in interface CreditAccountEvent
public void setEventDate(Date eventDate)
CreditAccountEvent
setEventDate
in interface CreditAccountEvent
public Date getExpirationDate()
CreditAccountEvent
getExpirationDate
in interface CreditAccountEvent
public void setExpirationDate(Date expirationDate)
CreditAccountEvent
setExpirationDate
in interface CreditAccountEvent
public org.broadleafcommerce.common.money.Money getAmount()
CreditAccountEvent
getAmount
in interface CreditAccountEvent
public void setAmount(org.broadleafcommerce.common.money.Money amount)
CreditAccountEvent
setAmount
in interface CreditAccountEvent
public org.broadleafcommerce.common.money.Money getRemainingBalance()
CreditAccountEvent
getRemainingBalance
in interface CreditAccountEvent
public void setRemainingBalance(org.broadleafcommerce.common.money.Money remainingBalance)
CreditAccountEvent
setRemainingBalance
in interface CreditAccountEvent
public org.broadleafcommerce.core.order.domain.Order getOrder()
CreditAccountEvent
getOrder
in interface CreditAccountEvent
public void setOrder(org.broadleafcommerce.core.order.domain.Order order)
CreditAccountEvent
setOrder
in interface CreditAccountEvent
public ReasonCodeEnum getReasonCode()
CreditAccountEvent
getReasonCode
in interface CreditAccountEvent
public void setReasonCode(ReasonCodeEnum reasonCode)
CreditAccountEvent
setReasonCode
in interface CreditAccountEvent
public String getReasonDesc()
CreditAccountEvent
getReasonDesc
in interface CreditAccountEvent
public void setReasonDesc(String reasonDesc)
CreditAccountEvent
setReasonDesc
in interface CreditAccountEvent
public org.broadleafcommerce.profile.core.domain.Customer getUserId()
CreditAccountEvent
getUserId
in interface CreditAccountEvent
public void setUserId(org.broadleafcommerce.profile.core.domain.Customer userId)
CreditAccountEvent
setUserId
in interface CreditAccountEvent
public String getIpAddress()
CreditAccountEvent
getIpAddress
in interface CreditAccountEvent
public void setIpAddress(String ipAddress)
CreditAccountEvent
setIpAddress
in interface CreditAccountEvent
public String getUserAgent()
CreditAccountEvent
getUserAgent
in interface CreditAccountEvent
public void setUserAgent(String userAgent)
CreditAccountEvent
setUserAgent
in interface CreditAccountEvent
public String getOriginalReferer()
CreditAccountEvent
getOriginalReferer
in interface CreditAccountEvent
public void setOriginalReferer(String originalReferer)
CreditAccountEvent
setOriginalReferer
in interface CreditAccountEvent
Copyright © 2019. All rights reserved.