Interface SMSServiceProvider


  • public interface SMSServiceProvider
    This interface is responsible to provide SMS as a service for SMS notification API. SMS notification service can connect to different implementation of service providers and vendors by injecting this Interface. Addition of a new vendor in MOSIP platform will be done by implementing this interface and giving a implementation based on vendors requirements.
    Since:
    1.0.7
    Author:
    Urvil Joshi
    • Method Detail

      • sendSms

        SMSResponseDto sendSms​(String contactNumber,
                               String message)
        Method responsible for sending SMS.
        Parameters:
        contactNumber - Contact number to sent SMS to.
        message - Message to send
        Returns:
        acknowledgement