/**
  * @param ProductValueInterface $value
  * @param mixed                 $data
  * @param string                $currency
  */
 protected function addPriceForCurrency(ProductValueInterface $value, $data, $currency)
 {
     $priceValue = $this->productBuilder->addPriceForCurrency($value, $currency);
     $priceValue->setCurrency($currency);
     $priceValue->setData($data);
     $value->addPrice($priceValue);
 }
 /**
  * @param ProductValueInterface $productValue
  * @param ProductValueInterface $value
  */
 protected function setProductPrice(ProductValueInterface $productValue, ProductValueInterface $value)
 {
     foreach ($value->getPrices() as $price) {
         if (null === ($productPrice = $productValue->getPrice($price->getCurrency()))) {
             $productPrice = $this->productBuilder->addPriceForCurrency($productValue, $price->getCurrency());
         }
         $productPrice->setData($price->getData());
     }
 }