Class CartRejectionEvent
java.lang.Object
com.broadleafcommerce.cartoperation.service.messaging.approval.CartRejectionEvent
- All Implemented Interfaces:
Serializable
@Deprecated(forRemoval=true,
since="1.8.3")
public class CartRejectionEvent
extends Object
implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
This event is now sent from Cart Services in response to the update to the cart's
status. There is no need to have an additional HTTP request for this event.
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:
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.A map of additional attributes that provides flexibility for a more extensive usage of this eventcom.broadleafcommerce.cart.client.domain.CartActionAudit
Deprecated, for removal: This API element is subject to removal in a future version.The CartActionAudit object generated to record this rejectionDeprecated, for removal: This API element is subject to removal in a future version.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.ContextInfo
Deprecated, for removal: This API element is subject to removal in a future version.TheContextInfo
containing tenant and sandbox info.Deprecated, for removal: This API element is subject to removal in a future version.The full name of the customer whose cart was rejectedDeprecated, for removal: This API element is subject to removal in a future version.The email address of the customer whose cart was rejectedvoid
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Deprecated, for removal: This API element is subject to removal in a future version.A map of additional attributes that provides flexibility for a more extensive usage of this eventvoid
setCartActionAudit
(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit) Deprecated, for removal: This API element is subject to removal in a future version.The CartActionAudit object generated to record this rejectionvoid
Deprecated, for removal: This API element is subject to removal in a future version.The id of the cart that was rejected The cart's id can be used to reference other related objects, such as previous CartActionAudits.void
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.TheContextInfo
containing tenant and sandbox info.void
setCustomerFullName
(String customerFullName) Deprecated, for removal: This API element is subject to removal in a future version.The full name of the customer whose cart was rejectedvoid
setEmailAddress
(String emailAddress) Deprecated, for removal: This API element is subject to removal in a future version.The email address of the customer whose cart was rejected
-
Constructor Details
-
CartRejectionEvent
public CartRejectionEvent()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getCartId
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.The full name of the customer whose cart was rejected -
getEmailAddress
Deprecated, for removal: This API element is subject to removal in a future version.The email address of the customer whose cart was rejected -
getCartActionAudit
public com.broadleafcommerce.cart.client.domain.CartActionAudit getCartActionAudit()Deprecated, for removal: This API element is subject to removal in a future version.The CartActionAudit object generated to record this rejection -
getAdditionalAttributes
Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.TheContextInfo
containing tenant and sandbox info.- Returns:
- The
ContextInfo
containing tenant and sandbox info.
-
setCartId
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.The full name of the customer whose cart was rejected -
setEmailAddress
Deprecated, for removal: This API element is subject to removal in a future version.The email address of the customer whose cart was rejected -
setCartActionAudit
public void setCartActionAudit(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit) Deprecated, for removal: This API element is subject to removal in a future version.The CartActionAudit object generated to record this rejection -
setAdditionalAttributes
Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.TheContextInfo
containing tenant and sandbox info.
-