Interface INotifierServiceProvider
public interface INotifierServiceProvider
This interface provide notification methods to implement
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetName()get provider namereturn the list of notification types (customer_email, sms, mydashboard ...) managed by the notifierdefault booleanCheck if the provider is enabledprocess(Notification notification) Process notification
-
Method Details
-
process
Process notification- Parameters:
notification-- Throws:
NotificationException
-
getName
get provider name- Returns:
- the name of the provider
-
getNotificationTypes
List<EnumNotificationType> getNotificationTypes()return the list of notification types (customer_email, sms, mydashboard ...) managed by the notifier- Returns:
-
isEnabled
default boolean isEnabled()Check if the provider is enabled- Returns:
- true if enabled, false otherwise
-