Class QuoteStatusChangedEvent
java.lang.Object
com.broadleafcommerce.cart.service.messaging.event.QuoteStatusChangedEvent
- All Implemented Interfaces:
Serializable
A message event dispatched after the status of a quote has been changed. This event should be
consumed by services that need to notify the customer or sales rep.
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA map of additional attributes that provides flexibility for a more extensive usage of this eventcom.broadleafcommerce.cart.client.domain.CartActionAuditThe CartActionAudit object generated to record this status changecom.broadleafcommerce.data.tracking.core.context.ContextInfoTheContextInfocontaining tenant and sandbox info.The email address of the customer whose quote's status was changedcom.broadleafcommerce.order.common.domain.CustomerRefTheCustomerRefrepresenting the owner of the quote.The id of the quote that was rejectedThe email of the sales rep assigned to this quoteThe name of the sales rep assigned to this quoteThe user id of the sales rep assigned to this quote.voidsetAdditionalAttributes(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 status changevoidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfocontaining tenant and sandbox info.voidsetCustomerEmail(String customerEmail) The email address of the customer whose quote's status was changedvoidsetCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRefrepresenting the owner of the quote.voidsetQuoteId(String quoteId) The id of the quote that was rejectedvoidsetSalesRepEmail(String salesRepEmail) The email of the sales rep assigned to this quotevoidsetSalesRepName(String salesRepName) The name of the sales rep assigned to this quotevoidsetSalesRepUserId(String salesRepUserId) The user id of the sales rep assigned to this quote.
-
Constructor Details
-
QuoteStatusChangedEvent
public QuoteStatusChangedEvent()
-
-
Method Details
-
getQuoteId
The id of the quote that was rejected -
getCustomerRef
public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()TheCustomerRefrepresenting the owner of the quote. -
getCustomerEmail
The email address of the customer whose quote's status was changed -
getCartActionAudit
public com.broadleafcommerce.cart.client.domain.CartActionAudit getCartActionAudit()The CartActionAudit object generated to record this status change -
getSalesRepUserId
The user id of the sales rep assigned to this quote.May be null if not assigned in certain statuses, e.g. quote requested
-
getSalesRepName
The name of the sales rep assigned to this quoteMay be null if not assigned in certain statuses, e.g. quote requested
-
getSalesRepEmail
The email of the sales rep assigned to this quoteIf not assigned to a certain sales rep, defaults to a configured sales email.
-
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.
-
setQuoteId
The id of the quote that was rejected -
setCustomerRef
public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRefrepresenting the owner of the quote. -
setCustomerEmail
The email address of the customer whose quote's status was changed -
setCartActionAudit
public void setCartActionAudit(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit) The CartActionAudit object generated to record this status change -
setSalesRepUserId
The user id of the sales rep assigned to this quote.May be null if not assigned in certain statuses, e.g. quote requested
-
setSalesRepName
The name of the sales rep assigned to this quoteMay be null if not assigned in certain statuses, e.g. quote requested
-
setSalesRepEmail
The email of the sales rep assigned to this quoteIf not assigned to a certain sales rep, defaults to a configured sales email.
-
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.
-