Class CartRejectionEvent
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.service.messaging.approval.CartRejectionEvent
-
- All Implemented Interfaces:
Serializable
public class CartRejectionEvent extends Object implements Serializable
A message event dispatched after an approver rejects a cart. This event should be consumed by services that need to notify the original customer.- Author:
- Kyrylo Boiko (kboiko2)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CartRejectionEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalAttributes()A map of additional attributes that provides flexibility for a more extensive usage of this eventcom.broadleafcommerce.cart.client.domain.CartActionAuditgetCartActionAudit()The CartActionAudit object generated to record this rejectionStringgetCartId()The id of the cart that was rejected The cart's id can be used to reference other related objects, such as previous CartActionAudits.com.broadleafcommerce.data.tracking.core.context.ContextInfogetContextInfo()TheContextInfocontaining tenant and sandbox info.StringgetCustomerFullName()The full name of the customer whose cart was rejectedStringgetEmailAddress()The email address of the customer whose cart was rejectedvoidsetAdditionalAttributes(Map<String,Object> additionalAttributes)A map of additional attributes that provides flexibility for a more extensive usage of this eventvoidsetCartActionAudit(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit)The CartActionAudit object generated to record this rejectionvoidsetCartId(String cartId)The id of the cart that was rejected The cart's id can be used to reference other related objects, such as previous CartActionAudits.voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)TheContextInfocontaining tenant and sandbox info.voidsetCustomerFullName(String customerFullName)The full name of the customer whose cart was rejectedvoidsetEmailAddress(String emailAddress)The email address of the customer whose cart was rejected
-
-
-
Method Detail
-
getCartId
public String getCartId()
The id of the cart that was rejected The cart's id can be used to reference other related objects, such as previous CartActionAudits.
-
getCustomerFullName
public String getCustomerFullName()
The full name of the customer whose cart was rejected
-
getEmailAddress
public String getEmailAddress()
The email address of the customer whose cart was rejected
-
getCartActionAudit
public com.broadleafcommerce.cart.client.domain.CartActionAudit getCartActionAudit()
The CartActionAudit object generated to record this rejection
-
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 rejected The cart's id can be used to reference other related objects, such as previous CartActionAudits.
-
setCustomerFullName
public void setCustomerFullName(String customerFullName)
The full name of the customer whose cart was rejected
-
setEmailAddress
public void setEmailAddress(String emailAddress)
The email address of the customer whose cart was rejected
-
setCartActionAudit
public void setCartActionAudit(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit)
The CartActionAudit object generated to record this rejection
-
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.
-
-