Type.registerNamespace('CentroDigitalNETVB');
CentroDigitalNETVB.WebShopProvider=function() {
CentroDigitalNETVB.WebShopProvider.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CentroDigitalNETVB.WebShopProvider.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CentroDigitalNETVB.WebShopProvider._staticInstance.get_path();},
GetEncodedData:function(user,pass,succeededCallback, failedCallback, userContext) {
/// <param name="user" type="String">System.String</param>
/// <param name="pass" type="String">System.String</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(), 'GetEncodedData',false,{user:user,pass:pass},succeededCallback,failedCallback,userContext); },
GetArticleInfo:function(artId,loginObject,land,bgNr,bnkw,isFromDetails,succeededCallback, failedCallback, userContext) {
/// <param name="artId" type="String">System.String</param>
/// <param name="loginObject" type="CentroDigitalNETVB.API.Structures.LogedInStructure">CentroDigitalNETVB.API.Structures.LogedInStructure</param>
/// <param name="land" type="Number">System.Int32</param>
/// <param name="bgNr" type="Number">System.Int32</param>
/// <param name="bnkw" type="Boolean">System.Boolean</param>
/// <param name="isFromDetails" type="Boolean">System.Boolean</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(), 'GetArticleInfo',false,{artId:artId,loginObject:loginObject,land:land,bgNr:bgNr,bnkw:bnkw,isFromDetails:isFromDetails},succeededCallback,failedCallback,userContext); },
GetArticlesInfo:function(artIds,loginObject,land,bgNr,bnkw,isFromDetails,succeededCallback, failedCallback, userContext) {
/// <param name="artIds" type="Array">System.String[]</param>
/// <param name="loginObject" type="CentroDigitalNETVB.API.Structures.LogedInStructure">CentroDigitalNETVB.API.Structures.LogedInStructure</param>
/// <param name="land" type="Number">System.Int32</param>
/// <param name="bgNr" type="Number">System.Int32</param>
/// <param name="bnkw" type="Boolean">System.Boolean</param>
/// <param name="isFromDetails" type="Boolean">System.Boolean</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(), 'GetArticlesInfo',false,{artIds:artIds,loginObject:loginObject,land:land,bgNr:bgNr,bnkw:bnkw,isFromDetails:isFromDetails},succeededCallback,failedCallback,userContext); },
GetArticlesInfoFromList:function(articleList,loginObject,land,bgNr,bnkw,isFromDetails,succeededCallback, failedCallback, userContext) {
/// <param name="articleList" type="Array">CentroDigitalNETVB.WebShop.WebShopItem[]</param>
/// <param name="loginObject" type="CentroDigitalNETVB.API.Structures.LogedInStructure">CentroDigitalNETVB.API.Structures.LogedInStructure</param>
/// <param name="land" type="Number">System.Int32</param>
/// <param name="bgNr" type="Number">System.Int32</param>
/// <param name="bnkw" type="Boolean">System.Boolean</param>
/// <param name="isFromDetails" type="Boolean">System.Boolean</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(), 'GetArticlesInfoFromList',false,{articleList:articleList,loginObject:loginObject,land:land,bgNr:bgNr,bnkw:bnkw,isFromDetails:isFromDetails},succeededCallback,failedCallback,userContext); },
CheckUserCredentials:function(loginObject,user,pass,succeededCallback, failedCallback, userContext) {
/// <param name="loginObject" type="CentroDigitalNETVB.API.Structures.LogedInStructure">CentroDigitalNETVB.API.Structures.LogedInStructure</param>
/// <param name="user" type="String">System.String</param>
/// <param name="pass" type="String">System.String</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(), 'CheckUserCredentials',false,{loginObject:loginObject,user:user,pass:pass},succeededCallback,failedCallback,userContext); }}
CentroDigitalNETVB.WebShopProvider.registerClass('CentroDigitalNETVB.WebShopProvider',Sys.Net.WebServiceProxy);
CentroDigitalNETVB.WebShopProvider._staticInstance = new CentroDigitalNETVB.WebShopProvider();
CentroDigitalNETVB.WebShopProvider.set_path = function(value) {
CentroDigitalNETVB.WebShopProvider._staticInstance.set_path(value); }
CentroDigitalNETVB.WebShopProvider.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CentroDigitalNETVB.WebShopProvider._staticInstance.get_path();}
CentroDigitalNETVB.WebShopProvider.set_timeout = function(value) {
CentroDigitalNETVB.WebShopProvider._staticInstance.set_timeout(value); }
CentroDigitalNETVB.WebShopProvider.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CentroDigitalNETVB.WebShopProvider._staticInstance.get_timeout(); }
CentroDigitalNETVB.WebShopProvider.set_defaultUserContext = function(value) { 
CentroDigitalNETVB.WebShopProvider._staticInstance.set_defaultUserContext(value); }
CentroDigitalNETVB.WebShopProvider.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CentroDigitalNETVB.WebShopProvider._staticInstance.get_defaultUserContext(); }
CentroDigitalNETVB.WebShopProvider.set_defaultSucceededCallback = function(value) { 
 CentroDigitalNETVB.WebShopProvider._staticInstance.set_defaultSucceededCallback(value); }
CentroDigitalNETVB.WebShopProvider.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CentroDigitalNETVB.WebShopProvider._staticInstance.get_defaultSucceededCallback(); }
CentroDigitalNETVB.WebShopProvider.set_defaultFailedCallback = function(value) { 
CentroDigitalNETVB.WebShopProvider._staticInstance.set_defaultFailedCallback(value); }
CentroDigitalNETVB.WebShopProvider.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CentroDigitalNETVB.WebShopProvider._staticInstance.get_defaultFailedCallback(); }
CentroDigitalNETVB.WebShopProvider.set_enableJsonp = function(value) { CentroDigitalNETVB.WebShopProvider._staticInstance.set_enableJsonp(value); }
CentroDigitalNETVB.WebShopProvider.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return CentroDigitalNETVB.WebShopProvider._staticInstance.get_enableJsonp(); }
CentroDigitalNETVB.WebShopProvider.set_jsonpCallbackParameter = function(value) { CentroDigitalNETVB.WebShopProvider._staticInstance.set_jsonpCallbackParameter(value); }
CentroDigitalNETVB.WebShopProvider.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return CentroDigitalNETVB.WebShopProvider._staticInstance.get_jsonpCallbackParameter(); }
CentroDigitalNETVB.WebShopProvider.set_path("/centro/Services/WebShopProvider.asmx");
CentroDigitalNETVB.WebShopProvider.GetEncodedData= function(user,pass,onSuccess,onFailed,userContext) {
/// <param name="user" type="String">System.String</param>
/// <param name="pass" type="String">System.String</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>
CentroDigitalNETVB.WebShopProvider._staticInstance.GetEncodedData(user,pass,onSuccess,onFailed,userContext); }
CentroDigitalNETVB.WebShopProvider.GetArticleInfo= function(artId,loginObject,land,bgNr,bnkw,isFromDetails,onSuccess,onFailed,userContext) {
/// <param name="artId" type="String">System.String</param>
/// <param name="loginObject" type="CentroDigitalNETVB.API.Structures.LogedInStructure">CentroDigitalNETVB.API.Structures.LogedInStructure</param>
/// <param name="land" type="Number">System.Int32</param>
/// <param name="bgNr" type="Number">System.Int32</param>
/// <param name="bnkw" type="Boolean">System.Boolean</param>
/// <param name="isFromDetails" type="Boolean">System.Boolean</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>
CentroDigitalNETVB.WebShopProvider._staticInstance.GetArticleInfo(artId,loginObject,land,bgNr,bnkw,isFromDetails,onSuccess,onFailed,userContext); }
CentroDigitalNETVB.WebShopProvider.GetArticlesInfo= function(artIds,loginObject,land,bgNr,bnkw,isFromDetails,onSuccess,onFailed,userContext) {
/// <param name="artIds" type="Array">System.String[]</param>
/// <param name="loginObject" type="CentroDigitalNETVB.API.Structures.LogedInStructure">CentroDigitalNETVB.API.Structures.LogedInStructure</param>
/// <param name="land" type="Number">System.Int32</param>
/// <param name="bgNr" type="Number">System.Int32</param>
/// <param name="bnkw" type="Boolean">System.Boolean</param>
/// <param name="isFromDetails" type="Boolean">System.Boolean</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>
CentroDigitalNETVB.WebShopProvider._staticInstance.GetArticlesInfo(artIds,loginObject,land,bgNr,bnkw,isFromDetails,onSuccess,onFailed,userContext); }
CentroDigitalNETVB.WebShopProvider.GetArticlesInfoFromList= function(articleList,loginObject,land,bgNr,bnkw,isFromDetails,onSuccess,onFailed,userContext) {
/// <param name="articleList" type="Array">CentroDigitalNETVB.WebShop.WebShopItem[]</param>
/// <param name="loginObject" type="CentroDigitalNETVB.API.Structures.LogedInStructure">CentroDigitalNETVB.API.Structures.LogedInStructure</param>
/// <param name="land" type="Number">System.Int32</param>
/// <param name="bgNr" type="Number">System.Int32</param>
/// <param name="bnkw" type="Boolean">System.Boolean</param>
/// <param name="isFromDetails" type="Boolean">System.Boolean</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>
CentroDigitalNETVB.WebShopProvider._staticInstance.GetArticlesInfoFromList(articleList,loginObject,land,bgNr,bnkw,isFromDetails,onSuccess,onFailed,userContext); }
CentroDigitalNETVB.WebShopProvider.CheckUserCredentials= function(loginObject,user,pass,onSuccess,onFailed,userContext) {
/// <param name="loginObject" type="CentroDigitalNETVB.API.Structures.LogedInStructure">CentroDigitalNETVB.API.Structures.LogedInStructure</param>
/// <param name="user" type="String">System.String</param>
/// <param name="pass" type="String">System.String</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>
CentroDigitalNETVB.WebShopProvider._staticInstance.CheckUserCredentials(loginObject,user,pass,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('CentroDigitalNETVB.WebShop');
if (typeof(CentroDigitalNETVB.WebShop.WebShopItem) === 'undefined') {
CentroDigitalNETVB.WebShop.WebShopItem=gtc("CentroDigitalNETVB.WebShop.WebShopItem");
CentroDigitalNETVB.WebShop.WebShopItem.registerClass('CentroDigitalNETVB.WebShop.WebShopItem');
}
Type.registerNamespace('CentroDigitalNETVB.API.Structures');
if (typeof(CentroDigitalNETVB.API.Structures.LogedInStructure) === 'undefined') {
CentroDigitalNETVB.API.Structures.LogedInStructure=gtc("CentroDigitalNETVB.API.Structures.LogedInStructure");
CentroDigitalNETVB.API.Structures.LogedInStructure.registerClass('CentroDigitalNETVB.API.Structures.LogedInStructure');
}
if (typeof(CentroDigitalNETVB.WebShopResponse) === 'undefined') {
CentroDigitalNETVB.WebShopResponse=gtc("CentroDigitalNETVB.WebShopResponse");
CentroDigitalNETVB.WebShopResponse.registerClass('CentroDigitalNETVB.WebShopResponse');
}

