Eduardokum\LaravelBoleto\Cnab\Retorno\Cnab240\Detalhe::setSegmentoU PHP Method

setSegmentoU() public method

public setSegmentoU ( DetalheSegmentoU $segmentoU )
$segmentoU DetalheSegmentoU
    public function setSegmentoU($segmentoU)
    {
        $this->segmentoU = $segmentoU;
        return $this;
    }

Same methods

Detalhe::setSegmentoU ( Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\DetalheSegmentoU $segmentoU )

Usage Example

Exemplo n.º 1
0
 /**
  * Incrementa o detalhe.
  */
 protected function incrementDetalhe()
 {
     $this->increment++;
     $detalhe = new Detalhe();
     $detalhe->setSegmentoT(new DetalheSegmentoT());
     $detalhe->setSegmentoU(new DetalheSegmentoU());
     $detalhe->setSegmentoY(new DetalheSegmentoY());
     $this->detalhe[$this->increment] = $detalhe;
 }