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
Modifier and TypeClassDescriptionstatic class
Represents a summary of an Approver User. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, Object value) Takes in any additional attributes passed in the request not matching any defined properties.protected boolean
boolean
ID 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.ContextInfo
TheContextInfo
containing tenant and sandbox info.int
hashCode()
void
setAccountId
(String accountId) ID of the account the submitter belongs to.void
setApprovers
(List<CartApprovalRequestEvent.ApproverRef> approvers) void
setAttributes
(Map<String, Object> attributes) Map holding any additional attributes passed in the request not matching any defined properties.void
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
containing 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()TheContextInfo
containing tenant and sandbox info.- Returns:
- The
ContextInfo
containing 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) TheContextInfo
containing 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
-