Class DefaultStockNotificationSmsProcessor

  • All Implemented Interfaces:
    Processor

    public class DefaultStockNotificationSmsProcessor
    extends java.lang.Object
    implements Processor
    Processor to send back-in-stock notification via SMS
    • Constructor Detail

      • DefaultStockNotificationSmsProcessor

        public DefaultStockNotificationSmsProcessor()
    • Method Detail

      • process

        public void process​(CustomerModel customer,
                            java.util.Map<java.lang.String,​? extends ItemModel> dataMap)
        Description copied from interface: Processor
        Render and send the notification
        Specified by:
        process in interface Processor
        Parameters:
        customer - the customer to send the result
        dataMap - the map containing variables
      • setNotificationService

        public void setNotificationService​(NotificationService notificationService)
      • setSendSmsMessageStrategy

        public void setSendSmsMessageStrategy​(SendSmsMessageStrategy sendSmsMessageStrategy)
      • setCommerceStockService

        public void setCommerceStockService​(CommerceStockService commerceStockService)