Type.registerNamespace('iSoccer.UI.WebService');
iSoccer.UI.WebService.StoreService=function() {
iSoccer.UI.WebService.StoreService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
iSoccer.UI.WebService.StoreService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return iSoccer.UI.WebService.StoreService._staticInstance.get_path();},
AddSessionToCart:function(SessionId,succeededCallback, failedCallback, userContext) {
/// <param name="SessionId" 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(), 'AddSessionToCart',false,{SessionId:SessionId},succeededCallback,failedCallback,userContext); },
AddPackageToCart:function(PackageId,succeededCallback, failedCallback, userContext) {
/// <param name="PackageId" 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(), 'AddPackageToCart',false,{PackageId:PackageId},succeededCallback,failedCallback,userContext); },
RemoveCartItem:function(ItemId,succeededCallback, failedCallback, userContext) {
/// <param name="ItemId" 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(), 'RemoveCartItem',false,{ItemId:ItemId},succeededCallback,failedCallback,userContext); },
ClearShoppingCart: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(), 'ClearShoppingCart',false,{},succeededCallback,failedCallback,userContext); },
ShoppingCart_Get:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="ComponentArt.Web.UI.GridWebServiceSelectRequest">ComponentArt.Web.UI.GridWebServiceSelectRequest</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(), 'ShoppingCart_Get',false,{request:request},succeededCallback,failedCallback,userContext); },
DoCurrencyConversion:function(FromCurrency,ToCurrency,succeededCallback, failedCallback, userContext) {
/// <param name="FromCurrency" type="String">System.String</param>
/// <param name="ToCurrency" 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(), 'DoCurrencyConversion',false,{FromCurrency:FromCurrency,ToCurrency:ToCurrency},succeededCallback,failedCallback,userContext); }}
iSoccer.UI.WebService.StoreService.registerClass('iSoccer.UI.WebService.StoreService',Sys.Net.WebServiceProxy);
iSoccer.UI.WebService.StoreService._staticInstance = new iSoccer.UI.WebService.StoreService();
iSoccer.UI.WebService.StoreService.set_path = function(value) {
iSoccer.UI.WebService.StoreService._staticInstance.set_path(value); }
iSoccer.UI.WebService.StoreService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return iSoccer.UI.WebService.StoreService._staticInstance.get_path();}
iSoccer.UI.WebService.StoreService.set_timeout = function(value) {
iSoccer.UI.WebService.StoreService._staticInstance.set_timeout(value); }
iSoccer.UI.WebService.StoreService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return iSoccer.UI.WebService.StoreService._staticInstance.get_timeout(); }
iSoccer.UI.WebService.StoreService.set_defaultUserContext = function(value) { 
iSoccer.UI.WebService.StoreService._staticInstance.set_defaultUserContext(value); }
iSoccer.UI.WebService.StoreService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return iSoccer.UI.WebService.StoreService._staticInstance.get_defaultUserContext(); }
iSoccer.UI.WebService.StoreService.set_defaultSucceededCallback = function(value) { 
 iSoccer.UI.WebService.StoreService._staticInstance.set_defaultSucceededCallback(value); }
iSoccer.UI.WebService.StoreService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return iSoccer.UI.WebService.StoreService._staticInstance.get_defaultSucceededCallback(); }
iSoccer.UI.WebService.StoreService.set_defaultFailedCallback = function(value) { 
iSoccer.UI.WebService.StoreService._staticInstance.set_defaultFailedCallback(value); }
iSoccer.UI.WebService.StoreService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return iSoccer.UI.WebService.StoreService._staticInstance.get_defaultFailedCallback(); }
iSoccer.UI.WebService.StoreService.set_path("/WebService/StoreService.asmx");
iSoccer.UI.WebService.StoreService.AddSessionToCart= function(SessionId,onSuccess,onFailed,userContext) {
/// <param name="SessionId" 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>
iSoccer.UI.WebService.StoreService._staticInstance.AddSessionToCart(SessionId,onSuccess,onFailed,userContext); }
iSoccer.UI.WebService.StoreService.AddPackageToCart= function(PackageId,onSuccess,onFailed,userContext) {
/// <param name="PackageId" 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>
iSoccer.UI.WebService.StoreService._staticInstance.AddPackageToCart(PackageId,onSuccess,onFailed,userContext); }
iSoccer.UI.WebService.StoreService.RemoveCartItem= function(ItemId,onSuccess,onFailed,userContext) {
/// <param name="ItemId" 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>
iSoccer.UI.WebService.StoreService._staticInstance.RemoveCartItem(ItemId,onSuccess,onFailed,userContext); }
iSoccer.UI.WebService.StoreService.ClearShoppingCart= 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>
iSoccer.UI.WebService.StoreService._staticInstance.ClearShoppingCart(onSuccess,onFailed,userContext); }
iSoccer.UI.WebService.StoreService.ShoppingCart_Get= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="ComponentArt.Web.UI.GridWebServiceSelectRequest">ComponentArt.Web.UI.GridWebServiceSelectRequest</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>
iSoccer.UI.WebService.StoreService._staticInstance.ShoppingCart_Get(request,onSuccess,onFailed,userContext); }
iSoccer.UI.WebService.StoreService.DoCurrencyConversion= function(FromCurrency,ToCurrency,onSuccess,onFailed,userContext) {
/// <param name="FromCurrency" type="String">System.String</param>
/// <param name="ToCurrency" 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>
iSoccer.UI.WebService.StoreService._staticInstance.DoCurrencyConversion(FromCurrency,ToCurrency,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('ComponentArt.Web.UI');
if (typeof(ComponentArt.Web.UI.GridWebServiceSelectRequest) === 'undefined') {
ComponentArt.Web.UI.GridWebServiceSelectRequest=gtc("ComponentArt.Web.UI.GridWebServiceSelectRequest");
ComponentArt.Web.UI.GridWebServiceSelectRequest.registerClass('ComponentArt.Web.UI.GridWebServiceSelectRequest');
}
if (typeof(ComponentArt.Web.UI.GridWebServiceSelectResponse) === 'undefined') {
ComponentArt.Web.UI.GridWebServiceSelectResponse=gtc("ComponentArt.Web.UI.GridWebServiceSelectResponse");
ComponentArt.Web.UI.GridWebServiceSelectResponse.registerClass('ComponentArt.Web.UI.GridWebServiceSelectResponse');
}
