public function getBuyablePrice($options = null)
    {
        if (property_exists($this, 'price'))        return $this->price;
        if (property_exists($this, 'cost'))         return $this->cost;
        if (property_exists($this, 'value'))        return $this->value;

        return null;
    }
public function getBuyablePrice($options = null)
    {
        if (property_exists($this, 'price'))        return $this->price;
        if (property_exists($this, 'cost'))         return $this->cost;
        if (property_exists($this, 'value'))        return $this->value;

        return null;
    }
public function getBuyablePrice ( $ options = null ) { if ( property_exists ( $ this , 'price' ) ) return $ this -> price ; if ( property_exists ( $ this , 'cost' ) ) return $ this -> cost ; if ( property_exists ( $ this , 'value' ) ) return $ this -> value ; return null ; }
Get the price of the Buyable item.

@return Money|null
Get the price of the Buyable item .