Type.registerNamespace('JetShop.StoreControls.Services');
JetShop.StoreControls.Services.CartInfoService=function() {
JetShop.StoreControls.Services.CartInfoService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
JetShop.StoreControls.Services.CartInfoService.prototype={
LoadCartInfo:function(succeededCallback, failedCallback, userContext) {
return this._invoke(JetShop.StoreControls.Services.CartInfoService.get_path(), 'LoadCartInfo',false,{},succeededCallback,failedCallback,userContext); },
SetVATSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(JetShop.StoreControls.Services.CartInfoService.get_path(), 'SetVATSession',false,{},succeededCallback,failedCallback,userContext); },
GetVATSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(JetShop.StoreControls.Services.CartInfoService.get_path(), 'GetVATSession',false,{},succeededCallback,failedCallback,userContext); }}
JetShop.StoreControls.Services.CartInfoService.registerClass('JetShop.StoreControls.Services.CartInfoService',Sys.Net.WebServiceProxy);
JetShop.StoreControls.Services.CartInfoService._staticInstance = new JetShop.StoreControls.Services.CartInfoService();
JetShop.StoreControls.Services.CartInfoService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; JetShop.StoreControls.Services.CartInfoService._staticInstance._path = value; }
JetShop.StoreControls.Services.CartInfoService.get_path = function() { return JetShop.StoreControls.Services.CartInfoService._staticInstance._path; }
JetShop.StoreControls.Services.CartInfoService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
JetShop.StoreControls.Services.CartInfoService._staticInstance._timeout = value; }
JetShop.StoreControls.Services.CartInfoService.get_timeout = function() { 
return JetShop.StoreControls.Services.CartInfoService._staticInstance._timeout; }
JetShop.StoreControls.Services.CartInfoService.set_defaultUserContext = function(value) { 
JetShop.StoreControls.Services.CartInfoService._staticInstance._userContext = value; }
JetShop.StoreControls.Services.CartInfoService.get_defaultUserContext = function() { 
return JetShop.StoreControls.Services.CartInfoService._staticInstance._userContext; }
JetShop.StoreControls.Services.CartInfoService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; JetShop.StoreControls.Services.CartInfoService._staticInstance._succeeded = value; }
JetShop.StoreControls.Services.CartInfoService.get_defaultSucceededCallback = function() { 
return JetShop.StoreControls.Services.CartInfoService._staticInstance._succeeded; }
JetShop.StoreControls.Services.CartInfoService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; JetShop.StoreControls.Services.CartInfoService._staticInstance._failed = value; }
JetShop.StoreControls.Services.CartInfoService.get_defaultFailedCallback = function() { 
return JetShop.StoreControls.Services.CartInfoService._staticInstance._failed; }
JetShop.StoreControls.Services.CartInfoService.set_path("/Services/CartInfoService.asmx");
JetShop.StoreControls.Services.CartInfoService.LoadCartInfo= function(onSuccess,onFailed,userContext) {JetShop.StoreControls.Services.CartInfoService._staticInstance.LoadCartInfo(onSuccess,onFailed,userContext); }
JetShop.StoreControls.Services.CartInfoService.SetVATSession= function(onSuccess,onFailed,userContext) {JetShop.StoreControls.Services.CartInfoService._staticInstance.SetVATSession(onSuccess,onFailed,userContext); }
JetShop.StoreControls.Services.CartInfoService.GetVATSession= function(onSuccess,onFailed,userContext) {JetShop.StoreControls.Services.CartInfoService._staticInstance.GetVATSession(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(JetShop.StoreControls.Services.CartInfoItem) === 'undefined') {
JetShop.StoreControls.Services.CartInfoItem=gtc("JetShop.StoreControls.Services.CartInfoItem");
JetShop.StoreControls.Services.CartInfoItem.registerClass('JetShop.StoreControls.Services.CartInfoItem');
}

