Type.registerNamespace('Oponeo.pl');
Oponeo.pl.IShopService=function() {
Oponeo.pl.IShopService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Oponeo.pl.IShopService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Oponeo.pl.IShopService._staticInstance.get_path();},
GetCarImagePath:function(markID,carID,body,generation,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCarImagePath',false,{markID:markID,carID:carID,body:body,generation:generation},succeededCallback,failedCallback,userContext); },
GetDescriptionForProducersSelection:function(producersSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForProducersSelection',false,{producersSelection:producersSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForDesignatedProducersSelection:function(producers,producersSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForDesignatedProducersSelection',false,{producers:producers,producersSelection:producersSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForVehicleTypesSelection:function(vehicleTypesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForVehicleTypesSelection',false,{vehicleTypesSelection:vehicleTypesSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForDesignatedVehicleTypesSelection:function(vehicleTypes,vehicleTypesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForDesignatedVehicleTypesSelection',false,{vehicleTypes:vehicleTypes,vehicleTypesSelection:vehicleTypesSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForSpeedIndexesSelection:function(speedIndexesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForSpeedIndexesSelection',false,{speedIndexesSelection:speedIndexesSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForDesignatedSpeedIndexesSelection:function(speedIndexes,speedIndexesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForDesignatedSpeedIndexesSelection',false,{speedIndexes:speedIndexes,speedIndexesSelection:speedIndexesSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForLoadIndexesSelection:function(loadIndexesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForLoadIndexesSelection',false,{loadIndexesSelection:loadIndexesSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForDesignatedLoadIndexesSelection:function(loadIndexes,loadIndexesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForDesignatedLoadIndexesSelection',false,{loadIndexes:loadIndexes,loadIndexesSelection:loadIndexesSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForSeasonsSelection:function(seasonsSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForSeasonsSelection',false,{seasonsSelection:seasonsSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForDesignatedSeasonsSelection:function(seasons,seasonsSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForDesignatedSeasonsSelection',false,{seasons:seasons,seasonsSelection:seasonsSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForAxleSelection:function(axlesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForAxleSelection',false,{axlesSelection:axlesSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForDesignatedAxleSelection:function(axles,axlesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForDesignatedAxleSelection',false,{axles:axles,axlesSelection:axlesSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForTireUseSelection:function(tireUseSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForTireUseSelection',false,{tireUseSelection:tireUseSelection},succeededCallback,failedCallback,userContext); },
GetDescriptionForDesignatedTireUseSelection:function(tireUses,tireUsesSelection,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionForDesignatedTireUseSelection',false,{tireUses:tireUses,tireUsesSelection:tireUsesSelection},succeededCallback,failedCallback,userContext); },
GetTireParametersProductCount:function(sizeIds,producerIds,vehicleTypeIds,speedIxIds,loadIxIds,seasonIds,isReinforced,isRunOnFlat,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTireParametersProductCount',false,{sizeIds:sizeIds,producerIds:producerIds,vehicleTypeIds:vehicleTypeIds,speedIxIds:speedIxIds,loadIxIds:loadIxIds,seasonIds:seasonIds,isReinforced:isReinforced,isRunOnFlat:isRunOnFlat},succeededCallback,failedCallback,userContext); },
GetTireRatios:function(productKindId,vehicleKind,tireWidth,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTireRatios',false,{productKindId:productKindId,vehicleKind:vehicleKind,tireWidth:tireWidth},succeededCallback,failedCallback,userContext); },
GetTireDiameters:function(productKindId,vehicleKind,tireWidth,tireRatio,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTireDiameters',false,{productKindId:productKindId,vehicleKind:vehicleKind,tireWidth:tireWidth,tireRatio:tireRatio},succeededCallback,failedCallback,userContext); },
GetValidationStatus:function(orderNumber,name,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetValidationStatus',false,{orderNumber:orderNumber,name:name},succeededCallback,failedCallback,userContext); },
GetOrder:function(orderNumber,name,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetOrder',false,{orderNumber:orderNumber,name:name},succeededCallback,failedCallback,userContext); },
SavePreOrderInformation:function(name,surname,phoneNumber,email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SavePreOrderInformation',false,{name:name,surname:surname,phoneNumber:phoneNumber,email:email},succeededCallback,failedCallback,userContext); }}
Oponeo.pl.IShopService.registerClass('Oponeo.pl.IShopService',Sys.Net.WebServiceProxy);
Oponeo.pl.IShopService._staticInstance = new Oponeo.pl.IShopService();
Oponeo.pl.IShopService.set_path = function(value) { Oponeo.pl.IShopService._staticInstance.set_path(value); }
Oponeo.pl.IShopService.get_path = function() { return Oponeo.pl.IShopService._staticInstance.get_path(); }
Oponeo.pl.IShopService.set_timeout = function(value) { Oponeo.pl.IShopService._staticInstance.set_timeout(value); }
Oponeo.pl.IShopService.get_timeout = function() { return Oponeo.pl.IShopService._staticInstance.get_timeout(); }
Oponeo.pl.IShopService.set_defaultUserContext = function(value) { Oponeo.pl.IShopService._staticInstance.set_defaultUserContext(value); }
Oponeo.pl.IShopService.get_defaultUserContext = function() { return Oponeo.pl.IShopService._staticInstance.get_defaultUserContext(); }
Oponeo.pl.IShopService.set_defaultSucceededCallback = function(value) { Oponeo.pl.IShopService._staticInstance.set_defaultSucceededCallback(value); }
Oponeo.pl.IShopService.get_defaultSucceededCallback = function() { return Oponeo.pl.IShopService._staticInstance.get_defaultSucceededCallback(); }
Oponeo.pl.IShopService.set_defaultFailedCallback = function(value) { Oponeo.pl.IShopService._staticInstance.set_defaultFailedCallback(value); }
Oponeo.pl.IShopService.get_defaultFailedCallback = function() { return Oponeo.pl.IShopService._staticInstance.get_defaultFailedCallback(); }
Oponeo.pl.IShopService.set_enableJsonp = function(value) { Oponeo.pl.IShopService._staticInstance.set_enableJsonp(value); }
Oponeo.pl.IShopService.get_enableJsonp = function() { return Oponeo.pl.IShopService._staticInstance.get_enableJsonp(); }
Oponeo.pl.IShopService.set_jsonpCallbackParameter = function(value) { Oponeo.pl.IShopService._staticInstance.set_jsonpCallbackParameter(value); }
Oponeo.pl.IShopService.get_jsonpCallbackParameter = function() { return Oponeo.pl.IShopService._staticInstance.get_jsonpCallbackParameter(); }
Oponeo.pl.IShopService.set_path("http://www.oponeo.pl/WS/ShopService.svc");
Oponeo.pl.IShopService.GetCarImagePath= function(markID,carID,body,generation,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetCarImagePath(markID,carID,body,generation,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForProducersSelection= function(producersSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForProducersSelection(producersSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForDesignatedProducersSelection= function(producers,producersSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForDesignatedProducersSelection(producers,producersSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForVehicleTypesSelection= function(vehicleTypesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForVehicleTypesSelection(vehicleTypesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForDesignatedVehicleTypesSelection= function(vehicleTypes,vehicleTypesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForDesignatedVehicleTypesSelection(vehicleTypes,vehicleTypesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForSpeedIndexesSelection= function(speedIndexesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForSpeedIndexesSelection(speedIndexesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForDesignatedSpeedIndexesSelection= function(speedIndexes,speedIndexesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForDesignatedSpeedIndexesSelection(speedIndexes,speedIndexesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForLoadIndexesSelection= function(loadIndexesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForLoadIndexesSelection(loadIndexesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForDesignatedLoadIndexesSelection= function(loadIndexes,loadIndexesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForDesignatedLoadIndexesSelection(loadIndexes,loadIndexesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForSeasonsSelection= function(seasonsSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForSeasonsSelection(seasonsSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForDesignatedSeasonsSelection= function(seasons,seasonsSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForDesignatedSeasonsSelection(seasons,seasonsSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForAxleSelection= function(axlesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForAxleSelection(axlesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForDesignatedAxleSelection= function(axles,axlesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForDesignatedAxleSelection(axles,axlesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForTireUseSelection= function(tireUseSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForTireUseSelection(tireUseSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetDescriptionForDesignatedTireUseSelection= function(tireUses,tireUsesSelection,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetDescriptionForDesignatedTireUseSelection(tireUses,tireUsesSelection,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetTireParametersProductCount= function(sizeIds,producerIds,vehicleTypeIds,speedIxIds,loadIxIds,seasonIds,isReinforced,isRunOnFlat,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetTireParametersProductCount(sizeIds,producerIds,vehicleTypeIds,speedIxIds,loadIxIds,seasonIds,isReinforced,isRunOnFlat,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetTireRatios= function(productKindId,vehicleKind,tireWidth,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetTireRatios(productKindId,vehicleKind,tireWidth,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetTireDiameters= function(productKindId,vehicleKind,tireWidth,tireRatio,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetTireDiameters(productKindId,vehicleKind,tireWidth,tireRatio,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetValidationStatus= function(orderNumber,name,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetValidationStatus(orderNumber,name,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.GetOrder= function(orderNumber,name,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.GetOrder(orderNumber,name,onSuccess,onFailed,userContext); }
Oponeo.pl.IShopService.SavePreOrderInformation= function(name,surname,phoneNumber,email,onSuccess,onFailed,userContext) {Oponeo.pl.IShopService._staticInstance.SavePreOrderInformation(name,surname,phoneNumber,email,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Oponeo.pl.WS');
if (typeof(Oponeo.pl.WS.ProducerDC) === 'undefined') {
Oponeo.pl.WS.ProducerDC=gtc("ProducerDC:http://schemas.datacontract.org/2004/07/Oponeo.pl.WS");
Oponeo.pl.WS.ProducerDC.registerClass('Oponeo.pl.WS.ProducerDC');
}
if (typeof(Oponeo.pl.WS.VehicleTypeDC) === 'undefined') {
Oponeo.pl.WS.VehicleTypeDC=gtc("VehicleTypeDC:http://schemas.datacontract.org/2004/07/Oponeo.pl.WS");
Oponeo.pl.WS.VehicleTypeDC.registerClass('Oponeo.pl.WS.VehicleTypeDC');
}
if (typeof(Oponeo.pl.WS.SpeedIndexDC) === 'undefined') {
Oponeo.pl.WS.SpeedIndexDC=gtc("SpeedIndexDC:http://schemas.datacontract.org/2004/07/Oponeo.pl.WS");
Oponeo.pl.WS.SpeedIndexDC.registerClass('Oponeo.pl.WS.SpeedIndexDC');
}
if (typeof(Oponeo.pl.WS.LoadIndexDC) === 'undefined') {
Oponeo.pl.WS.LoadIndexDC=gtc("LoadIndexDC:http://schemas.datacontract.org/2004/07/Oponeo.pl.WS");
Oponeo.pl.WS.LoadIndexDC.registerClass('Oponeo.pl.WS.LoadIndexDC');
}
if (typeof(Oponeo.pl.WS.SeasonDC) === 'undefined') {
Oponeo.pl.WS.SeasonDC=gtc("SeasonDC:http://schemas.datacontract.org/2004/07/Oponeo.pl.WS");
Oponeo.pl.WS.SeasonDC.registerClass('Oponeo.pl.WS.SeasonDC');
}
if (typeof(Oponeo.pl.WS.AxleDC) === 'undefined') {
Oponeo.pl.WS.AxleDC=gtc("AxleDC:http://schemas.datacontract.org/2004/07/Oponeo.pl.WS");
Oponeo.pl.WS.AxleDC.registerClass('Oponeo.pl.WS.AxleDC');
}
if (typeof(Oponeo.pl.WS.TireUseDC) === 'undefined') {
Oponeo.pl.WS.TireUseDC=gtc("TireUseDC:http://schemas.datacontract.org/2004/07/Oponeo.pl.WS");
Oponeo.pl.WS.TireUseDC.registerClass('Oponeo.pl.WS.TireUseDC');
}
if (typeof(Oponeo.pl.WS.OrderDC) === 'undefined') {
Oponeo.pl.WS.OrderDC=gtc("OrderDC:http://schemas.datacontract.org/2004/07/Oponeo.pl.WS");
Oponeo.pl.WS.OrderDC.registerClass('Oponeo.pl.WS.OrderDC');
}

