Type.registerNamespace('com.realprosystems.agentsystem.AjaxServices');
com.realprosystems.agentsystem.AjaxServices.PropertyWebService=function() {
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.get_path();},
CalculateMonthlyPayment:function(loanAmount,interestRate,termOfLoan,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CalculateMonthlyPayment',false,{loanAmount:loanAmount,interestRate:interestRate,termOfLoan:termOfLoan},succeededCallback,failedCallback,userContext); },
SendAdditionalInfo:function(systemid,fromname,fromemail,sellerdisclosure,propertymap,brochure,comments,propertyid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendAdditionalInfo',false,{systemid:systemid,fromname:fromname,fromemail:fromemail,sellerdisclosure:sellerdisclosure,propertymap:propertymap,brochure:brochure,comments:comments,propertyid:propertyid},succeededCallback,failedCallback,userContext); },
EmailToFriend:function(systemid,toname,toemail,fromname,fromemail,comments,propertyid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EmailToFriend',false,{systemid:systemid,toname:toname,toemail:toemail,fromname:fromname,fromemail:fromemail,comments:comments,propertyid:propertyid},succeededCallback,failedCallback,userContext); },
SendFeedbackRequest:function(agentName,agentPhone,agentCompany,agentEmail,propertyid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendFeedbackRequest',false,{agentName:agentName,agentPhone:agentPhone,agentCompany:agentCompany,agentEmail:agentEmail,propertyid:propertyid},succeededCallback,failedCallback,userContext); },
SendFeedbackRating:function(ratingId,locationRating,exteriorRating,interiorRating,valuescale,comments,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendFeedbackRating',false,{ratingId:ratingId,locationRating:locationRating,exteriorRating:exteriorRating,interiorRating:interiorRating,valuescale:valuescale,comments:comments},succeededCallback,failedCallback,userContext); }}
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.registerClass('com.realprosystems.agentsystem.AjaxServices.PropertyWebService',Sys.Net.WebServiceProxy);
com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance = new com.realprosystems.agentsystem.AjaxServices.PropertyWebService();
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.set_path = function(value) { com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.set_path(value); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.get_path = function() { return com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.get_path(); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.set_timeout = function(value) { com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.set_timeout(value); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.get_timeout = function() { return com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.get_timeout(); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.set_defaultUserContext = function(value) { com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.set_defaultUserContext(value); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.get_defaultUserContext = function() { return com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.get_defaultUserContext(); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.set_defaultSucceededCallback = function(value) { com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.set_defaultSucceededCallback(value); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.get_defaultSucceededCallback = function() { return com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.get_defaultSucceededCallback(); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.set_defaultFailedCallback = function(value) { com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.set_defaultFailedCallback(value); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.get_defaultFailedCallback = function() { return com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.get_defaultFailedCallback(); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.set_path("/PropertyWebService.asmx");
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.CalculateMonthlyPayment= function(loanAmount,interestRate,termOfLoan,onSuccess,onFailed,userContext) {com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.CalculateMonthlyPayment(loanAmount,interestRate,termOfLoan,onSuccess,onFailed,userContext); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.SendAdditionalInfo= function(systemid,fromname,fromemail,sellerdisclosure,propertymap,brochure,comments,propertyid,onSuccess,onFailed,userContext) {com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.SendAdditionalInfo(systemid,fromname,fromemail,sellerdisclosure,propertymap,brochure,comments,propertyid,onSuccess,onFailed,userContext); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.EmailToFriend= function(systemid,toname,toemail,fromname,fromemail,comments,propertyid,onSuccess,onFailed,userContext) {com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.EmailToFriend(systemid,toname,toemail,fromname,fromemail,comments,propertyid,onSuccess,onFailed,userContext); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.SendFeedbackRequest= function(agentName,agentPhone,agentCompany,agentEmail,propertyid,onSuccess,onFailed,userContext) {com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.SendFeedbackRequest(agentName,agentPhone,agentCompany,agentEmail,propertyid,onSuccess,onFailed,userContext); }
com.realprosystems.agentsystem.AjaxServices.PropertyWebService.SendFeedbackRating= function(ratingId,locationRating,exteriorRating,interiorRating,valuescale,comments,onSuccess,onFailed,userContext) {com.realprosystems.agentsystem.AjaxServices.PropertyWebService._staticInstance.SendFeedbackRating(ratingId,locationRating,exteriorRating,interiorRating,valuescale,comments,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('com.realprosystems.web.agentsystem');
if (typeof(com.realprosystems.web.agentsystem.AjaxResult) === 'undefined') {
com.realprosystems.web.agentsystem.AjaxResult=gtc("com.realprosystems.web.agentsystem.AjaxResult");
com.realprosystems.web.agentsystem.AjaxResult.registerClass('com.realprosystems.web.agentsystem.AjaxResult');
}
