Jquery Deferred

Jquery Deferred

Hi, I have below snippet that uses promise. Could someone help me how can i convert this into jquery deferred ? Do not want to use promise, instead want to use  $.Deferred(). Any help would be appreciated? 
return new Promise(function(resolve, reject) {
            if (!self.CheckCustomerAccount(accountNumber)) {
           
            reject(self._handleError(self._createError(null, "INVALID_account_number", self.messages.invalidAccount)));
            }
            else {
            if (DEBUG) {
           
            }
            var saveData = self.runAjax({
            requestType: 'POST',
            requestUrl: '/webapp/bkg/atl/servlet/stlAjaxCheckAccount',
            requestParameters: self._getCommonParameters() ,
            async: false
            });
            if (saveData.status === self.STATUS_SUCCESS) {
            resolve();
            }
            else {
            reject(saveData);
            }
            }
            });