var BasketService=function() {
BasketService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BasketService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BasketService._staticInstance.get_path();},
GetBasket:function(Guid,CommerceId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBasket',false,{Guid:Guid,CommerceId:CommerceId},succeededCallback,failedCallback,userContext); },
AjoutPanier:function(ProductId,VariantId,Quantite,CatalogName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AjoutPanier',false,{ProductId:ProductId,VariantId:VariantId,Quantite:Quantite,CatalogName:CatalogName},succeededCallback,failedCallback,userContext); }}
BasketService.registerClass('BasketService',Sys.Net.WebServiceProxy);
BasketService._staticInstance = new BasketService();
BasketService.set_path = function(value) { BasketService._staticInstance.set_path(value); }
BasketService.get_path = function() { return BasketService._staticInstance.get_path(); }
BasketService.set_timeout = function(value) { BasketService._staticInstance.set_timeout(value); }
BasketService.get_timeout = function() { return BasketService._staticInstance.get_timeout(); }
BasketService.set_defaultUserContext = function(value) { BasketService._staticInstance.set_defaultUserContext(value); }
BasketService.get_defaultUserContext = function() { return BasketService._staticInstance.get_defaultUserContext(); }
BasketService.set_defaultSucceededCallback = function(value) { BasketService._staticInstance.set_defaultSucceededCallback(value); }
BasketService.get_defaultSucceededCallback = function() { return BasketService._staticInstance.get_defaultSucceededCallback(); }
BasketService.set_defaultFailedCallback = function(value) { BasketService._staticInstance.set_defaultFailedCallback(value); }
BasketService.get_defaultFailedCallback = function() { return BasketService._staticInstance.get_defaultFailedCallback(); }
BasketService.set_path("/fr/Ajax/BasketService.asmx");
BasketService.GetBasket= function(Guid,CommerceId,onSuccess,onFailed,userContext) {BasketService._staticInstance.GetBasket(Guid,CommerceId,onSuccess,onFailed,userContext); }
BasketService.AjoutPanier= function(ProductId,VariantId,Quantite,CatalogName,onSuccess,onFailed,userContext) {BasketService._staticInstance.AjoutPanier(ProductId,VariantId,Quantite,CatalogName,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Jules.Entities');
if (typeof(Jules.Entities.BasketLight) === 'undefined') {
Jules.Entities.BasketLight=gtc("Jules.Entities.BasketLight");
Jules.Entities.BasketLight.registerClass('Jules.Entities.BasketLight');
}

