Class DefaultCouponNotificationSmsProcessor

  • All Implemented Interfaces:
    Processor

    public class DefaultCouponNotificationSmsProcessor
    extends java.lang.Object
    implements Processor
    Deals with coupon notification for sending SMS to the customer
    • Constructor Detail

      • DefaultCouponNotificationSmsProcessor

        public DefaultCouponNotificationSmsProcessor()
    • 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)