Type.registerNamespace('PriceLister.Avalon.Web.ScriptService');
PriceLister.Avalon.Web.ScriptService.DealVote=function() {
PriceLister.Avalon.Web.ScriptService.DealVote.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PriceLister.Avalon.Web.ScriptService.DealVote.prototype={
Vote:function(userDealId,vote,succeededCallback, failedCallback, userContext) {
return this._invoke(PriceLister.Avalon.Web.ScriptService.DealVote.get_path(), 'Vote',false,{userDealId:userDealId,vote:vote},succeededCallback,failedCallback,userContext); }}
PriceLister.Avalon.Web.ScriptService.DealVote.registerClass('PriceLister.Avalon.Web.ScriptService.DealVote',Sys.Net.WebServiceProxy);
PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance = new PriceLister.Avalon.Web.ScriptService.DealVote();
PriceLister.Avalon.Web.ScriptService.DealVote.set_path = function(value) { PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._path = value; }
PriceLister.Avalon.Web.ScriptService.DealVote.get_path = function() { return PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._path; }
PriceLister.Avalon.Web.ScriptService.DealVote.set_timeout = function(value) { PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._timeout = value; }
PriceLister.Avalon.Web.ScriptService.DealVote.get_timeout = function() { return PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._timeout; }
PriceLister.Avalon.Web.ScriptService.DealVote.set_defaultUserContext = function(value) { PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._userContext = value; }
PriceLister.Avalon.Web.ScriptService.DealVote.get_defaultUserContext = function() { return PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._userContext; }
PriceLister.Avalon.Web.ScriptService.DealVote.set_defaultSucceededCallback = function(value) { PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._succeeded = value; }
PriceLister.Avalon.Web.ScriptService.DealVote.get_defaultSucceededCallback = function() { return PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._succeeded; }
PriceLister.Avalon.Web.ScriptService.DealVote.set_defaultFailedCallback = function(value) { PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._failed = value; }
PriceLister.Avalon.Web.ScriptService.DealVote.get_defaultFailedCallback = function() { return PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance._failed; }
PriceLister.Avalon.Web.ScriptService.DealVote.set_path("/ScriptServices/DealVote.asmx");
PriceLister.Avalon.Web.ScriptService.DealVote.Vote= function(userDealId,vote,onSuccess,onFailed,userContext) {PriceLister.Avalon.Web.ScriptService.DealVote._staticInstance.Vote(userDealId,vote,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('PriceLister.Avalon.Web.Lib');
if (typeof(PriceLister.Avalon.Web.Lib.DealScore) === 'undefined') {
PriceLister.Avalon.Web.Lib.DealScore=gtc("PriceLister.Avalon.Web.Lib.DealScore");
PriceLister.Avalon.Web.Lib.DealScore.registerClass('PriceLister.Avalon.Web.Lib.DealScore');
}
