var wsBasket=function() {
wsBasket.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsBasket.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return wsBasket._staticInstance.get_path();},
AddToBasket:function(ProdId,blnBijverkoop,OptieId,succeededCallback, failedCallback, userContext) {
/// <param name="ProdId" type="Number">System.Int32</param>
/// <param name="blnBijverkoop" type="Boolean">System.Boolean</param>
/// <param name="OptieId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AddToBasket',false,{ProdId:ProdId,blnBijverkoop:blnBijverkoop,OptieId:OptieId},succeededCallback,failedCallback,userContext); },
setWeekaanbieding:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'setWeekaanbieding',false,{},succeededCallback,failedCallback,userContext); },
removeWeekaanbieding:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'removeWeekaanbieding',false,{},succeededCallback,failedCallback,userContext); },
UpdateBon:function(Aantal,ProdId,succeededCallback, failedCallback, userContext) {
/// <param name="Aantal" type="Number">System.Int32</param>
/// <param name="ProdId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UpdateBon',false,{Aantal:Aantal,ProdId:ProdId},succeededCallback,failedCallback,userContext); },
ShowSmallBasket:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'ShowSmallBasket',false,{},succeededCallback,failedCallback,userContext); },
GetBasket:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetBasket',false,{},succeededCallback,failedCallback,userContext); }}
wsBasket.registerClass('wsBasket',Sys.Net.WebServiceProxy);
wsBasket._staticInstance = new wsBasket();
wsBasket.set_path = function(value) {
wsBasket._staticInstance.set_path(value); }
wsBasket.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return wsBasket._staticInstance.get_path();}
wsBasket.set_timeout = function(value) {
wsBasket._staticInstance.set_timeout(value); }
wsBasket.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return wsBasket._staticInstance.get_timeout(); }
wsBasket.set_defaultUserContext = function(value) { 
wsBasket._staticInstance.set_defaultUserContext(value); }
wsBasket.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return wsBasket._staticInstance.get_defaultUserContext(); }
wsBasket.set_defaultSucceededCallback = function(value) { 
 wsBasket._staticInstance.set_defaultSucceededCallback(value); }
wsBasket.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return wsBasket._staticInstance.get_defaultSucceededCallback(); }
wsBasket.set_defaultFailedCallback = function(value) { 
wsBasket._staticInstance.set_defaultFailedCallback(value); }
wsBasket.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return wsBasket._staticInstance.get_defaultFailedCallback(); }
wsBasket.set_path("/Webservices/wsBasket.asmx");
wsBasket.AddToBasket= function(ProdId,blnBijverkoop,OptieId,onSuccess,onFailed,userContext) {
/// <param name="ProdId" type="Number">System.Int32</param>
/// <param name="blnBijverkoop" type="Boolean">System.Boolean</param>
/// <param name="OptieId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
wsBasket._staticInstance.AddToBasket(ProdId,blnBijverkoop,OptieId,onSuccess,onFailed,userContext); }
wsBasket.setWeekaanbieding= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
wsBasket._staticInstance.setWeekaanbieding(onSuccess,onFailed,userContext); }
wsBasket.removeWeekaanbieding= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
wsBasket._staticInstance.removeWeekaanbieding(onSuccess,onFailed,userContext); }
wsBasket.UpdateBon= function(Aantal,ProdId,onSuccess,onFailed,userContext) {
/// <param name="Aantal" type="Number">System.Int32</param>
/// <param name="ProdId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
wsBasket._staticInstance.UpdateBon(Aantal,ProdId,onSuccess,onFailed,userContext); }
wsBasket.ShowSmallBasket= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
wsBasket._staticInstance.ShowSmallBasket(onSuccess,onFailed,userContext); }
wsBasket.GetBasket= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
wsBasket._staticInstance.GetBasket(onSuccess,onFailed,userContext); }

