Class CartApprovalRequestEvent

java.lang.Object
com.broadleafcommerce.cart.service.messaging.event.CartApprovalRequestEvent
All Implemented Interfaces:
Serializable

public class CartApprovalRequestEvent extends Object implements Serializable
Represents the data needed to send a notification after an account user submits a cart requiring approval.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • CartApprovalRequestEvent

      public CartApprovalRequestEvent()
  • Method Details

    • getCartId

      public String getCartId()
      The id of the cart that was requested to be approved. The cart's id can be used to reference other related objects, such as previous CartActionAudits.
    • getSubmitterFullName

      public String getSubmitterFullName()
      The full name of the customer whose cart was submitted.
    • getSubmitterEmail

      public String getSubmitterEmail()
      The email address of the customer whose cart was submitted.
    • getCartActionAudit

      public com.broadleafcommerce.cart.client.domain.CartActionAudit getCartActionAudit()
      The CartActionAudit object generated to record this submission.
    • getAccountId

      public String getAccountId()
      ID of the account the submitter belongs to.
    • 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()
      The ContextInfo containing tenant and sandbox info.
      Returns:
      The ContextInfo containing tenant and sandbox info.
    • setCartId

      public void setCartId(String cartId)
      The id of the cart that was requested to be approved. The cart's id can be used to reference other related objects, such as previous CartActionAudits.
    • setSubmitterFullName

      public void setSubmitterFullName(String submitterFullName)
      The full name of the customer whose cart was submitted.
    • setSubmitterEmail

      public void setSubmitterEmail(String submitterEmail)
      The email address of the customer whose cart was submitted.
    • setCartActionAudit

      public void setCartActionAudit(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit)
      The CartActionAudit object generated to record this submission.
    • setAccountId

      public void setAccountId(String accountId)
      ID of the account the submitter belongs to.
    • 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)
      The ContextInfo containing tenant and sandbox info.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object