Type.registerNamespace('Govolo');
Govolo.WebService=function() {
Govolo.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Govolo.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Govolo.WebService._staticInstance.get_path();},
getJsonPromosForMinuteFlights:function(marketCde,lng,succeededCallback, failedCallback, userContext) {
/// <param name="marketCde" type="String">System.String</param>
/// <param name="lng" 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(), 'getJsonPromosForMinuteFlights',false,{marketCde:marketCde,lng:lng},succeededCallback,failedCallback,userContext); },
getJsonZonesForIata:function(p_iata,lng,succeededCallback, failedCallback, userContext) {
/// <param name="p_iata" type="String">System.String</param>
/// <param name="lng" 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(), 'getJsonZonesForIata',false,{p_iata:p_iata,lng:lng},succeededCallback,failedCallback,userContext); },
getJsonPromosForZone:function(p_iata,p_zone,lng,succeededCallback, failedCallback, userContext) {
/// <param name="p_iata" type="String">System.String</param>
/// <param name="p_zone" type="Number">System.Int32</param>
/// <param name="lng" 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(), 'getJsonPromosForZone',false,{p_iata:p_iata,p_zone:p_zone,lng:lng},succeededCallback,failedCallback,userContext); }}
Govolo.WebService.registerClass('Govolo.WebService',Sys.Net.WebServiceProxy);
Govolo.WebService._staticInstance = new Govolo.WebService();
Govolo.WebService.set_path = function(value) {
Govolo.WebService._staticInstance.set_path(value); }
Govolo.WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Govolo.WebService._staticInstance.get_path();}
Govolo.WebService.set_timeout = function(value) {
Govolo.WebService._staticInstance.set_timeout(value); }
Govolo.WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Govolo.WebService._staticInstance.get_timeout(); }
Govolo.WebService.set_defaultUserContext = function(value) { 
Govolo.WebService._staticInstance.set_defaultUserContext(value); }
Govolo.WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Govolo.WebService._staticInstance.get_defaultUserContext(); }
Govolo.WebService.set_defaultSucceededCallback = function(value) { 
 Govolo.WebService._staticInstance.set_defaultSucceededCallback(value); }
Govolo.WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Govolo.WebService._staticInstance.get_defaultSucceededCallback(); }
Govolo.WebService.set_defaultFailedCallback = function(value) { 
Govolo.WebService._staticInstance.set_defaultFailedCallback(value); }
Govolo.WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Govolo.WebService._staticInstance.get_defaultFailedCallback(); }
Govolo.WebService.set_path("/WebService.asmx");
Govolo.WebService.getJsonPromosForMinuteFlights= function(marketCde,lng,onSuccess,onFailed,userContext) {
/// <param name="marketCde" type="String">System.String</param>
/// <param name="lng" 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>
Govolo.WebService._staticInstance.getJsonPromosForMinuteFlights(marketCde,lng,onSuccess,onFailed,userContext); }
Govolo.WebService.getJsonZonesForIata= function(p_iata,lng,onSuccess,onFailed,userContext) {
/// <param name="p_iata" type="String">System.String</param>
/// <param name="lng" 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>
Govolo.WebService._staticInstance.getJsonZonesForIata(p_iata,lng,onSuccess,onFailed,userContext); }
Govolo.WebService.getJsonPromosForZone= function(p_iata,p_zone,lng,onSuccess,onFailed,userContext) {
/// <param name="p_iata" type="String">System.String</param>
/// <param name="p_zone" type="Number">System.Int32</param>
/// <param name="lng" 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>
Govolo.WebService._staticInstance.getJsonPromosForZone(p_iata,p_zone,lng,onSuccess,onFailed,userContext); }
