Type.registerNamespace('LaGarde.ECommerce.WebServices');
LaGarde.ECommerce.WebServices.MatrixProductService=function() {
LaGarde.ECommerce.WebServices.MatrixProductService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LaGarde.ECommerce.WebServices.MatrixProductService.prototype={
GetDimensionChoiceAvailability:function(selectedChoices,productId,customerId,succeededCallback, failedCallback, userContext) {
return this._invoke(LaGarde.ECommerce.WebServices.MatrixProductService.get_path(), 'GetDimensionChoiceAvailability',false,{selectedChoices:selectedChoices,productId:productId,customerId:customerId},succeededCallback,failedCallback,userContext); },
GetSKUItem:function(selectedChoices,productId,customerId,succeededCallback, failedCallback, userContext) {
return this._invoke(LaGarde.ECommerce.WebServices.MatrixProductService.get_path(), 'GetSKUItem',false,{selectedChoices:selectedChoices,productId:productId,customerId:customerId},succeededCallback,failedCallback,userContext); },
GetCustomFieldsFromSKUItemId:function(skuItemId,succeededCallback, failedCallback, userContext) {
return this._invoke(LaGarde.ECommerce.WebServices.MatrixProductService.get_path(), 'GetCustomFieldsFromSKUItemId',false,{skuItemId:skuItemId},succeededCallback,failedCallback,userContext); }}
LaGarde.ECommerce.WebServices.MatrixProductService.registerClass('LaGarde.ECommerce.WebServices.MatrixProductService',Sys.Net.WebServiceProxy);
LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance = new LaGarde.ECommerce.WebServices.MatrixProductService();
LaGarde.ECommerce.WebServices.MatrixProductService.set_path = function(value) { LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._path = value; }
LaGarde.ECommerce.WebServices.MatrixProductService.get_path = function() { return LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._path; }
LaGarde.ECommerce.WebServices.MatrixProductService.set_timeout = function(value) { LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._timeout = value; }
LaGarde.ECommerce.WebServices.MatrixProductService.get_timeout = function() { return LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._timeout; }
LaGarde.ECommerce.WebServices.MatrixProductService.set_defaultUserContext = function(value) { LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._userContext = value; }
LaGarde.ECommerce.WebServices.MatrixProductService.get_defaultUserContext = function() { return LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._userContext; }
LaGarde.ECommerce.WebServices.MatrixProductService.set_defaultSucceededCallback = function(value) { LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._succeeded = value; }
LaGarde.ECommerce.WebServices.MatrixProductService.get_defaultSucceededCallback = function() { return LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._succeeded; }
LaGarde.ECommerce.WebServices.MatrixProductService.set_defaultFailedCallback = function(value) { LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._failed = value; }
LaGarde.ECommerce.WebServices.MatrixProductService.get_defaultFailedCallback = function() { return LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance._failed; }
LaGarde.ECommerce.WebServices.MatrixProductService.set_path("/Services/MatrixProductService.asmx");
LaGarde.ECommerce.WebServices.MatrixProductService.GetDimensionChoiceAvailability= function(selectedChoices,productId,customerId,onSuccess,onFailed,userContext) {LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance.GetDimensionChoiceAvailability(selectedChoices,productId,customerId,onSuccess,onFailed,userContext); }
LaGarde.ECommerce.WebServices.MatrixProductService.GetSKUItem= function(selectedChoices,productId,customerId,onSuccess,onFailed,userContext) {LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance.GetSKUItem(selectedChoices,productId,customerId,onSuccess,onFailed,userContext); }
LaGarde.ECommerce.WebServices.MatrixProductService.GetCustomFieldsFromSKUItemId= function(skuItemId,onSuccess,onFailed,userContext) {LaGarde.ECommerce.WebServices.MatrixProductService._staticInstance.GetCustomFieldsFromSKUItemId(skuItemId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(LaGarde.ECommerce.WebServices.CompactProductDimensionChoice) === 'undefined') {
LaGarde.ECommerce.WebServices.CompactProductDimensionChoice=gtc("LaGarde.ECommerce.WebServices.CompactProductDimensionChoice");
LaGarde.ECommerce.WebServices.CompactProductDimensionChoice.registerClass('LaGarde.ECommerce.WebServices.CompactProductDimensionChoice');
}
if (typeof(LaGarde.ECommerce.WebServices.CompactItemInfo) === 'undefined') {
LaGarde.ECommerce.WebServices.CompactItemInfo=gtc("LaGarde.ECommerce.WebServices.CompactItemInfo");
LaGarde.ECommerce.WebServices.CompactItemInfo.registerClass('LaGarde.ECommerce.WebServices.CompactItemInfo');
}
