var GetProduct=function() {
GetProduct.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GetProduct.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GetProduct._staticInstance.get_path();},
LoadProductAvailability:function(SKU,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadProductAvailability',false,{SKU:SKU},succeededCallback,failedCallback,userContext); },
GetExtendedProductTitle:function(Catalog,SKU,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetExtendedProductTitle',false,{Catalog:Catalog,SKU:SKU},succeededCallback,failedCallback,userContext); },
LoadProductDetailSizes:function(SKU,isQuickView,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadProductDetailSizes',false,{SKU:SKU,isQuickView:isQuickView},succeededCallback,failedCallback,userContext); },
AddToCart:function(SKU,Quantity,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToCart',false,{SKU:SKU,Quantity:Quantity},succeededCallback,failedCallback,userContext); },
hasProductAttributes:function(SKU,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'hasProductAttributes',false,{SKU:SKU},succeededCallback,failedCallback,userContext); },
AddToMyFavorites:function(SKU,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToMyFavorites',false,{SKU:SKU},succeededCallback,failedCallback,userContext); },
GetRelatedItems:function(SKU,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRelatedItems',false,{SKU:SKU},succeededCallback,failedCallback,userContext); },
GetProductATP:function(SKU,StockOnHand,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductATP',false,{SKU:SKU,StockOnHand:StockOnHand},succeededCallback,failedCallback,userContext); },
NotifyATP:function(SKU,Qty,ToName,ToEmail,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'NotifyATP',false,{SKU:SKU,Qty:Qty,ToName:ToName,ToEmail:ToEmail},succeededCallback,failedCallback,userContext); }}
GetProduct.registerClass('GetProduct',Sys.Net.WebServiceProxy);
GetProduct._staticInstance = new GetProduct();
GetProduct.set_path = function(value) { GetProduct._staticInstance.set_path(value); }
GetProduct.get_path = function() { return GetProduct._staticInstance.get_path(); }
GetProduct.set_timeout = function(value) { GetProduct._staticInstance.set_timeout(value); }
GetProduct.get_timeout = function() { return GetProduct._staticInstance.get_timeout(); }
GetProduct.set_defaultUserContext = function(value) { GetProduct._staticInstance.set_defaultUserContext(value); }
GetProduct.get_defaultUserContext = function() { return GetProduct._staticInstance.get_defaultUserContext(); }
GetProduct.set_defaultSucceededCallback = function(value) { GetProduct._staticInstance.set_defaultSucceededCallback(value); }
GetProduct.get_defaultSucceededCallback = function() { return GetProduct._staticInstance.get_defaultSucceededCallback(); }
GetProduct.set_defaultFailedCallback = function(value) { GetProduct._staticInstance.set_defaultFailedCallback(value); }
GetProduct.get_defaultFailedCallback = function() { return GetProduct._staticInstance.get_defaultFailedCallback(); }
GetProduct.set_path("/msCompanystore/WSAJAX/GetProduct.asmx");
GetProduct.LoadProductAvailability= function(SKU,onSuccess,onFailed,userContext) {GetProduct._staticInstance.LoadProductAvailability(SKU,onSuccess,onFailed,userContext); }
GetProduct.GetExtendedProductTitle= function(Catalog,SKU,onSuccess,onFailed,userContext) {GetProduct._staticInstance.GetExtendedProductTitle(Catalog,SKU,onSuccess,onFailed,userContext); }
GetProduct.LoadProductDetailSizes= function(SKU,isQuickView,onSuccess,onFailed,userContext) {GetProduct._staticInstance.LoadProductDetailSizes(SKU,isQuickView,onSuccess,onFailed,userContext); }
GetProduct.AddToCart= function(SKU,Quantity,onSuccess,onFailed,userContext) {GetProduct._staticInstance.AddToCart(SKU,Quantity,onSuccess,onFailed,userContext); }
GetProduct.hasProductAttributes= function(SKU,onSuccess,onFailed,userContext) {GetProduct._staticInstance.hasProductAttributes(SKU,onSuccess,onFailed,userContext); }
GetProduct.AddToMyFavorites= function(SKU,onSuccess,onFailed,userContext) {GetProduct._staticInstance.AddToMyFavorites(SKU,onSuccess,onFailed,userContext); }
GetProduct.GetRelatedItems= function(SKU,onSuccess,onFailed,userContext) {GetProduct._staticInstance.GetRelatedItems(SKU,onSuccess,onFailed,userContext); }
GetProduct.GetProductATP= function(SKU,StockOnHand,onSuccess,onFailed,userContext) {GetProduct._staticInstance.GetProductATP(SKU,StockOnHand,onSuccess,onFailed,userContext); }
GetProduct.NotifyATP= function(SKU,Qty,ToName,ToEmail,onSuccess,onFailed,userContext) {GetProduct._staticInstance.NotifyATP(SKU,Qty,ToName,ToEmail,onSuccess,onFailed,userContext); }
