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