var Ajax=function() {
Ajax.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Ajax.prototype={
processCampaignCodes:function(campaignCode,promoCode,shopperId,isApplyPromoCode,succeededCallback, failedCallback, userContext) {
return this._invoke(Ajax.get_path(), 'processCampaignCodes',false,{campaignCode:campaignCode,promoCode:promoCode,shopperId:shopperId,isApplyPromoCode:isApplyPromoCode},succeededCallback,failedCallback,userContext); }}
Ajax.registerClass('Ajax',Sys.Net.WebServiceProxy);
Ajax._staticInstance = new Ajax();
Ajax.set_path = function(value) { Ajax._staticInstance._path = value; }
Ajax.get_path = function() { return Ajax._staticInstance._path; }
Ajax.set_timeout = function(value) { Ajax._staticInstance._timeout = value; }
Ajax.get_timeout = function() { return Ajax._staticInstance._timeout; }
Ajax.set_defaultUserContext = function(value) { Ajax._staticInstance._userContext = value; }
Ajax.get_defaultUserContext = function() { return Ajax._staticInstance._userContext; }
Ajax.set_defaultSucceededCallback = function(value) { Ajax._staticInstance._succeeded = value; }
Ajax.get_defaultSucceededCallback = function() { return Ajax._staticInstance._succeeded; }
Ajax.set_defaultFailedCallback = function(value) { Ajax._staticInstance._failed = value; }
Ajax.get_defaultFailedCallback = function() { return Ajax._staticInstance._failed; }
Ajax.set_path("/WebService/Ajax.asmx");
Ajax.processCampaignCodes= function(campaignCode,promoCode,shopperId,isApplyPromoCode,onSuccess,onFailed,userContext) {Ajax._staticInstance.processCampaignCodes(campaignCode,promoCode,shopperId,isApplyPromoCode,onSuccess,onFailed,userContext); }
