var EmailNotificationWebService=function() {
EmailNotificationWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EmailNotificationWebService.prototype={
SaveEmail:function(Email,Zip,succeededCallback, failedCallback, userContext) {
return this._invoke(EmailNotificationWebService.get_path(), 'SaveEmail',false,{Email:Email,Zip:Zip},succeededCallback,failedCallback,userContext); }}
EmailNotificationWebService.registerClass('EmailNotificationWebService',Sys.Net.WebServiceProxy);
EmailNotificationWebService._staticInstance = new EmailNotificationWebService();
EmailNotificationWebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; EmailNotificationWebService._staticInstance._path = value; }
EmailNotificationWebService.get_path = function() { return EmailNotificationWebService._staticInstance._path; }
EmailNotificationWebService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
EmailNotificationWebService._staticInstance._timeout = value; }
EmailNotificationWebService.get_timeout = function() { 
return EmailNotificationWebService._staticInstance._timeout; }
EmailNotificationWebService.set_defaultUserContext = function(value) { 
EmailNotificationWebService._staticInstance._userContext = value; }
EmailNotificationWebService.get_defaultUserContext = function() { 
return EmailNotificationWebService._staticInstance._userContext; }
EmailNotificationWebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; EmailNotificationWebService._staticInstance._succeeded = value; }
EmailNotificationWebService.get_defaultSucceededCallback = function() { 
return EmailNotificationWebService._staticInstance._succeeded; }
EmailNotificationWebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; EmailNotificationWebService._staticInstance._failed = value; }
EmailNotificationWebService.get_defaultFailedCallback = function() { 
return EmailNotificationWebService._staticInstance._failed; }
EmailNotificationWebService.set_path("/EmailNotificationWebService.asmx");
EmailNotificationWebService.SaveEmail= function(Email,Zip,onSuccess,onFailed,userContext) {EmailNotificationWebService._staticInstance.SaveEmail(Email,Zip,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Boost.Plan.Domain');
if (typeof(Boost.Plan.Domain.EmailNotification) === 'undefined') {
Boost.Plan.Domain.EmailNotification=gtc("Boost.Plan.Domain.EmailNotification");
Boost.Plan.Domain.EmailNotification.registerClass('Boost.Plan.Domain.EmailNotification');
}
