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.CartActionAudit
The CartActionAudit object generated to record this status changecom.broadleafcommerce.data.tracking.core.context.ContextInfo
TheContextInfo
containing tenant and sandbox info.The email address of the customer whose quote's status was changedcom.broadleafcommerce.order.common.domain.CustomerRef
TheCustomerRef
representing 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.void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) A map of additional attributes that provides flexibility for a more extensive usage of this eventvoid
setCartActionAudit
(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit) The CartActionAudit object generated to record this status changevoid
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
containing tenant and sandbox info.void
setCustomerEmail
(String customerEmail) The email address of the customer whose quote's status was changedvoid
setCustomerRef
(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRef
representing the owner of the quote.void
setQuoteId
(String quoteId) The id of the quote that was rejectedvoid
setSalesRepEmail
(String salesRepEmail) The email of the sales rep assigned to this quotevoid
setSalesRepName
(String salesRepName) The name of the sales rep assigned to this quotevoid
setSalesRepUserId
(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()TheCustomerRef
representing 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()TheContextInfo
containing tenant and sandbox info.- Returns:
- The
ContextInfo
containing tenant and sandbox info.
-
setQuoteId
The id of the quote that was rejected -
setCustomerRef
public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef) TheCustomerRef
representing 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) TheContextInfo
containing tenant and sandbox info.
-