src/Resource/BankAccount.php
public function setHolder($fullname, $number, $type)
    {
        $this->data->holder->fullname = $fullname;

        $this->data->holder->taxDocument->type = $type;
        $this->data->holder->taxDocument->number = $number;

        return $this;
    }
public function setHolder($fullname, $number, $type)
    {
        $this->data->holder->fullname = $fullname;

        $this->data->holder->taxDocument->type = $type;
        $this->data->holder->taxDocument->number = $number;

        return $this;
    }
public function setHolder ( $ fullname , $ number , $ type ) { $ this -> data -> holder -> fullname = $ fullname ; $ this -> data -> holder -> taxDocument -> type = $ type ; $ this -> data -> holder -> taxDocument -> number = $ number ; return $ this ; }
Set holder.

@param string $fullname Holder full name.
@param string $number   Document number.
@param string $type     Document type (CPF or CNPJ).

@return $this
Set holder .