Class CartApprovalRequestEvent
java.lang.Object
com.broadleafcommerce.auth.user.messaging.CartApprovalRequestEvent
- All Implemented Interfaces:
Serializable
Represents the data needed to send a notification after an account user submits a cart requiring
approval.
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a summary of an Approver User. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String name, Object value) Takes in any additional attributes passed in the request not matching any defined properties.protected booleanbooleanID of the account the submitter belongs to.Return any additional attributes passed in the request not matching any defined properties.Map holding any additional attributes passed in the request not matching any defined properties.com.broadleafcommerce.data.tracking.core.context.ContextInfoTheContextInfocontaining tenant and sandbox info.inthashCode()voidsetAccountId(String accountId) ID of the account the submitter belongs to.voidsetApprovers(List<CartApprovalRequestEvent.ApproverRef> approvers) voidsetAttributes(Map<String, Object> attributes) Map holding any additional attributes passed in the request not matching any defined properties.voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfocontaining tenant and sandbox info.toString()
-
Constructor Details
-
CartApprovalRequestEvent
public CartApprovalRequestEvent()
-
-
Method Details
-
addAttribute
Takes in any additional attributes passed in the request not matching any defined properties.- Parameters:
name- Name of the additional attributevalue- Value of the additional attribute
-
getAttribute
Return any additional attributes passed in the request not matching any defined properties.- Returns:
- any additional attributes passed in the request not matching any defined properties.
-
getAccountId
ID of the account the submitter belongs to. -
getContextInfo
public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()TheContextInfocontaining tenant and sandbox info.- Returns:
- The
ContextInfocontaining tenant and sandbox info.
-
getApprovers
-
getAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
setAccountId
ID of the account the submitter belongs to. -
setContextInfo
public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfocontaining tenant and sandbox info. -
setApprovers
-
setAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-