/// <summary> /// Retrieves refiners for a given product search criteria. /// </summary> /// <param name="request">The product refiners request.</param> /// <returns>The product refiners response.</returns> public static GetProductRefinersServiceResponse GetProductRefiners(GetProductRefinersRequest request) { var dataRequest = new GetProductRefinersDataRequest(request.SearchCriteria); var dataResponse = request.RequestContext.Execute <GetProductRefinersDataResponse>(dataRequest); var refiners = AssembleRefiners(dataResponse.Refiners, dataResponse.RefinerValues); return(new GetProductRefinersServiceResponse(refiners)); }
private static GetProductRefinersServiceResponse GetProductRefiners(GetProductRefinersRequest request) { return(ProductRefinement.GetProductRefiners(request)); }