var WebSrvBillInfo=function() {
WebSrvBillInfo.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebSrvBillInfo.prototype={
GetBillInfoByBarcode:function(barcode,succeededCallback, failedCallback, userContext) {
return this._invoke(WebSrvBillInfo.get_path(), 'GetBillInfoByBarcode',false,{barcode:barcode},succeededCallback,failedCallback,userContext); }}
WebSrvBillInfo.registerClass('WebSrvBillInfo',Sys.Net.WebServiceProxy);
WebSrvBillInfo._staticInstance = new WebSrvBillInfo();
WebSrvBillInfo.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebSrvBillInfo._staticInstance._path = value; }
WebSrvBillInfo.get_path = function() { return WebSrvBillInfo._staticInstance._path; }
WebSrvBillInfo.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); }
WebSrvBillInfo._staticInstance._timeout = value; }
WebSrvBillInfo.get_timeout = function() { 
return WebSrvBillInfo._staticInstance._timeout; }
WebSrvBillInfo.set_defaultUserContext = function(value) { 
WebSrvBillInfo._staticInstance._userContext = value; }
WebSrvBillInfo.get_defaultUserContext = function() { 
return WebSrvBillInfo._staticInstance._userContext; }
WebSrvBillInfo.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebSrvBillInfo._staticInstance._succeeded = value; }
WebSrvBillInfo.get_defaultSucceededCallback = function() { 
return WebSrvBillInfo._staticInstance._succeeded; }
WebSrvBillInfo.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebSrvBillInfo._staticInstance._failed = value; }
WebSrvBillInfo.get_defaultFailedCallback = function() { 
return WebSrvBillInfo._staticInstance._failed; }
WebSrvBillInfo.set_path("/WebService/WebSrvBillInfo.asmx");
WebSrvBillInfo.GetBillInfoByBarcode= function(barcode,onSuccess,onFailed,userContext) {WebSrvBillInfo._staticInstance.GetBillInfoByBarcode(barcode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('HTKYBYKES.Modal');
if (typeof(HTKYBYKES.Modal.BillInfo) === 'undefined') {
HTKYBYKES.Modal.BillInfo=gtc("HTKYBYKES.Modal.BillInfo");
HTKYBYKES.Modal.BillInfo.registerClass('HTKYBYKES.Modal.BillInfo');
}
