Esempio n. 1
0
 /**
  * @param Boleto $boleto
  * @return string
  */
 function getLinha(Boleto $boleto)
 {
     return $this->getCodigo() . $boleto->getNumeroMoeda() . $this->getDigitoVerificadorCodigoBarras($boleto) . $boleto->getFatorVencimento() . $boleto->getValorBoletoSemVirgula() . $this->getCampoLivre($boleto) . $this->getDvCampoLivre($boleto);
 }
Esempio n. 2
0
 /**
  * @param Boleto $boleto
  * @return string
  */
 public function getLinha(Boleto $boleto)
 {
     return $this->getCodigo() . $boleto->getNumeroMoeda() . $boleto->getDigitoVerificadorCodigoBarras() . $boleto->getFatorVencimento() . $boleto->getValorBoletoSemVirgula() . $boleto->getCedente()->getAgencia() . $boleto->getNossoNumeroSemDigitoVerificador() . Numero::formataNumero($boleto->getCedente()->getConta(), 7, 0) . "0";
 }