Type.registerNamespace('RTP.Web.WebStore.Site.Scripts.Services');
RTP.Web.WebStore.Site.Scripts.Services.WebStore=function() {
RTP.Web.WebStore.Site.Scripts.Services.WebStore.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RTP.Web.WebStore.Site.Scripts.Services.WebStore.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.get_path();},
GetProvincesForState:function(countryValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProvincesForState',false,{countryValue:countryValue},succeededCallback,failedCallback,userContext); },
SelectInventoryDate:function(dateSelected,cartIndex,orderId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SelectInventoryDate',false,{dateSelected:dateSelected,cartIndex:cartIndex,orderId:orderId},succeededCallback,failedCallback,userContext); }}
RTP.Web.WebStore.Site.Scripts.Services.WebStore.registerClass('RTP.Web.WebStore.Site.Scripts.Services.WebStore',Sys.Net.WebServiceProxy);
RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance = new RTP.Web.WebStore.Site.Scripts.Services.WebStore();
RTP.Web.WebStore.Site.Scripts.Services.WebStore.set_path = function(value) { RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.set_path(value); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.get_path = function() { return RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.get_path(); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.set_timeout = function(value) { RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.set_timeout(value); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.get_timeout = function() { return RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.get_timeout(); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.set_defaultUserContext = function(value) { RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.set_defaultUserContext(value); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.get_defaultUserContext = function() { return RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.get_defaultUserContext(); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.set_defaultSucceededCallback = function(value) { RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.set_defaultSucceededCallback(value); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.get_defaultSucceededCallback = function() { return RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.get_defaultSucceededCallback(); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.set_defaultFailedCallback = function(value) { RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.set_defaultFailedCallback(value); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.get_defaultFailedCallback = function() { return RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.get_defaultFailedCallback(); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.set_enableJsonp = function(value) { RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.set_enableJsonp(value); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.get_enableJsonp = function() { return RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.get_enableJsonp(); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.set_jsonpCallbackParameter = function(value) { RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.set_jsonpCallbackParameter(value); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.get_jsonpCallbackParameter = function() { return RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.get_jsonpCallbackParameter(); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.set_path("/Scripts/Services/WebStore.asmx");
RTP.Web.WebStore.Site.Scripts.Services.WebStore.GetProvincesForState= function(countryValue,onSuccess,onFailed,userContext) {RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.GetProvincesForState(countryValue,onSuccess,onFailed,userContext); }
RTP.Web.WebStore.Site.Scripts.Services.WebStore.SelectInventoryDate= function(dateSelected,cartIndex,orderId,onSuccess,onFailed,userContext) {RTP.Web.WebStore.Site.Scripts.Services.WebStore._staticInstance.SelectInventoryDate(dateSelected,cartIndex,orderId,onSuccess,onFailed,userContext); }

