protected getCampoLivre ( ) : string | ||
return | string |
protected function getCampoLivre()
{
if ($this->campoLivre) {
return $this->campoLivre;
}
$ag = Util::numberFormatGeral($this->getAgencia(), 4);
$cc = Util::numberFormatGeral($this->getConta(), 6);
$agCc = $ag . $cc . ($this->getContaDv() ? $this->getContaDv() : Util::modulo11($ag . $cc));
return $this->campoLivre = $this->getNossoNumero() . $agCc . '00' . '1';
// Codigo do aplicativo
}