Type.registerNamespace('Paaro.Etrips.WebServices');
Paaro.Etrips.WebServices.EtripsWebService=function() {
Paaro.Etrips.WebServices.EtripsWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Paaro.Etrips.WebServices.EtripsWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Paaro.Etrips.WebServices.EtripsWebService._staticInstance.get_path();},
GetInquiryByID:function(p_InquiryID,succeededCallback, failedCallback, userContext) {
/// <param name="p_InquiryID" 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(), 'GetInquiryByID',false,{p_InquiryID:p_InquiryID},succeededCallback,failedCallback,userContext); },
GetAccommodationTypes:function(p_LangLocaleString,succeededCallback, failedCallback, userContext) {
/// <param name="p_LangLocaleString" 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(), 'GetAccommodationTypes',false,{p_LangLocaleString:p_LangLocaleString},succeededCallback,failedCallback,userContext); },
GetRegions:function(p_LangLocaleString,succeededCallback, failedCallback, userContext) {
/// <param name="p_LangLocaleString" 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(), 'GetRegions',false,{p_LangLocaleString:p_LangLocaleString},succeededCallback,failedCallback,userContext); },
GetSubRegions:function(p_LangLocaleString,p_RegionId,succeededCallback, failedCallback, userContext) {
/// <param name="p_LangLocaleString" type="String">System.String</param>
/// <param name="p_RegionId" 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(), 'GetSubRegions',false,{p_LangLocaleString:p_LangLocaleString,p_RegionId:p_RegionId},succeededCallback,failedCallback,userContext); },
GetCommunities:function(p_LangLocaleString,p_RegionId,p_SubRegionId,succeededCallback, failedCallback, userContext) {
/// <param name="p_LangLocaleString" type="String">System.String</param>
/// <param name="p_RegionId" type="String">System.String</param>
/// <param name="p_SubRegionId" 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(), 'GetCommunities',false,{p_LangLocaleString:p_LangLocaleString,p_RegionId:p_RegionId,p_SubRegionId:p_SubRegionId},succeededCallback,failedCallback,userContext); },
GetCities:function(p_LangLocaleString,p_CommunityId,succeededCallback, failedCallback, userContext) {
/// <param name="p_LangLocaleString" type="String">System.String</param>
/// <param name="p_CommunityId" 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(), 'GetCities',false,{p_LangLocaleString:p_LangLocaleString,p_CommunityId:p_CommunityId},succeededCallback,failedCallback,userContext); },
GetParentGeoId:function(p_GeoId,succeededCallback, failedCallback, userContext) {
/// <param name="p_GeoId" 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(), 'GetParentGeoId',false,{p_GeoId:p_GeoId},succeededCallback,failedCallback,userContext); }}
Paaro.Etrips.WebServices.EtripsWebService.registerClass('Paaro.Etrips.WebServices.EtripsWebService',Sys.Net.WebServiceProxy);
Paaro.Etrips.WebServices.EtripsWebService._staticInstance = new Paaro.Etrips.WebServices.EtripsWebService();
Paaro.Etrips.WebServices.EtripsWebService.set_path = function(value) {
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.set_path(value); }
Paaro.Etrips.WebServices.EtripsWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Paaro.Etrips.WebServices.EtripsWebService._staticInstance.get_path();}
Paaro.Etrips.WebServices.EtripsWebService.set_timeout = function(value) {
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.set_timeout(value); }
Paaro.Etrips.WebServices.EtripsWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Paaro.Etrips.WebServices.EtripsWebService._staticInstance.get_timeout(); }
Paaro.Etrips.WebServices.EtripsWebService.set_defaultUserContext = function(value) { 
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.set_defaultUserContext(value); }
Paaro.Etrips.WebServices.EtripsWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Paaro.Etrips.WebServices.EtripsWebService._staticInstance.get_defaultUserContext(); }
Paaro.Etrips.WebServices.EtripsWebService.set_defaultSucceededCallback = function(value) { 
 Paaro.Etrips.WebServices.EtripsWebService._staticInstance.set_defaultSucceededCallback(value); }
Paaro.Etrips.WebServices.EtripsWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Paaro.Etrips.WebServices.EtripsWebService._staticInstance.get_defaultSucceededCallback(); }
Paaro.Etrips.WebServices.EtripsWebService.set_defaultFailedCallback = function(value) { 
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.set_defaultFailedCallback(value); }
Paaro.Etrips.WebServices.EtripsWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Paaro.Etrips.WebServices.EtripsWebService._staticInstance.get_defaultFailedCallback(); }
Paaro.Etrips.WebServices.EtripsWebService.set_path("/main/EtripsWebService.asmx");
Paaro.Etrips.WebServices.EtripsWebService.GetInquiryByID= function(p_InquiryID,onSuccess,onFailed,userContext) {
/// <param name="p_InquiryID" 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>
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.GetInquiryByID(p_InquiryID,onSuccess,onFailed,userContext); }
Paaro.Etrips.WebServices.EtripsWebService.GetAccommodationTypes= function(p_LangLocaleString,onSuccess,onFailed,userContext) {
/// <param name="p_LangLocaleString" 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>
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.GetAccommodationTypes(p_LangLocaleString,onSuccess,onFailed,userContext); }
Paaro.Etrips.WebServices.EtripsWebService.GetRegions= function(p_LangLocaleString,onSuccess,onFailed,userContext) {
/// <param name="p_LangLocaleString" 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>
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.GetRegions(p_LangLocaleString,onSuccess,onFailed,userContext); }
Paaro.Etrips.WebServices.EtripsWebService.GetSubRegions= function(p_LangLocaleString,p_RegionId,onSuccess,onFailed,userContext) {
/// <param name="p_LangLocaleString" type="String">System.String</param>
/// <param name="p_RegionId" 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>
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.GetSubRegions(p_LangLocaleString,p_RegionId,onSuccess,onFailed,userContext); }
Paaro.Etrips.WebServices.EtripsWebService.GetCommunities= function(p_LangLocaleString,p_RegionId,p_SubRegionId,onSuccess,onFailed,userContext) {
/// <param name="p_LangLocaleString" type="String">System.String</param>
/// <param name="p_RegionId" type="String">System.String</param>
/// <param name="p_SubRegionId" 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>
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.GetCommunities(p_LangLocaleString,p_RegionId,p_SubRegionId,onSuccess,onFailed,userContext); }
Paaro.Etrips.WebServices.EtripsWebService.GetCities= function(p_LangLocaleString,p_CommunityId,onSuccess,onFailed,userContext) {
/// <param name="p_LangLocaleString" type="String">System.String</param>
/// <param name="p_CommunityId" 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>
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.GetCities(p_LangLocaleString,p_CommunityId,onSuccess,onFailed,userContext); }
Paaro.Etrips.WebServices.EtripsWebService.GetParentGeoId= function(p_GeoId,onSuccess,onFailed,userContext) {
/// <param name="p_GeoId" 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>
Paaro.Etrips.WebServices.EtripsWebService._staticInstance.GetParentGeoId(p_GeoId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Paaro.Etrips.Common');
if (typeof(Paaro.Etrips.Common.ComboItem) === 'undefined') {
Paaro.Etrips.Common.ComboItem=gtc("Paaro.Etrips.Common.ComboItem");
Paaro.Etrips.Common.ComboItem.registerClass('Paaro.Etrips.Common.ComboItem');
}
