public function price($price = null)
    {
        if (is_null($price)) {
            return $this->price;
        }

        $this->price = $price;

        return $this;
    }
public function price($price = null)
    {
        if (is_null($price)) {
            return $this->price;
        }

        $this->price = $price;

        return $this;
    }
public function price ( $ price = null ) { if ( is_null ( $ price ) ) { return $ this -> price ; } $ this -> price = $ price ; return $ this ; }
Set the price of the plan.

@param  int  $price
@return $this|int
Set the price of the plan .