Header::setConvenio()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
c 3
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Umbrella\Ya\RetornoBoleto\Cnab\Cnab150;
4
5
use DateTime;
6
use Umbrella\Ya\RetornoBoleto\Cnab\CnabHeaderInterface;
7
8
class Header extends AbstractCnab150 implements CnabHeaderInterface
9
{
10
    /**
11
     * @var DateTime
12
     */
13
    protected $dataGeracao;
14
    protected $sequencialRet;
15
    protected $convenio;
16
    protected $versaoLayout;
17
    protected $remessa;
18
19
    public function getDataGeracao()
20
    {
21
        return $this->dataGeracao;
22
    }
23
24
    public function getSequencialRet()
25
    {
26
        return $this->sequencialRet;
27
    }
28
29
    public function getConvenio()
30
    {
31
        return $this->convenio;
32
    }
33
34
    public function getVersaoLayout()
35
    {
36
        return $this->versaoLayout;
37
    }
38
39
    public function getRemessa()
40
    {
41
        return $this->remessa;
42
    }
43
44
    public function setDataGeracao(DateTime $dataGeracao)
45
    {
46
        $this->dataGeracao = $dataGeracao;
47
        return $this;
48
    }
49
50
    public function setSequencialRet($sequencialRet)
51
    {
52
        $this->sequencialRet = $sequencialRet;
53
        return $this;
54
    }
55
56
    public function setConvenio($convenio)
57
    {
58
        $this->convenio = $convenio;
59
        return $this;
60
    }
61
62
    public function setVersaoLayout($versaoLayout)
63
    {
64
        $this->versaoLayout = $versaoLayout;
65
        return $this;
66
    }
67
68
    public function setRemessa($remessa)
69
    {
70
        $this->remessa = $remessa;
71
        return $this;
72
    }
73
}
74