Property | Type | Description | |
---|---|---|---|
$codigoBanco | string | Código do banco | |
$detalhe | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe[] | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe[] | ||
$file | array | Arquivo transformado em array por linha. | |
$header | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Header | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Header | ||
$increment | integer | Incremeto de detalhes | |
$processado | boolean | Se Cnab ja foi processado | |
$totais | array | Helper de totais. | |
$trailer | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Trailer | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Trailer |
Method | Description | |
---|---|---|
__construct ( String $file ) | ||
count ( ) | ||
current ( ) | ||
getBancoNome ( ) : mixed | ||
getCodigoBanco ( ) : string | Retorna o código do banco | |
getDetalhe ( $i ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe[] | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe[] | ||
getDetalhes ( ) : |
||
getHeader ( ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Header | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Header | ||
getTrailer ( ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Trailer | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Trailer | ||
key ( ) | ||
next ( ) | ||
rewind ( ) | ||
seek ( $position ) | ||
valid ( ) |
Method | Description | |
---|---|---|
detalheAtual ( ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe | Retorna o detalhe atual. | |
incrementDetalhe ( ) | Incrementa o detalhe. | |
isProcessado ( ) : boolean | Se esta processado | |
processar ( ) | Processa o arquivo | |
rem ( $i, $f, &$array ) : string | Remove trecho do array. | |
setProcessado ( ) | Seta cnab como processado | |
toArray ( ) : array | Retorna o array. |
protected detalheAtual ( ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe | ||
return | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe |
public getCodigoBanco ( ) : string | ||
return | string |
public getDetalhe ( $i ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe[] | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe[] | ||
$i | ||
return | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe[] | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe[] |
public getDetalhes ( ) : |
||
return |
public getHeader ( ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Header | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Header | ||
return | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Header | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Header |
public getTrailer ( ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Trailer | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Trailer | ||
return | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Trailer | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Trailer |
abstract protected incrementDetalhe ( ) |
protected isProcessado ( ) : boolean | ||
return | boolean |
protected Detalhe[],Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240|Detalhe[],Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400 $detalhe | ||
return | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe[] | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe[] |
protected array $file | ||
return | array |
protected Header,Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240|Header,Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400 $header | ||
return | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Header | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Header |
protected Trailer,Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240|Trailer,Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400 $trailer | ||
return | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Trailer | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Trailer |