var SuperbringService=function() {
SuperbringService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SuperbringService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(SuperbringService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
getCityFromZipCode:function(zipCode,deliverableZipCodes,estimateShipping,setActiveZipCodeOnLookup,succeededCallback, failedCallback, userContext) {
return this._invoke(SuperbringService.get_path(), 'getCityFromZipCode',false,{zipCode:zipCode,deliverableZipCodes:deliverableZipCodes,estimateShipping:estimateShipping,setActiveZipCodeOnLookup:setActiveZipCodeOnLookup},succeededCallback,failedCallback,userContext); },
getCourierDeliveryPrice:function(fullSourceAddress,fullDestinationAddress,sourceZipCode,numPackages,expressDelivery,succeededCallback, failedCallback, userContext) {
return this._invoke(SuperbringService.get_path(), 'getCourierDeliveryPrice',false,{fullSourceAddress:fullSourceAddress,fullDestinationAddress:fullDestinationAddress,sourceZipCode:sourceZipCode,numPackages:numPackages,expressDelivery:expressDelivery},succeededCallback,failedCallback,userContext); },
getCourierPickupAndDeliveryTimes:function(stringDeliveryDate,expressDelivery,succeededCallback, failedCallback, userContext) {
return this._invoke(SuperbringService.get_path(), 'getCourierPickupAndDeliveryTimes',false,{stringDeliveryDate:stringDeliveryDate,expressDelivery:expressDelivery},succeededCallback,failedCallback,userContext); },
addToCart:function(productOID,variantOID,amount,succeededCallback, failedCallback, userContext) {
return this._invoke(SuperbringService.get_path(), 'addToCart',false,{productOID:productOID,variantOID:variantOID,amount:amount},succeededCallback,failedCallback,userContext); }}
SuperbringService.registerClass('SuperbringService',Sys.Net.WebServiceProxy);
SuperbringService._staticInstance = new SuperbringService();
SuperbringService.set_path = function(value) { SuperbringService._staticInstance._path = value; }
SuperbringService.get_path = function() { return SuperbringService._staticInstance._path; }
SuperbringService.set_timeout = function(value) { SuperbringService._staticInstance._timeout = value; }
SuperbringService.get_timeout = function() { return SuperbringService._staticInstance._timeout; }
SuperbringService.set_defaultUserContext = function(value) { SuperbringService._staticInstance._userContext = value; }
SuperbringService.get_defaultUserContext = function() { return SuperbringService._staticInstance._userContext; }
SuperbringService.set_defaultSucceededCallback = function(value) { SuperbringService._staticInstance._succeeded = value; }
SuperbringService.get_defaultSucceededCallback = function() { return SuperbringService._staticInstance._succeeded; }
SuperbringService.set_defaultFailedCallback = function(value) { SuperbringService._staticInstance._failed = value; }
SuperbringService.get_defaultFailedCallback = function() { return SuperbringService._staticInstance._failed; }
SuperbringService.set_path("/superbringservice.asmx");
SuperbringService.HelloWorld= function(onSuccess,onFailed,userContext) {SuperbringService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
SuperbringService.getCityFromZipCode= function(zipCode,deliverableZipCodes,estimateShipping,setActiveZipCodeOnLookup,onSuccess,onFailed,userContext) {SuperbringService._staticInstance.getCityFromZipCode(zipCode,deliverableZipCodes,estimateShipping,setActiveZipCodeOnLookup,onSuccess,onFailed,userContext); }
SuperbringService.getCourierDeliveryPrice= function(fullSourceAddress,fullDestinationAddress,sourceZipCode,numPackages,expressDelivery,onSuccess,onFailed,userContext) {SuperbringService._staticInstance.getCourierDeliveryPrice(fullSourceAddress,fullDestinationAddress,sourceZipCode,numPackages,expressDelivery,onSuccess,onFailed,userContext); }
SuperbringService.getCourierPickupAndDeliveryTimes= function(stringDeliveryDate,expressDelivery,onSuccess,onFailed,userContext) {SuperbringService._staticInstance.getCourierPickupAndDeliveryTimes(stringDeliveryDate,expressDelivery,onSuccess,onFailed,userContext); }
SuperbringService.addToCart= function(productOID,variantOID,amount,onSuccess,onFailed,userContext) {SuperbringService._staticInstance.addToCart(productOID,variantOID,amount,onSuccess,onFailed,userContext); }
