public function getLowestPrice()
    {
        $prices = $this->getPrices();
        $lowest = $prices[0]->value;
        foreach ($prices as $price) {
            if ($price->value < $lowest) {
                $lowest = $price->value;
            }
        }
        return $lowest;
    }
public function getLowestPrice()
    {
        $prices = $this->getPrices();
        $lowest = $prices[0]->value;
        foreach ($prices as $price) {
            if ($price->value < $lowest) {
                $lowest = $price->value;
            }
        }
        return $lowest;
    }
public function getLowestPrice ( ) { $ prices = $ this -> getPrices ( ) ; $ lowest = $ prices [ 0 ] -> value ; foreach ( $ prices as $ price ) { if ( $ price -> value < $ lowest ) { $ lowest = $ price -> value ; } } return $ lowest ; }
Returns lowest price for product.

@return float
Returns lowest price for product .