java.lang.Object
es.kukenan.smartfi.microservice.communication.service.domain.MessagesRequest

public class MessagesRequest extends Object
This class is designed to hold all the required information to send a set of messages. Any additional information needed should be reachable from the data present in this class.
  • Field Details

    • user

      private User user
      The user that is the original destination of the messages.
    • messageSpecialProperties

      private List<MessagesRequest.MessageSpecialProperties> messageSpecialProperties
      A message list, every single message must be delivered.
    • campaign

      private Campaign campaign
      Campaign.
    • variables

      private Map<String,Object> variables
      A list of variables that may be used by the templates to compose the message.
    • attachments

      private Map<String,String> attachments
      A list of attachment that may be sent to the user.
    • channel

      private NotificationChannel channel
      Notification channel.
  • Constructor Details