Type.registerNamespace('DaytonFreightWebsite.WebServices');
DaytonFreightWebsite.WebServices.OnTheDoubleService=function() {
DaytonFreightWebsite.WebServices.OnTheDoubleService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DaytonFreightWebsite.WebServices.OnTheDoubleService.prototype={
GetServiceOptions:function(zipcode,succeededCallback, failedCallback, userContext) {
return this._invoke(DaytonFreightWebsite.WebServices.OnTheDoubleService.get_path(), 'GetServiceOptions',false,{zipcode:zipcode},succeededCallback,failedCallback,userContext); },
GetGuaranteedServiceInformation:function(originZipcode,destinationZipcode,readyDate,succeededCallback, failedCallback, userContext) {
return this._invoke(DaytonFreightWebsite.WebServices.OnTheDoubleService.get_path(), 'GetGuaranteedServiceInformation',false,{originZipcode:originZipcode,destinationZipcode:destinationZipcode,readyDate:readyDate},succeededCallback,failedCallback,userContext); },
GetShipmentServiceOptions:function(originZipcode,destinationZipcode,succeededCallback, failedCallback, userContext) {
return this._invoke(DaytonFreightWebsite.WebServices.OnTheDoubleService.get_path(), 'GetShipmentServiceOptions',false,{originZipcode:originZipcode,destinationZipcode:destinationZipcode},succeededCallback,failedCallback,userContext); }}
DaytonFreightWebsite.WebServices.OnTheDoubleService.registerClass('DaytonFreightWebsite.WebServices.OnTheDoubleService',Sys.Net.WebServiceProxy);
DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance = new DaytonFreightWebsite.WebServices.OnTheDoubleService();
DaytonFreightWebsite.WebServices.OnTheDoubleService.set_path = function(value) { DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._path = value; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.get_path = function() { return DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._path; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.set_timeout = function(value) { DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._timeout = value; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.get_timeout = function() { return DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._timeout; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.set_defaultUserContext = function(value) { DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._userContext = value; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.get_defaultUserContext = function() { return DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._userContext; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.set_defaultSucceededCallback = function(value) { DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._succeeded = value; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.get_defaultSucceededCallback = function() { return DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._succeeded; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.set_defaultFailedCallback = function(value) { DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._failed = value; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.get_defaultFailedCallback = function() { return DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance._failed; }
DaytonFreightWebsite.WebServices.OnTheDoubleService.set_path("/ScriptServices/OnTheDoubleService.asmx");
DaytonFreightWebsite.WebServices.OnTheDoubleService.GetServiceOptions= function(zipcode,onSuccess,onFailed,userContext) {DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance.GetServiceOptions(zipcode,onSuccess,onFailed,userContext); }
DaytonFreightWebsite.WebServices.OnTheDoubleService.GetGuaranteedServiceInformation= function(originZipcode,destinationZipcode,readyDate,onSuccess,onFailed,userContext) {DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance.GetGuaranteedServiceInformation(originZipcode,destinationZipcode,readyDate,onSuccess,onFailed,userContext); }
DaytonFreightWebsite.WebServices.OnTheDoubleService.GetShipmentServiceOptions= function(originZipcode,destinationZipcode,onSuccess,onFailed,userContext) {DaytonFreightWebsite.WebServices.OnTheDoubleService._staticInstance.GetShipmentServiceOptions(originZipcode,destinationZipcode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('DaytonFreightWebsite.classes');
if (typeof(DaytonFreightWebsite.classes.GuaranteedServiceInformation) === 'undefined') {
DaytonFreightWebsite.classes.GuaranteedServiceInformation=gtc("DaytonFreightWebsite.classes.GuaranteedServiceInformation");
DaytonFreightWebsite.classes.GuaranteedServiceInformation.registerClass('DaytonFreightWebsite.classes.GuaranteedServiceInformation');
}
