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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAccountId()
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.CartActionAudit
getCartActionAudit()
TheCartActionAudit
object generated to record this submission.String
getCartId()
The id of the cart that was requested to be approved.com.broadleafcommerce.data.tracking.core.context.ContextInfo
getContextInfo()
TheContextInfo
containing tenant and sandbox info.String
getSubmitterEmail()
The email address of the customer whose cart was submitted.String
getSubmitterFullName()
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
setCartId(String cartId)
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.String
toString()
-
-
-
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()
TheCartActionAudit
object 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()
TheContextInfo
containing tenant and sandbox info.- Returns:
- The
ContextInfo
containing 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)
TheCartActionAudit
object 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)
TheContextInfo
containing tenant and sandbox info.
-
canEqual
protected boolean canEqual(Object other)
-
-