Type.registerNamespace('ShoppingCartnetServices');
ShoppingCartnetServices.HistoryService=function() {
ShoppingCartnetServices.HistoryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ShoppingCartnetServices.HistoryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ShoppingCartnetServices.HistoryService._staticInstance.get_path();},
AddProductToViewHistory:function(ProductID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddProductToViewHistory',true,{ProductID:ProductID},succeededCallback,failedCallback,userContext); },
ChangeHistorySettings:function(HistoryOn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ChangeHistorySettings',true,{HistoryOn:HistoryOn},succeededCallback,failedCallback,userContext); },
GetProductHistory:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductHistory',true,{},succeededCallback,failedCallback,userContext); }}
ShoppingCartnetServices.HistoryService.registerClass('ShoppingCartnetServices.HistoryService',Sys.Net.WebServiceProxy);
ShoppingCartnetServices.HistoryService._staticInstance = new ShoppingCartnetServices.HistoryService();
ShoppingCartnetServices.HistoryService.set_path = function(value) { ShoppingCartnetServices.HistoryService._staticInstance.set_path(value); }
ShoppingCartnetServices.HistoryService.get_path = function() { return ShoppingCartnetServices.HistoryService._staticInstance.get_path(); }
ShoppingCartnetServices.HistoryService.set_timeout = function(value) { ShoppingCartnetServices.HistoryService._staticInstance.set_timeout(value); }
ShoppingCartnetServices.HistoryService.get_timeout = function() { return ShoppingCartnetServices.HistoryService._staticInstance.get_timeout(); }
ShoppingCartnetServices.HistoryService.set_defaultUserContext = function(value) { ShoppingCartnetServices.HistoryService._staticInstance.set_defaultUserContext(value); }
ShoppingCartnetServices.HistoryService.get_defaultUserContext = function() { return ShoppingCartnetServices.HistoryService._staticInstance.get_defaultUserContext(); }
ShoppingCartnetServices.HistoryService.set_defaultSucceededCallback = function(value) { ShoppingCartnetServices.HistoryService._staticInstance.set_defaultSucceededCallback(value); }
ShoppingCartnetServices.HistoryService.get_defaultSucceededCallback = function() { return ShoppingCartnetServices.HistoryService._staticInstance.get_defaultSucceededCallback(); }
ShoppingCartnetServices.HistoryService.set_defaultFailedCallback = function(value) { ShoppingCartnetServices.HistoryService._staticInstance.set_defaultFailedCallback(value); }
ShoppingCartnetServices.HistoryService.get_defaultFailedCallback = function() { return ShoppingCartnetServices.HistoryService._staticInstance.get_defaultFailedCallback(); }
ShoppingCartnetServices.HistoryService.set_enableJsonp = function(value) { ShoppingCartnetServices.HistoryService._staticInstance.set_enableJsonp(value); }
ShoppingCartnetServices.HistoryService.get_enableJsonp = function() { return ShoppingCartnetServices.HistoryService._staticInstance.get_enableJsonp(); }
ShoppingCartnetServices.HistoryService.set_jsonpCallbackParameter = function(value) { ShoppingCartnetServices.HistoryService._staticInstance.set_jsonpCallbackParameter(value); }
ShoppingCartnetServices.HistoryService.get_jsonpCallbackParameter = function() { return ShoppingCartnetServices.HistoryService._staticInstance.get_jsonpCallbackParameter(); }
ShoppingCartnetServices.HistoryService.set_path("http://www.fakeye.com/Services/HistoryService.svc");
ShoppingCartnetServices.HistoryService.AddProductToViewHistory= function(ProductID,onSuccess,onFailed,userContext) {ShoppingCartnetServices.HistoryService._staticInstance.AddProductToViewHistory(ProductID,onSuccess,onFailed,userContext); }
ShoppingCartnetServices.HistoryService.ChangeHistorySettings= function(HistoryOn,onSuccess,onFailed,userContext) {ShoppingCartnetServices.HistoryService._staticInstance.ChangeHistorySettings(HistoryOn,onSuccess,onFailed,userContext); }
ShoppingCartnetServices.HistoryService.GetProductHistory= function(onSuccess,onFailed,userContext) {ShoppingCartnetServices.HistoryService._staticInstance.GetProductHistory(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('InvertedSoftware.ShoppingCart.DataLayer.DataObjects');
if (typeof(InvertedSoftware.ShoppingCart.DataLayer.DataObjects.ProductDisplay) === 'undefined') {
InvertedSoftware.ShoppingCart.DataLayer.DataObjects.ProductDisplay=gtc("ProductDisplay:http://schemas.datacontract.org/2004/07/InvertedSoftware.ShoppingCart.DataLayer.DataObjects");
InvertedSoftware.ShoppingCart.DataLayer.DataObjects.ProductDisplay.registerClass('InvertedSoftware.ShoppingCart.DataLayer.DataObjects.ProductDisplay');
}

