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

