Свойство | 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 |
Méthode | 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 ( ) |
Méthode | 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 | ||
Résultat | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe |
public getCodigoBanco ( ) : string | ||
Résultat | string |
public getDetalhe ( $i ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe[] | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe[] | ||
$i | ||
Résultat | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe[] | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe[] |
public getDetalhes ( ) : |
||
Résultat |
public getHeader ( ) : Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Header | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Header | ||
Résultat | 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 | ||
Résultat | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Trailer | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Trailer |
abstract protected incrementDetalhe ( ) |
protected isProcessado ( ) : boolean | ||
Résultat | boolean |
protected Detalhe[],Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240|Detalhe[],Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400 $detalhe | ||
Résultat | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Detalhe[] | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Detalhe[] |
protected array $file | ||
Résultat | array |
protected Header,Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240|Header,Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400 $header | ||
Résultat | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Header | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Header |
protected bool $processado | ||
Résultat | boolean |
protected Trailer,Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240|Trailer,Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400 $trailer | ||
Résultat | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab240\Trailer | Eduardokum\LaravelBoleto\Contracts\Cnab\Retorno\Cnab400\Trailer |