Class CartApprovalRequestEvent
java.lang.Object
com.broadleafcommerce.cart.service.messaging.event.CartApprovalRequestEvent
- All Implemented Interfaces:
Serializable
Represents the data needed to send a notification after an account user submits a cart requiring
approval.
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
ID of the account the submitter belongs to.A map of additional attributes that provides flexibility for a more extensive usage of this event.com.broadleafcommerce.cart.client.domain.CartActionAudit
TheCartActionAudit
object generated to record this submission.The id of the cart that was requested to be approved.com.broadleafcommerce.data.tracking.core.context.ContextInfo
TheContextInfo
containing tenant and sandbox info.The email address of the customer whose cart was submitted.The full name of the customer whose cart was submitted.int
hashCode()
void
setAccountId
(String accountId) ID of the account the submitter belongs to.void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) A map of additional attributes that provides flexibility for a more extensive usage of this event.void
setCartActionAudit
(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit) TheCartActionAudit
object generated to record this submission.void
The id of the cart that was requested to be approved.void
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
containing tenant and sandbox info.void
setSubmitterEmail
(String submitterEmail) The email address of the customer whose cart was submitted.void
setSubmitterFullName
(String submitterFullName) The full name of the customer whose cart was submitted.toString()
-
Constructor Details
-
CartApprovalRequestEvent
public CartApprovalRequestEvent()
-
-
Method Details
-
getCartId
The id of the cart that was requested to be approved. The cart's id can be used to reference other related objects, such as previous CartActionAudits. -
getSubmitterFullName
The full name of the customer whose cart was submitted. -
getSubmitterEmail
The email address of the customer whose cart was submitted. -
getCartActionAudit
public com.broadleafcommerce.cart.client.domain.CartActionAudit getCartActionAudit()TheCartActionAudit
object generated to record this submission. -
getAccountId
ID of the account the submitter belongs to. -
getAdditionalAttributes
A map of additional attributes that provides flexibility for a more extensive usage of this event. -
getContextInfo
public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()TheContextInfo
containing tenant and sandbox info.- Returns:
- The
ContextInfo
containing tenant and sandbox info.
-
setCartId
The id of the cart that was requested to be approved. The cart's id can be used to reference other related objects, such as previous CartActionAudits. -
setSubmitterFullName
The full name of the customer whose cart was submitted. -
setSubmitterEmail
The email address of the customer whose cart was submitted. -
setCartActionAudit
public void setCartActionAudit(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit) TheCartActionAudit
object generated to record this submission. -
setAccountId
ID of the account the submitter belongs to. -
setAdditionalAttributes
A map of additional attributes that provides flexibility for a more extensive usage of this event. -
setContextInfo
public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
containing tenant and sandbox info. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-