var serviceGetContent=function() {
serviceGetContent.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
serviceGetContent.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return serviceGetContent._staticInstance.get_path();},
GetPhoneGallery:function(phoneId,succeededCallback, failedCallback, userContext) {
/// <param name="phoneId" 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(), 'GetPhoneGallery',false,{phoneId:phoneId},succeededCallback,failedCallback,userContext); },
GetPhoneTooltip:function(phoneId,succeededCallback, failedCallback, userContext) {
/// <param name="phoneId" 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(), 'GetPhoneTooltip',false,{phoneId:phoneId},succeededCallback,failedCallback,userContext); },
GetPhonesByBrand:function(brand,style,prefs,succeededCallback, failedCallback, userContext) {
/// <param name="brand" type="String">System.String</param>
/// <param name="style" type="String">System.String</param>
/// <param name="prefs" 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(), 'GetPhonesByBrand',false,{brand:brand,style:style,prefs:prefs},succeededCallback,failedCallback,userContext); },
GetPlansByProvider:function(providers,brand,plan,page,hidePhones,succeededCallback, failedCallback, userContext) {
/// <param name="providers" type="String">System.String</param>
/// <param name="brand" type="String">System.String</param>
/// <param name="plan" type="String">System.String</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="hidePhones" 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(), 'GetPlansByProvider',false,{providers:providers,brand:brand,plan:plan,page:page,hidePhones:hidePhones},succeededCallback,failedCallback,userContext); },
GetPlansByProviderWithSpecificPhone:function(providers,brand,plan,page,specificPhoneId,hidePhones,succeededCallback, failedCallback, userContext) {
/// <param name="providers" type="String">System.String</param>
/// <param name="brand" type="String">System.String</param>
/// <param name="plan" type="String">System.String</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="specificPhoneId" type="String">System.String</param>
/// <param name="hidePhones" 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(), 'GetPlansByProviderWithSpecificPhone',false,{providers:providers,brand:brand,plan:plan,page:page,specificPhoneId:specificPhoneId,hidePhones:hidePhones},succeededCallback,failedCallback,userContext); },
GetHotPlans:function(type,succeededCallback, failedCallback, userContext) {
/// <param name="type" 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(), 'GetHotPlans',false,{type:type},succeededCallback,failedCallback,userContext); },
RegisterClickout:function(offerId,phoneId,succeededCallback, failedCallback, userContext) {
/// <param name="offerId" type="String">System.String</param>
/// <param name="phoneId" 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(), 'RegisterClickout',false,{offerId:offerId,phoneId:phoneId},succeededCallback,failedCallback,userContext); }}
serviceGetContent.registerClass('serviceGetContent',Sys.Net.WebServiceProxy);
serviceGetContent._staticInstance = new serviceGetContent();
serviceGetContent.set_path = function(value) {
serviceGetContent._staticInstance.set_path(value); }
serviceGetContent.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return serviceGetContent._staticInstance.get_path();}
serviceGetContent.set_timeout = function(value) {
serviceGetContent._staticInstance.set_timeout(value); }
serviceGetContent.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return serviceGetContent._staticInstance.get_timeout(); }
serviceGetContent.set_defaultUserContext = function(value) { 
serviceGetContent._staticInstance.set_defaultUserContext(value); }
serviceGetContent.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return serviceGetContent._staticInstance.get_defaultUserContext(); }
serviceGetContent.set_defaultSucceededCallback = function(value) { 
 serviceGetContent._staticInstance.set_defaultSucceededCallback(value); }
serviceGetContent.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return serviceGetContent._staticInstance.get_defaultSucceededCallback(); }
serviceGetContent.set_defaultFailedCallback = function(value) { 
serviceGetContent._staticInstance.set_defaultFailedCallback(value); }
serviceGetContent.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return serviceGetContent._staticInstance.get_defaultFailedCallback(); }
serviceGetContent.set_path("/App_Services/serviceGetContent.asmx");
serviceGetContent.GetPhoneGallery= function(phoneId,onSuccess,onFailed,userContext) {
/// <param name="phoneId" 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>
serviceGetContent._staticInstance.GetPhoneGallery(phoneId,onSuccess,onFailed,userContext); }
serviceGetContent.GetPhoneTooltip= function(phoneId,onSuccess,onFailed,userContext) {
/// <param name="phoneId" 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>
serviceGetContent._staticInstance.GetPhoneTooltip(phoneId,onSuccess,onFailed,userContext); }
serviceGetContent.GetPhonesByBrand= function(brand,style,prefs,onSuccess,onFailed,userContext) {
/// <param name="brand" type="String">System.String</param>
/// <param name="style" type="String">System.String</param>
/// <param name="prefs" 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>
serviceGetContent._staticInstance.GetPhonesByBrand(brand,style,prefs,onSuccess,onFailed,userContext); }
serviceGetContent.GetPlansByProvider= function(providers,brand,plan,page,hidePhones,onSuccess,onFailed,userContext) {
/// <param name="providers" type="String">System.String</param>
/// <param name="brand" type="String">System.String</param>
/// <param name="plan" type="String">System.String</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="hidePhones" 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>
serviceGetContent._staticInstance.GetPlansByProvider(providers,brand,plan,page,hidePhones,onSuccess,onFailed,userContext); }
serviceGetContent.GetPlansByProviderWithSpecificPhone= function(providers,brand,plan,page,specificPhoneId,hidePhones,onSuccess,onFailed,userContext) {
/// <param name="providers" type="String">System.String</param>
/// <param name="brand" type="String">System.String</param>
/// <param name="plan" type="String">System.String</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="specificPhoneId" type="String">System.String</param>
/// <param name="hidePhones" 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>
serviceGetContent._staticInstance.GetPlansByProviderWithSpecificPhone(providers,brand,plan,page,specificPhoneId,hidePhones,onSuccess,onFailed,userContext); }
serviceGetContent.GetHotPlans= function(type,onSuccess,onFailed,userContext) {
/// <param name="type" 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>
serviceGetContent._staticInstance.GetHotPlans(type,onSuccess,onFailed,userContext); }
serviceGetContent.RegisterClickout= function(offerId,phoneId,onSuccess,onFailed,userContext) {
/// <param name="offerId" type="String">System.String</param>
/// <param name="phoneId" 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>
serviceGetContent._staticInstance.RegisterClickout(offerId,phoneId,onSuccess,onFailed,userContext); }
