/**
   * Set price range for the {@link ProductData}. If there is no priceRange in the source, no {@link
   * PriceRangeData} will be set in the target.
   *
   * @param source The {@link SearchResultValueData} containing the priceRange.
   * @param target The {@link ProductData} to be modified.
   */
  protected void setPriceRange(final SearchResultValueData source, final ProductData target) {
    final PriceRangeData priceRange = new PriceRangeData();
    final String priceRangeValue = this.<String>getValue(source, PRICE_RANGE);
    if (StringUtils.isNotEmpty(priceRangeValue)) {
      final SolrPriceRange solrPriceRange =
          SolrPriceRange.buildSolrPriceRangePairFromProperty(priceRangeValue);
      if (solrPriceRange != null) {
        priceRange.setMinPrice(createPriceData(solrPriceRange.getLower()));
        priceRange.setMaxPrice(createPriceData(solrPriceRange.getHigher()));
      }
    }

    target.setPriceRange(priceRange);
  }