retry(contactNumber, retryVoice, callback) {
        let retryType =  'voice';
        if (!retryVoice) {
            retryType = 'text'
        }
        let args = {
            authkey: this.authKey,
            mobile: contactNumber,
            retrytype: retryType
        };

        return SendOtp.doRequest('get', "retryotp.php", args, callback);
    }
/**
     * Retry Otp to given mobile number
     * @param {string} contactNumber receiver's mobile number along with country code
     * @param {boolean} retryVoice, false to retry otp via text call, default true
     * Return promise if no callback is passed and promises available
     */
Retry Otp to given mobile number
@param {string} contactNumber receiver's mobile number along with country code
@param {boolean} retryVoice, false to retry otp via text call, default true
Return promise if no callback is passed and promises available
Retry Otp to given mobile number @param { string } contactNumber receiver ' s mobile number along with country code @param { boolean } retryVoice false to retry otp via text call default true Return promise if no callback is passed and promises available
retry(contactNumber, retryVoice, callback) {
        let retryType =  'voice';
        if (!retryVoice) {
            retryType = 'text'
        }
        let args = {
            authkey: this.authKey,
            mobile: contactNumber,
            retrytype: retryType
        };
        return SendOtp.doRequest('get', "retryotp.php", args, callback);
    }
retry ( contactNumber , retryVoice , callback ) { let retryType = 'voice' ; if ( ! retryVoice ) { retryType = 'text' } let args = { authkey : this . authKey , mobile : contactNumber , retrytype : retryType } ; return SendOtp . doRequest ( 'get' , "retryotp.php" , args , callback ) ; }
Retry Otp to given mobile number
 @param {string} contactNumber receiver's mobile number along with country code
 @param {boolean} retryVoice, false to retry otp via text call, default true
 Return promise if no callback is passed and promises available
Retry Otp to given mobile number @param { string } contactNumber receiver ' s mobile number along with country code @param { boolean } retryVoice false to retry otp via text call default true Return promise if no callback is passed and promises available