Type.registerNamespace('LCPA.Web.taxestimator');
LCPA.Web.taxestimator.TaxEstimationService=function() {
LCPA.Web.taxestimator.TaxEstimationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LCPA.Web.taxestimator.TaxEstimationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return LCPA.Web.taxestimator.TaxEstimationService._staticInstance.get_path();},
CalculateTaxes:function(salePrice,oldAssessed,oldMarket,actualMillage,schoolMillage,succeededCallback, failedCallback, userContext) {
/// <param name="salePrice" type="Number">System.Decimal</param>
/// <param name="oldAssessed" type="Number">System.Decimal</param>
/// <param name="oldMarket" type="Number">System.Decimal</param>
/// <param name="actualMillage" type="Number">System.Decimal</param>
/// <param name="schoolMillage" type="Number">System.Decimal</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(), 'CalculateTaxes',false,{salePrice:salePrice,oldAssessed:oldAssessed,oldMarket:oldMarket,actualMillage:actualMillage,schoolMillage:schoolMillage},succeededCallback,failedCallback,userContext); }}
LCPA.Web.taxestimator.TaxEstimationService.registerClass('LCPA.Web.taxestimator.TaxEstimationService',Sys.Net.WebServiceProxy);
LCPA.Web.taxestimator.TaxEstimationService._staticInstance = new LCPA.Web.taxestimator.TaxEstimationService();
LCPA.Web.taxestimator.TaxEstimationService.set_path = function(value) {
LCPA.Web.taxestimator.TaxEstimationService._staticInstance.set_path(value); }
LCPA.Web.taxestimator.TaxEstimationService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return LCPA.Web.taxestimator.TaxEstimationService._staticInstance.get_path();}
LCPA.Web.taxestimator.TaxEstimationService.set_timeout = function(value) {
LCPA.Web.taxestimator.TaxEstimationService._staticInstance.set_timeout(value); }
LCPA.Web.taxestimator.TaxEstimationService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return LCPA.Web.taxestimator.TaxEstimationService._staticInstance.get_timeout(); }
LCPA.Web.taxestimator.TaxEstimationService.set_defaultUserContext = function(value) { 
LCPA.Web.taxestimator.TaxEstimationService._staticInstance.set_defaultUserContext(value); }
LCPA.Web.taxestimator.TaxEstimationService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return LCPA.Web.taxestimator.TaxEstimationService._staticInstance.get_defaultUserContext(); }
LCPA.Web.taxestimator.TaxEstimationService.set_defaultSucceededCallback = function(value) { 
 LCPA.Web.taxestimator.TaxEstimationService._staticInstance.set_defaultSucceededCallback(value); }
LCPA.Web.taxestimator.TaxEstimationService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return LCPA.Web.taxestimator.TaxEstimationService._staticInstance.get_defaultSucceededCallback(); }
LCPA.Web.taxestimator.TaxEstimationService.set_defaultFailedCallback = function(value) { 
LCPA.Web.taxestimator.TaxEstimationService._staticInstance.set_defaultFailedCallback(value); }
LCPA.Web.taxestimator.TaxEstimationService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return LCPA.Web.taxestimator.TaxEstimationService._staticInstance.get_defaultFailedCallback(); }
LCPA.Web.taxestimator.TaxEstimationService.set_path("/taxestimator/TaxEstimationService.asmx");
LCPA.Web.taxestimator.TaxEstimationService.CalculateTaxes= function(salePrice,oldAssessed,oldMarket,actualMillage,schoolMillage,onSuccess,onFailed,userContext) {
/// <param name="salePrice" type="Number">System.Decimal</param>
/// <param name="oldAssessed" type="Number">System.Decimal</param>
/// <param name="oldMarket" type="Number">System.Decimal</param>
/// <param name="actualMillage" type="Number">System.Decimal</param>
/// <param name="schoolMillage" type="Number">System.Decimal</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>
LCPA.Web.taxestimator.TaxEstimationService._staticInstance.CalculateTaxes(salePrice,oldAssessed,oldMarket,actualMillage,schoolMillage,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(LCPA.Web.taxestimator.CalculationResult) === 'undefined') {
LCPA.Web.taxestimator.CalculationResult=gtc("LCPA.Web.taxestimator.CalculationResult");
LCPA.Web.taxestimator.CalculationResult.registerClass('LCPA.Web.taxestimator.CalculationResult');
}

