public function make($name, $description, $amount, $currency, array $otherAttributes = [])
    {
        $this->name = $name;
        $this->description = $description;
        $this->amount = $amount;
        $this->currency = $currency;

        $this->_setAttributes($otherAttributes);
        $this->setCreatable(true);

        return $this;
    }
public function make($name, $description, $amount, $currency, array $otherAttributes = [])
    {
        $this->name = $name;
        $this->description = $description;
        $this->amount = $amount;
        $this->currency = $currency;

        $this->_setAttributes($otherAttributes);
        $this->setCreatable(true);

        return $this;
    }
public function make ( $ name , $ description , $ amount , $ currency , array $ otherAttributes = [ ] ) { $ this -> name = $ name ; $ this -> description = $ description ; $ this -> amount = $ amount ; $ this -> currency = $ currency ; $ this -> _setAttributes ( $ otherAttributes ) ; $ this -> setCreatable ( true ) ; return $ this ; }
Create new Plan Object.

@param $name
@param $description
@param $amount
@param $currency
@param array $otherAttributes

@return $this
Create new Plan Object .