Interface SendSiteMessageStrategy

All Known Implementing Classes:
DefaultSendSiteMessageStrategy

public interface SendSiteMessageStrategy
Strategy to send site message
  • Method Details

    • sendMessage

      default void sendMessage(CustomerModel customer, SiteMessageModel message)
      Send message for specific customer
      Parameters:
      customer - the recevier
      message - the message to be sent
    • sendMessage

      default void sendMessage(CustomerModel customer, List<SiteMessageModel> messages)
      Send messages for specific customer
      Parameters:
      customer - the receiver
      messages - the messages to be sent
    • sendMessage

      default void sendMessage(List<CustomerModel> customers, SiteMessageModel message)
      Send message for given customers
      Parameters:
      customers - the receivers
      message - the message to be sent