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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    com.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 rejection
    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.
    com.broadleafcommerce.data.tracking.core.context.ContextInfo
    Deprecated, for removal: This API element is subject to removal in a future version.
    The ContextInfo 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 rejected
    Deprecated, for removal: This API element is subject to removal in a future version.
    The email address of the customer whose cart was rejected
    void
    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 event
    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
    void
    setCartId(String cartId)
    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.
    The ContextInfo 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 rejected
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CartRejectionEvent

      public CartRejectionEvent()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getCartId

      public String 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

      public String 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

      public String 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

      public Map<String,Object> 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.
      The ContextInfo containing tenant and sandbox info.
      Returns:
      The ContextInfo containing tenant and sandbox info.
    • setCartId

      public void setCartId(String cartId)
      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

      public 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 rejected
    • setEmailAddress

      public void 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
    • 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

      public void 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 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.
      The ContextInfo containing tenant and sandbox info.