Eduardokum\LaravelBoleto\Cnab\Remessa\Cnab400\Banco\Hsbc::header PHP Method

header() protected method

protected header ( )
    protected function header()
    {
        $this->iniciaHeader();
        $this->add(1, 1, '0');
        $this->add(2, 2, '1');
        $this->add(3, 9, 'REMESSA');
        $this->add(10, 11, '01');
        $this->add(12, 26, Util::formatCnab('X', 'COBRANCA', 15));
        $this->add(27, 27, 0);
        $this->add(28, 31, Util::formatCnab('9', $this->getAgencia(), 4));
        $this->add(32, 33, 55);
        $this->add(34, 37, Util::formatCnab('9', $this->getConta(), 4));
        $this->add(38, 43, Util::formatCnab('9', $this->getConta(), 6));
        $this->add(44, 44, Util::formatCnab('9', $this->getContaDv(), 1));
        $this->add(45, 46, '');
        $this->add(47, 76, Util::formatCnab('X', $this->getBeneficiario()->getNome(), 30));
        $this->add(77, 79, $this->getCodigoBanco());
        $this->add(80, 94, Util::formatCnab('X', 'HSBC', 15));
        $this->add(95, 100, date('dmy'));
        $this->add(101, 105, '01600');
        $this->add(106, 108, 'BPI');
        $this->add(109, 110, '');
        $this->add(111, 117, 'LANCV08');
        $this->add(118, 394, '');
        $this->add(395, 400, Util::formatCnab('9', 1, 6));
        return $this;
    }