Interface SendAccountInvitationService
- All Known Implementing Classes:
DefaultSendAccountInvitationService
public interface SendAccountInvitationService
Service responsible for delivering account invitations.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendAccountAcceptance
(Customer customer, Account account, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send the account acceptance notification to the targeted user when auto-acceptance is enabledvoid
sendAccountAcceptance
(Customer customer, Account account, Map<String, Object> additionalArgs, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send the account acceptance notification to the targeted user when auto-acceptance is enabledvoid
sendAccountInvitation
(AccountInvite accountInvite, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send the account invitation to the targeted user based on the information in theaccountInvite
.void
sendAccountInvitation
(AccountInvite accountInvite, Map<String, Object> additionalArgs, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send the account invitation to the targeted user based on the information in theaccountInvite
.
-
Method Details
-
sendAccountInvitation
void sendAccountInvitation(AccountInvite accountInvite, Map<String, Object> additionalArgs, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send the account invitation to the targeted user based on the information in theaccountInvite
.- Parameters:
accountInvite
- The account invite to sendadditionalArgs
- Any additional arguments to be used in the notificationcontextInfo
- The current context
-
sendAccountInvitation
void sendAccountInvitation(AccountInvite accountInvite, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send the account invitation to the targeted user based on the information in theaccountInvite
.- Parameters:
accountInvite
- The account invite to sendcontextInfo
- The current context
-
sendAccountAcceptance
void sendAccountAcceptance(Customer customer, Account account, Map<String, Object> additionalArgs, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send the account acceptance notification to the targeted user when auto-acceptance is enabled- Parameters:
customer
- The targeted customeraccount
- The related accountadditionalArgs
- Any additional arguments to be used in the notificationcontextInfo
- The current context
-
sendAccountAcceptance
void sendAccountAcceptance(Customer customer, Account account, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Send the account acceptance notification to the targeted user when auto-acceptance is enabled- Parameters:
customer
- The targeted customeraccount
- The targeted accountcontextInfo
- The current context
-