Type.registerNamespace('DealerWebsites');
DealerWebsites.DealerWebService=function() {
DealerWebsites.DealerWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DealerWebsites.DealerWebService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(DealerWebsites.DealerWebService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetCustomer:function(succeededCallback, failedCallback, userContext) {
return this._invoke(DealerWebsites.DealerWebService.get_path(), 'GetCustomer',false,{},succeededCallback,failedCallback,userContext); },
GetInventoryPaging:function(params,sort,succeededCallback, failedCallback, userContext) {
return this._invoke(DealerWebsites.DealerWebService.get_path(), 'GetInventoryPaging',false,{params:params,sort:sort},succeededCallback,failedCallback,userContext); },
GetInventoryObj:function(intDealerID,newPage,vtype,vtypeExclude,Stock,LotId,succeededCallback, failedCallback, userContext) {
return this._invoke(DealerWebsites.DealerWebService.get_path(), 'GetInventoryObj',false,{intDealerID:intDealerID,newPage:newPage,vtype:vtype,vtypeExclude:vtypeExclude,Stock:Stock,LotId:LotId},succeededCallback,failedCallback,userContext); },
SendMailAFriend:function(objCustomer,objMailAFriend,succeededCallback, failedCallback, userContext) {
return this._invoke(DealerWebsites.DealerWebService.get_path(), 'SendMailAFriend',false,{objCustomer:objCustomer,objMailAFriend:objMailAFriend},succeededCallback,failedCallback,userContext); },
SendMailDealer:function(objCustomer,objContactUs,succeededCallback, failedCallback, userContext) {
return this._invoke(DealerWebsites.DealerWebService.get_path(), 'SendMailDealer',false,{objCustomer:objCustomer,objContactUs:objContactUs},succeededCallback,failedCallback,userContext); }}
DealerWebsites.DealerWebService.registerClass('DealerWebsites.DealerWebService',Sys.Net.WebServiceProxy);
DealerWebsites.DealerWebService._staticInstance = new DealerWebsites.DealerWebService();
DealerWebsites.DealerWebService.set_path = function(value) { DealerWebsites.DealerWebService._staticInstance._path = value; }
DealerWebsites.DealerWebService.get_path = function() { return DealerWebsites.DealerWebService._staticInstance._path; }
DealerWebsites.DealerWebService.set_timeout = function(value) { DealerWebsites.DealerWebService._staticInstance._timeout = value; }
DealerWebsites.DealerWebService.get_timeout = function() { return DealerWebsites.DealerWebService._staticInstance._timeout; }
DealerWebsites.DealerWebService.set_defaultUserContext = function(value) { DealerWebsites.DealerWebService._staticInstance._userContext = value; }
DealerWebsites.DealerWebService.get_defaultUserContext = function() { return DealerWebsites.DealerWebService._staticInstance._userContext; }
DealerWebsites.DealerWebService.set_defaultSucceededCallback = function(value) { DealerWebsites.DealerWebService._staticInstance._succeeded = value; }
DealerWebsites.DealerWebService.get_defaultSucceededCallback = function() { return DealerWebsites.DealerWebService._staticInstance._succeeded; }
DealerWebsites.DealerWebService.set_defaultFailedCallback = function(value) { DealerWebsites.DealerWebService._staticInstance._failed = value; }
DealerWebsites.DealerWebService.get_defaultFailedCallback = function() { return DealerWebsites.DealerWebService._staticInstance._failed; }
DealerWebsites.DealerWebService.set_path("/0/DealerWebLib/DealerWebService.asmx");
DealerWebsites.DealerWebService.HelloWorld= function(onSuccess,onFailed,userContext) {DealerWebsites.DealerWebService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
DealerWebsites.DealerWebService.GetCustomer= function(onSuccess,onFailed,userContext) {DealerWebsites.DealerWebService._staticInstance.GetCustomer(onSuccess,onFailed,userContext); }
DealerWebsites.DealerWebService.GetInventoryPaging= function(params,sort,onSuccess,onFailed,userContext) {DealerWebsites.DealerWebService._staticInstance.GetInventoryPaging(params,sort,onSuccess,onFailed,userContext); }
DealerWebsites.DealerWebService.GetInventoryObj= function(intDealerID,newPage,vtype,vtypeExclude,Stock,LotId,onSuccess,onFailed,userContext) {DealerWebsites.DealerWebService._staticInstance.GetInventoryObj(intDealerID,newPage,vtype,vtypeExclude,Stock,LotId,onSuccess,onFailed,userContext); }
DealerWebsites.DealerWebService.SendMailAFriend= function(objCustomer,objMailAFriend,onSuccess,onFailed,userContext) {DealerWebsites.DealerWebService._staticInstance.SendMailAFriend(objCustomer,objMailAFriend,onSuccess,onFailed,userContext); }
DealerWebsites.DealerWebService.SendMailDealer= function(objCustomer,objContactUs,onSuccess,onFailed,userContext) {DealerWebsites.DealerWebService._staticInstance.SendMailDealer(objCustomer,objContactUs,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(DealerWebsites.DealerWebLib_Customer) === 'undefined') {
DealerWebsites.DealerWebLib_Customer=gtc("DealerWebsites.DealerWebLib_Customer");
DealerWebsites.DealerWebLib_Customer.registerClass('DealerWebsites.DealerWebLib_Customer');
}
if (typeof(DealerWebsites.DealerWebLib_ContactUs) === 'undefined') {
DealerWebsites.DealerWebLib_ContactUs=gtc("DealerWebsites.DealerWebLib_ContactUs");
DealerWebsites.DealerWebLib_ContactUs.registerClass('DealerWebsites.DealerWebLib_ContactUs');
}
if (typeof(DealerWebsites.DealerWebLib_MailAFriend) === 'undefined') {
DealerWebsites.DealerWebLib_MailAFriend=gtc("DealerWebsites.DealerWebLib_MailAFriend");
DealerWebsites.DealerWebLib_MailAFriend.registerClass('DealerWebsites.DealerWebLib_MailAFriend');
}
if (typeof(DealerWebsites.DealerWebLib_InventoryPagingObj) === 'undefined') {
DealerWebsites.DealerWebLib_InventoryPagingObj=gtc("DealerWebsites.DealerWebLib_InventoryPagingObj");
DealerWebsites.DealerWebLib_InventoryPagingObj.registerClass('DealerWebsites.DealerWebLib_InventoryPagingObj');
}
if (typeof(DealerWebsites.Inventory_AdvData) === 'undefined') {
DealerWebsites.Inventory_AdvData=gtc("DealerWebsites.Inventory_AdvData");
DealerWebsites.Inventory_AdvData.registerClass('DealerWebsites.Inventory_AdvData');
}
