Type.registerNamespace('Msfg.Money.Loans.Presentation.Web.UI');
Msfg.Money.Loans.Presentation.Web.UI.availableloans=function() {
Msfg.Money.Loans.Presentation.Web.UI.availableloans.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Msfg.Money.Loans.Presentation.Web.UI.availableloans.prototype={
GetLoanCount:function(pageId,LoanAmount,LoanPeriodID,ResidentialStatusID,succeededCallback, failedCallback, userContext) {
return this._invoke(Msfg.Money.Loans.Presentation.Web.UI.availableloans.get_path(), 'GetLoanCount',false,{pageId:pageId,LoanAmount:LoanAmount,LoanPeriodID:LoanPeriodID,ResidentialStatusID:ResidentialStatusID},succeededCallback,failedCallback,userContext); }}
Msfg.Money.Loans.Presentation.Web.UI.availableloans.registerClass('Msfg.Money.Loans.Presentation.Web.UI.availableloans',Sys.Net.WebServiceProxy);
Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance = new Msfg.Money.Loans.Presentation.Web.UI.availableloans();
Msfg.Money.Loans.Presentation.Web.UI.availableloans.set_path = function(value) { Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._path = value; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.get_path = function() { return Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._path; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.set_timeout = function(value) { Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._timeout = value; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.get_timeout = function() { return Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._timeout; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.set_defaultUserContext = function(value) { Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._userContext = value; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.get_defaultUserContext = function() { return Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._userContext; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.set_defaultSucceededCallback = function(value) { Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._succeeded = value; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.get_defaultSucceededCallback = function() { return Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._succeeded; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.set_defaultFailedCallback = function(value) { Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._failed = value; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.get_defaultFailedCallback = function() { return Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance._failed; }
Msfg.Money.Loans.Presentation.Web.UI.availableloans.set_path("/loans/availableloans.asmx");
Msfg.Money.Loans.Presentation.Web.UI.availableloans.GetLoanCount= function(pageId,LoanAmount,LoanPeriodID,ResidentialStatusID,onSuccess,onFailed,userContext) {Msfg.Money.Loans.Presentation.Web.UI.availableloans._staticInstance.GetLoanCount(pageId,LoanAmount,LoanPeriodID,ResidentialStatusID,onSuccess,onFailed,userContext); }
