public function createPlan($name, $description, $amount, $currency)
    {
        return $this->getPlanModel()->make($name, $description, $amount, $currency)->save();
    }
public function createPlan($name, $description, $amount, $currency)
    {
        return $this->getPlanModel()->make($name, $description, $amount, $currency)->save();
    }
public function createPlan ( $ name , $ description , $ amount , $ currency ) { return $ this -> getPlanModel ( ) -> make ( $ name , $ description , $ amount , $ currency ) -> save ( ) ; }
Create new plan.

@param $name
@param $description
@param $amount
@param $currency

@throws \Exception|mixed
@throws null

@return mixed
Create new plan .