Type.registerNamespace('Poort80.Web.Zero.Services');
Poort80.Web.Zero.Services.Ajax=function() {
Poort80.Web.Zero.Services.Ajax.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Poort80.Web.Zero.Services.Ajax.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Poort80.Web.Zero.Services.Ajax._staticInstance.get_path();},
GetRedirectUrl:function(campaignId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRedirectUrl',false,{campaignId:campaignId},succeededCallback,failedCallback,userContext); },
HideOrder:function(orderId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HideOrder',false,{orderId:orderId},succeededCallback,failedCallback,userContext); },
OrderProduct:function(productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'OrderProduct',false,{productId:productId},succeededCallback,failedCallback,userContext); }}
Poort80.Web.Zero.Services.Ajax.registerClass('Poort80.Web.Zero.Services.Ajax',Sys.Net.WebServiceProxy);
Poort80.Web.Zero.Services.Ajax._staticInstance = new Poort80.Web.Zero.Services.Ajax();
Poort80.Web.Zero.Services.Ajax.set_path = function(value) { Poort80.Web.Zero.Services.Ajax._staticInstance.set_path(value); }
Poort80.Web.Zero.Services.Ajax.get_path = function() { return Poort80.Web.Zero.Services.Ajax._staticInstance.get_path(); }
Poort80.Web.Zero.Services.Ajax.set_timeout = function(value) { Poort80.Web.Zero.Services.Ajax._staticInstance.set_timeout(value); }
Poort80.Web.Zero.Services.Ajax.get_timeout = function() { return Poort80.Web.Zero.Services.Ajax._staticInstance.get_timeout(); }
Poort80.Web.Zero.Services.Ajax.set_defaultUserContext = function(value) { Poort80.Web.Zero.Services.Ajax._staticInstance.set_defaultUserContext(value); }
Poort80.Web.Zero.Services.Ajax.get_defaultUserContext = function() { return Poort80.Web.Zero.Services.Ajax._staticInstance.get_defaultUserContext(); }
Poort80.Web.Zero.Services.Ajax.set_defaultSucceededCallback = function(value) { Poort80.Web.Zero.Services.Ajax._staticInstance.set_defaultSucceededCallback(value); }
Poort80.Web.Zero.Services.Ajax.get_defaultSucceededCallback = function() { return Poort80.Web.Zero.Services.Ajax._staticInstance.get_defaultSucceededCallback(); }
Poort80.Web.Zero.Services.Ajax.set_defaultFailedCallback = function(value) { Poort80.Web.Zero.Services.Ajax._staticInstance.set_defaultFailedCallback(value); }
Poort80.Web.Zero.Services.Ajax.get_defaultFailedCallback = function() { return Poort80.Web.Zero.Services.Ajax._staticInstance.get_defaultFailedCallback(); }
Poort80.Web.Zero.Services.Ajax.set_path("/services/ajax.asmx");
Poort80.Web.Zero.Services.Ajax.GetRedirectUrl= function(campaignId,onSuccess,onFailed,userContext) {Poort80.Web.Zero.Services.Ajax._staticInstance.GetRedirectUrl(campaignId,onSuccess,onFailed,userContext); }
Poort80.Web.Zero.Services.Ajax.HideOrder= function(orderId,onSuccess,onFailed,userContext) {Poort80.Web.Zero.Services.Ajax._staticInstance.HideOrder(orderId,onSuccess,onFailed,userContext); }
Poort80.Web.Zero.Services.Ajax.OrderProduct= function(productId,onSuccess,onFailed,userContext) {Poort80.Web.Zero.Services.Ajax._staticInstance.OrderProduct(productId,onSuccess,onFailed,userContext); }

