var SalesProvider=function() {
SalesProvider.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SalesProvider.prototype={
SPIPNConfirm:function(SessionID,UserName,reqID,succeededCallback, failedCallback, userContext) {
return this._invoke(SalesProvider.get_path(), 'SPIPNConfirm',true,{SessionID:SessionID,UserName:UserName,reqID:reqID},succeededCallback,failedCallback,userContext); },
PostOrder:function(isCancel,year,make,model,succeededCallback, failedCallback, userContext) {
return this._invoke(SalesProvider.get_path(), 'PostOrder',true,{isCancel:isCancel,year:year,make:make,model:model},succeededCallback,failedCallback,userContext); }}
SalesProvider.registerClass('SalesProvider',Sys.Net.WebServiceProxy);
SalesProvider._staticInstance = new SalesProvider();
SalesProvider.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; SalesProvider._staticInstance._path = value; }
SalesProvider.get_path = function() { return SalesProvider._staticInstance._path; }
SalesProvider.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); }
SalesProvider._staticInstance._timeout = value; }
SalesProvider.get_timeout = function() { 
return SalesProvider._staticInstance._timeout; }
SalesProvider.set_defaultUserContext = function(value) { 
SalesProvider._staticInstance._userContext = value; }
SalesProvider.get_defaultUserContext = function() { 
return SalesProvider._staticInstance._userContext; }
SalesProvider.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; SalesProvider._staticInstance._succeeded = value; }
SalesProvider.get_defaultSucceededCallback = function() { 
return SalesProvider._staticInstance._succeeded; }
SalesProvider.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; SalesProvider._staticInstance._failed = value; }
SalesProvider.get_defaultFailedCallback = function() { 
return SalesProvider._staticInstance._failed; }
SalesProvider.set_path("/CSAuthPubServices/SalesProvider.asmx");
SalesProvider.SPIPNConfirm= function(SessionID,UserName,reqID,onSuccess,onFailed,userContext) {SalesProvider._staticInstance.SPIPNConfirm(SessionID,UserName,reqID,onSuccess,onFailed,userContext); }
SalesProvider.PostOrder= function(isCancel,year,make,model,onSuccess,onFailed,userContext) {SalesProvider._staticInstance.PostOrder(isCancel,year,make,model,onSuccess,onFailed,userContext); }

