Eduardokum\LaravelBoleto\Cnab\Retorno\Cnab400\Banco\Hsbc::processarTrailer PHP Method

processarTrailer() protected method

protected processarTrailer ( array $trailer )
$trailer array
    protected function processarTrailer(array $trailer)
    {
        $this->getTrailer()->setQuantidadeTitulos((int) $this->count())->setValorTitulos((double) Util::nFloat($this->totais['valor_recebido'], 2, false))->setQuantidadeErros((int) $this->totais['erros'])->setQuantidadeEntradas((int) $this->totais['entradas'])->setQuantidadeLiquidados((int) $this->totais['liquidados'])->setQuantidadeBaixados((int) $this->totais['baixados'])->setQuantidadeAlterados((int) $this->totais['alterados']);
        return true;
    }