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={
GetEncodedData:function(user,pass,succeededCallback, failedCallback, userContext) {
return this._invoke(CentroDigitalNETVB.WebShopProvider.get_path(), 'GetEncodedData',false,{user:user,pass:pass},succeededCallback,failedCallback,userContext); },
GetArticleInfo:function(artId,loginObject,land,bgNr,bnkw,isFromDetails,succeededCallback, failedCallback, userContext) {
return this._invoke(CentroDigitalNETVB.WebShopProvider.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) {
return this._invoke(CentroDigitalNETVB.WebShopProvider.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) {
return this._invoke(CentroDigitalNETVB.WebShopProvider.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) {
return this._invoke(CentroDigitalNETVB.WebShopProvider.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) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; CentroDigitalNETVB.WebShopProvider._staticInstance._path = value; }
CentroDigitalNETVB.WebShopProvider.get_path = function() { return CentroDigitalNETVB.WebShopProvider._staticInstance._path; }
CentroDigitalNETVB.WebShopProvider.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); }
CentroDigitalNETVB.WebShopProvider._staticInstance._timeout = value; }
CentroDigitalNETVB.WebShopProvider.get_timeout = function() { 
return CentroDigitalNETVB.WebShopProvider._staticInstance._timeout; }
CentroDigitalNETVB.WebShopProvider.set_defaultUserContext = function(value) { 
CentroDigitalNETVB.WebShopProvider._staticInstance._userContext = value; }
CentroDigitalNETVB.WebShopProvider.get_defaultUserContext = function() { 
return CentroDigitalNETVB.WebShopProvider._staticInstance._userContext; }
CentroDigitalNETVB.WebShopProvider.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; CentroDigitalNETVB.WebShopProvider._staticInstance._succeeded = value; }
CentroDigitalNETVB.WebShopProvider.get_defaultSucceededCallback = function() { 
return CentroDigitalNETVB.WebShopProvider._staticInstance._succeeded; }
CentroDigitalNETVB.WebShopProvider.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; CentroDigitalNETVB.WebShopProvider._staticInstance._failed = value; }
CentroDigitalNETVB.WebShopProvider.get_defaultFailedCallback = function() { 
return CentroDigitalNETVB.WebShopProvider._staticInstance._failed; }
CentroDigitalNETVB.WebShopProvider.set_path("/centro/Services/WebShopProvider.asmx");
CentroDigitalNETVB.WebShopProvider.GetEncodedData= function(user,pass,onSuccess,onFailed,userContext) {CentroDigitalNETVB.WebShopProvider._staticInstance.GetEncodedData(user,pass,onSuccess,onFailed,userContext); }
CentroDigitalNETVB.WebShopProvider.GetArticleInfo= function(artId,loginObject,land,bgNr,bnkw,isFromDetails,onSuccess,onFailed,userContext) {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) {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) {CentroDigitalNETVB.WebShopProvider._staticInstance.GetArticlesInfoFromList(articleList,loginObject,land,bgNr,bnkw,isFromDetails,onSuccess,onFailed,userContext); }
CentroDigitalNETVB.WebShopProvider.CheckUserCredentials= function(loginObject,user,pass,onSuccess,onFailed,userContext) {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');
}
