var CustomerFunctions=function() {
CustomerFunctions.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CustomerFunctions.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CustomerFunctions._staticInstance.get_path();},
getDefaultSelection:function(productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getDefaultSelection',false,{productId:productId},succeededCallback,failedCallback,userContext); },
switchSelection:function(currSel,typeId,attribValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'switchSelection',false,{currSel:currSel,typeId:typeId,attribValue:attribValue},succeededCallback,failedCallback,userContext); },
isTypeValueOptionAvailable:function(groupToTest,typeId,attribValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'isTypeValueOptionAvailable',false,{groupToTest:groupToTest,typeId:typeId,attribValue:attribValue},succeededCallback,failedCallback,userContext); },
getBasketValue:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getBasketValue',false,{},succeededCallback,failedCallback,userContext); },
getBasketCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getBasketCount',false,{},succeededCallback,failedCallback,userContext); },
addBasket:function(ag,qty,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addBasket',false,{ag:ag,qty:qty},succeededCallback,failedCallback,userContext); },
addProducts:function(productId,productQty,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addProducts',false,{productId:productId,productQty:productQty},succeededCallback,failedCallback,userContext); },
changeItemQty:function(itemId,qty,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'changeItemQty',false,{itemId:itemId,qty:qty},succeededCallback,failedCallback,userContext); },
changeCountry:function(country,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'changeCountry',false,{country:country},succeededCallback,failedCallback,userContext); },
setDiscount:function(code,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setDiscount',false,{code:code},succeededCallback,failedCallback,userContext); },
resetPass:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'resetPass',false,{email:email},succeededCallback,failedCallback,userContext); },
setAccountDetails:function(id,value,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'setAccountDetails',false,{id:id,value:value},succeededCallback,failedCallback,userContext); },
getProductAutocomplete:function(term,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getProductAutocomplete',false,{term:term},succeededCallback,failedCallback,userContext); },
userApprove:function(catchID,approve,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'userApprove',false,{catchID:catchID,approve:approve},succeededCallback,failedCallback,userContext); },
deleteCatch:function(catchID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteCatch',false,{catchID:catchID},succeededCallback,failedCallback,userContext); }}
CustomerFunctions.registerClass('CustomerFunctions',Sys.Net.WebServiceProxy);
CustomerFunctions._staticInstance = new CustomerFunctions();
CustomerFunctions.set_path = function(value) { CustomerFunctions._staticInstance.set_path(value); }
CustomerFunctions.get_path = function() { return CustomerFunctions._staticInstance.get_path(); }
CustomerFunctions.set_timeout = function(value) { CustomerFunctions._staticInstance.set_timeout(value); }
CustomerFunctions.get_timeout = function() { return CustomerFunctions._staticInstance.get_timeout(); }
CustomerFunctions.set_defaultUserContext = function(value) { CustomerFunctions._staticInstance.set_defaultUserContext(value); }
CustomerFunctions.get_defaultUserContext = function() { return CustomerFunctions._staticInstance.get_defaultUserContext(); }
CustomerFunctions.set_defaultSucceededCallback = function(value) { CustomerFunctions._staticInstance.set_defaultSucceededCallback(value); }
CustomerFunctions.get_defaultSucceededCallback = function() { return CustomerFunctions._staticInstance.get_defaultSucceededCallback(); }
CustomerFunctions.set_defaultFailedCallback = function(value) { CustomerFunctions._staticInstance.set_defaultFailedCallback(value); }
CustomerFunctions.get_defaultFailedCallback = function() { return CustomerFunctions._staticInstance.get_defaultFailedCallback(); }
CustomerFunctions.set_enableJsonp = function(value) { CustomerFunctions._staticInstance.set_enableJsonp(value); }
CustomerFunctions.get_enableJsonp = function() { return CustomerFunctions._staticInstance.get_enableJsonp(); }
CustomerFunctions.set_jsonpCallbackParameter = function(value) { CustomerFunctions._staticInstance.set_jsonpCallbackParameter(value); }
CustomerFunctions.get_jsonpCallbackParameter = function() { return CustomerFunctions._staticInstance.get_jsonpCallbackParameter(); }
CustomerFunctions.set_path("/Services/CustomerFunctions.asmx");
CustomerFunctions.getDefaultSelection= function(productId,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.getDefaultSelection(productId,onSuccess,onFailed,userContext); }
CustomerFunctions.switchSelection= function(currSel,typeId,attribValue,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.switchSelection(currSel,typeId,attribValue,onSuccess,onFailed,userContext); }
CustomerFunctions.isTypeValueOptionAvailable= function(groupToTest,typeId,attribValue,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.isTypeValueOptionAvailable(groupToTest,typeId,attribValue,onSuccess,onFailed,userContext); }
CustomerFunctions.getBasketValue= function(onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.getBasketValue(onSuccess,onFailed,userContext); }
CustomerFunctions.getBasketCount= function(onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.getBasketCount(onSuccess,onFailed,userContext); }
CustomerFunctions.addBasket= function(ag,qty,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.addBasket(ag,qty,onSuccess,onFailed,userContext); }
CustomerFunctions.addProducts= function(productId,productQty,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.addProducts(productId,productQty,onSuccess,onFailed,userContext); }
CustomerFunctions.changeItemQty= function(itemId,qty,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.changeItemQty(itemId,qty,onSuccess,onFailed,userContext); }
CustomerFunctions.changeCountry= function(country,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.changeCountry(country,onSuccess,onFailed,userContext); }
CustomerFunctions.setDiscount= function(code,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.setDiscount(code,onSuccess,onFailed,userContext); }
CustomerFunctions.resetPass= function(email,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.resetPass(email,onSuccess,onFailed,userContext); }
CustomerFunctions.setAccountDetails= function(id,value,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.setAccountDetails(id,value,onSuccess,onFailed,userContext); }
CustomerFunctions.getProductAutocomplete= function(term,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.getProductAutocomplete(term,onSuccess,onFailed,userContext); }
CustomerFunctions.userApprove= function(catchID,approve,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.userApprove(catchID,approve,onSuccess,onFailed,userContext); }
CustomerFunctions.deleteCatch= function(catchID,onSuccess,onFailed,userContext) {CustomerFunctions._staticInstance.deleteCatch(catchID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(AttributeGroup) === 'undefined') {
var AttributeGroup=gtc("AttributeGroup");
AttributeGroup.registerClass('AttributeGroup');
}
Type.registerNamespace('Fish4Flies');
if (typeof(Fish4Flies.ShoppingBasket) === 'undefined') {
Fish4Flies.ShoppingBasket=gtc("Fish4Flies.ShoppingBasket");
Fish4Flies.ShoppingBasket.registerClass('Fish4Flies.ShoppingBasket');
}

