src/Resource/Transfers.php
public function setHolder($fullname, $taxDocument)
    {
        $this->data->transferInstrument->bankAccount->holder->fullname = $fullname;
        $this->data->transferInstrument->bankAccount->holder->taxDocument->type = self::TYPE_HOLD;
        $this->data->transferInstrument->bankAccount->holder->taxDocument->number = $taxDocument;

        return $this;
    }
public function setHolder($fullname, $taxDocument)
    {
        $this->data->transferInstrument->bankAccount->holder->fullname = $fullname;
        $this->data->transferInstrument->bankAccount->holder->taxDocument->type = self::TYPE_HOLD;
        $this->data->transferInstrument->bankAccount->holder->taxDocument->number = $taxDocument;

        return $this;
    }
public function setHolder ( $ fullname , $ taxDocument ) { $ this -> data -> transferInstrument -> bankAccount -> holder -> fullname = $ fullname ; $ this -> data -> transferInstrument -> bankAccount -> holder -> taxDocument -> type = self :: TYPE_HOLD ; $ this -> data -> transferInstrument -> bankAccount -> holder -> taxDocument -> number = $ taxDocument ; return $ this ; }
Set info of holder.

@param string $fullname
@param int    $taxDocument

@return $this
Set info of holder .