Class PunchOutEmailService
java.lang.Object
de.hybris.platform.b2b.punchout.services.PunchOutEmailService
This is the service to handle the logic to send email when punch out credential expired.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PunchOutEmailContextprotected ConfigurationServiceprotected Stringprotected RendererTemplateModelprotected RendererServicesendEmail(PunchOutCredentialModel model, String emailToAddress) voidsetConfigurationService(ConfigurationService configurationService) voidsetRendererService(RendererService rendererService)
-
Constructor Details
-
PunchOutEmailService
public PunchOutEmailService()
-
-
Method Details
-
sendEmail
- Parameters:
model- Model is used to set to PunchOutEmailContext, so that corresponding expired punch out credential info could be rendered into email.emailToAddress- It is the recipient's email address- Returns:
- the success email sent message ID.
-
createContext
-
getEmailSubject
-
getHtmlTemplate
-
getRendererService
-
setRendererService
-
getConfigurationService
-
setConfigurationService
-