var PreAuthService=function() {
PreAuthService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PreAuthService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PreAuthService._staticInstance.get_path();},
DoAuthorization:function(quoteID,enterBy,preAuthSessionValue,customerPO,holdCodes,requireSecurityCode,cvv2Str,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DoAuthorization',false,{quoteID:quoteID,enterBy:enterBy,preAuthSessionValue:preAuthSessionValue,customerPO:customerPO,holdCodes:holdCodes,requireSecurityCode:requireSecurityCode,cvv2Str:cvv2Str},succeededCallback,failedCallback,userContext); }}
PreAuthService.registerClass('PreAuthService',Sys.Net.WebServiceProxy);
PreAuthService._staticInstance = new PreAuthService();
PreAuthService.set_path = function(value) { PreAuthService._staticInstance.set_path(value); }
PreAuthService.get_path = function() { return PreAuthService._staticInstance.get_path(); }
PreAuthService.set_timeout = function(value) { PreAuthService._staticInstance.set_timeout(value); }
PreAuthService.get_timeout = function() { return PreAuthService._staticInstance.get_timeout(); }
PreAuthService.set_defaultUserContext = function(value) { PreAuthService._staticInstance.set_defaultUserContext(value); }
PreAuthService.get_defaultUserContext = function() { return PreAuthService._staticInstance.get_defaultUserContext(); }
PreAuthService.set_defaultSucceededCallback = function(value) { PreAuthService._staticInstance.set_defaultSucceededCallback(value); }
PreAuthService.get_defaultSucceededCallback = function() { return PreAuthService._staticInstance.get_defaultSucceededCallback(); }
PreAuthService.set_defaultFailedCallback = function(value) { PreAuthService._staticInstance.set_defaultFailedCallback(value); }
PreAuthService.get_defaultFailedCallback = function() { return PreAuthService._staticInstance.get_defaultFailedCallback(); }
PreAuthService.set_path("/WebService/PreAuthService.asmx");
PreAuthService.DoAuthorization= function(quoteID,enterBy,preAuthSessionValue,customerPO,holdCodes,requireSecurityCode,cvv2Str,onSuccess,onFailed,userContext) {PreAuthService._staticInstance.DoAuthorization(quoteID,enterBy,preAuthSessionValue,customerPO,holdCodes,requireSecurityCode,cvv2Str,onSuccess,onFailed,userContext); }

