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 booleanbooleanID 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.CartActionAuditTheCartActionAuditobject generated to record this submission.The id of the cart that was requested to be approved.com.broadleafcommerce.data.tracking.core.context.ContextInfoTheContextInfocontaining tenant and sandbox info.The email address of the customer whose cart was submitted.The full name of the customer whose cart was submitted.inthashCode()voidsetAccountId(String accountId) ID of the account the submitter belongs to.voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) A map of additional attributes that provides flexibility for a more extensive usage of this event.voidsetCartActionAudit(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit) TheCartActionAuditobject generated to record this submission.voidThe id of the cart that was requested to be approved.voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfocontaining tenant and sandbox info.voidsetSubmitterEmail(String submitterEmail) The email address of the customer whose cart was submitted.voidsetSubmitterFullName(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()TheCartActionAuditobject 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()TheContextInfocontaining tenant and sandbox info.- Returns:
- The
ContextInfocontaining 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) TheCartActionAuditobject 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) TheContextInfocontaining tenant and sandbox info. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-