/**
  * Calculates the product unit reference price for the passed
  * product price.
  *
  * @param Struct\Product\Price $price
  * @return float
  */
 private function calculateReferencePrice(Struct\Product\Price $price)
 {
     $value = $price->getCalculatedPrice() / $price->getUnit()->getPurchaseUnit() * $price->getUnit()->getReferenceUnit();
     return round($value, 3);
 }