Type.registerNamespace('Razorgator.Web');
Razorgator.Web.CartService=function() {
Razorgator.Web.CartService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Razorgator.Web.CartService.prototype={
GetAddressJson:function(addressId,succeededCallback, failedCallback, userContext) {
return this._invoke(Razorgator.Web.CartService.get_path(), 'GetAddressJson',false,{addressId:addressId},succeededCallback,failedCallback,userContext); },
GetCreditCardJson:function(creditCardId,succeededCallback, failedCallback, userContext) {
return this._invoke(Razorgator.Web.CartService.get_path(), 'GetCreditCardJson',false,{creditCardId:creditCardId},succeededCallback,failedCallback,userContext); },
GetTypeAheadSearchResult:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(Razorgator.Web.CartService.get_path(), 'GetTypeAheadSearchResult',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCSTTypeAheadSearchResult:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(Razorgator.Web.CartService.get_path(), 'GetCSTTypeAheadSearchResult',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
SendFeedBackForm:function(sendto,fromaddress,subject,body,succeededCallback, failedCallback, userContext) {
return this._invoke(Razorgator.Web.CartService.get_path(), 'SendFeedBackForm',false,{sendto:sendto,fromaddress:fromaddress,subject:subject,body:body},succeededCallback,failedCallback,userContext); }}
Razorgator.Web.CartService.registerClass('Razorgator.Web.CartService',Sys.Net.WebServiceProxy);
Razorgator.Web.CartService._staticInstance = new Razorgator.Web.CartService();
Razorgator.Web.CartService.set_path = function(value) { Razorgator.Web.CartService._staticInstance._path = value; }
Razorgator.Web.CartService.get_path = function() { return Razorgator.Web.CartService._staticInstance._path; }
Razorgator.Web.CartService.set_timeout = function(value) { Razorgator.Web.CartService._staticInstance._timeout = value; }
Razorgator.Web.CartService.get_timeout = function() { return Razorgator.Web.CartService._staticInstance._timeout; }
Razorgator.Web.CartService.set_defaultUserContext = function(value) { Razorgator.Web.CartService._staticInstance._userContext = value; }
Razorgator.Web.CartService.get_defaultUserContext = function() { return Razorgator.Web.CartService._staticInstance._userContext; }
Razorgator.Web.CartService.set_defaultSucceededCallback = function(value) { Razorgator.Web.CartService._staticInstance._succeeded = value; }
Razorgator.Web.CartService.get_defaultSucceededCallback = function() { return Razorgator.Web.CartService._staticInstance._succeeded; }
Razorgator.Web.CartService.set_defaultFailedCallback = function(value) { Razorgator.Web.CartService._staticInstance._failed = value; }
Razorgator.Web.CartService.get_defaultFailedCallback = function() { return Razorgator.Web.CartService._staticInstance._failed; }
Razorgator.Web.CartService.set_path("/Services/438fee87-01f1-4a75-8ade-dad8b7a5f77e.asmx");
Razorgator.Web.CartService.GetAddressJson= function(addressId,onSuccess,onFailed,userContext) {Razorgator.Web.CartService._staticInstance.GetAddressJson(addressId,onSuccess,onFailed,userContext); }
Razorgator.Web.CartService.GetCreditCardJson= function(creditCardId,onSuccess,onFailed,userContext) {Razorgator.Web.CartService._staticInstance.GetCreditCardJson(creditCardId,onSuccess,onFailed,userContext); }
Razorgator.Web.CartService.GetTypeAheadSearchResult= function(prefixText,count,onSuccess,onFailed,userContext) {Razorgator.Web.CartService._staticInstance.GetTypeAheadSearchResult(prefixText,count,onSuccess,onFailed,userContext); }
Razorgator.Web.CartService.GetCSTTypeAheadSearchResult= function(prefixText,count,onSuccess,onFailed,userContext) {Razorgator.Web.CartService._staticInstance.GetCSTTypeAheadSearchResult(prefixText,count,onSuccess,onFailed,userContext); }
Razorgator.Web.CartService.SendFeedBackForm= function(sendto,fromaddress,subject,body,onSuccess,onFailed,userContext) {Razorgator.Web.CartService._staticInstance.SendFeedBackForm(sendto,fromaddress,subject,body,onSuccess,onFailed,userContext); }
