Class CartApprovalRequestEvent
- java.lang.Object
-
- com.broadleafcommerce.cart.service.messaging.event.CartApprovalRequestEvent
-
- All Implemented Interfaces:
Serializable
public class CartApprovalRequestEvent extends Object implements Serializable
Represents the data needed to send a notification after an account user submits a cart requiring approval.- Author:
- Nathan Moore (nathandmoore)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CartApprovalRequestEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetAccountId()ID of the account the submitter belongs to.Map<String,Object>getAdditionalAttributes()A map of additional attributes that provides flexibility for a more extensive usage of this event.com.broadleafcommerce.cart.client.domain.CartActionAuditgetCartActionAudit()TheCartActionAuditobject generated to record this submission.StringgetCartId()The id of the cart that was requested to be approved.com.broadleafcommerce.data.tracking.core.context.ContextInfogetContextInfo()TheContextInfocontaining tenant and sandbox info.StringgetSubmitterEmail()The email address of the customer whose cart was submitted.StringgetSubmitterFullName()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.voidsetCartId(String cartId)The 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.StringtoString()
-
-
-
Method Detail
-
getCartId
public String 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
public String getSubmitterFullName()
The full name of the customer whose cart was submitted.
-
getSubmitterEmail
public String 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
public String getAccountId()
ID of the account the submitter belongs to.
-
getAdditionalAttributes
public Map<String,Object> 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
public void setCartId(String cartId)
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
public void setSubmitterFullName(String submitterFullName)
The full name of the customer whose cart was submitted.
-
setSubmitterEmail
public void setSubmitterEmail(String submitterEmail)
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
public void setAccountId(String accountId)
ID of the account the submitter belongs to.
-
setAdditionalAttributes
public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
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.
-
canEqual
protected boolean canEqual(Object other)
-
-