TrailerLote   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 63
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 4
Bugs 1 Features 0
Metric Value
wmc 8
c 4
b 1
f 0
lcom 0
cbo 1
dl 0
loc 63
rs 10

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getQuantidadeRegistros() 0 4 1
A getValor() 0 4 1
A getQuantidadeMoedas() 0 4 1
A getNumAvisoDepbito() 0 4 1
A setQuantidadeRegistros() 0 5 1
A setValor() 0 5 1
A setQuantidadeMoedas() 0 5 1
A setNumAvisoDepbito() 0 5 1
1
<?php
2
3
namespace Umbrella\Ya\RetornoBoleto\Cnab\Cnab240;
4
5
use Umbrella\Ya\RetornoBoleto\Cnab\CnabTrailerInterface;
6
7
class TrailerLote extends AbstractTrailer implements CnabTrailerInterface
8
{
9
    protected $quantidadeRegistros;
10
    protected $valor;
11
    protected $quantidadeMoedas;
12
    protected $numAvisoDepbito;
13
14
    public function getQuantidadeRegistros()
15
    {
16
        return $this->quantidadeRegistros;
17
    }
18
19
    public function getValor()
20
    {
21
        return $this->valor;
22
    }
23
24
    public function getQuantidadeMoedas()
25
    {
26
        return $this->quantidadeMoedas;
27
    }
28
29
    public function getNumAvisoDepbito()
30
    {
31
        return $this->numAvisoDepbito;
32
    }
33
34
    /**
35
     * @param string $quantidadeRegistros
36
     */
37
    public function setQuantidadeRegistros($quantidadeRegistros)
38
    {
39
        $this->quantidadeRegistros = $quantidadeRegistros;
40
        return $this;
41
    }
42
43
    /**
44
     * @param string $valor
45
     */
46
    public function setValor($valor)
47
    {
48
        $this->valor = $valor;
49
        return $this;
50
    }
51
52
    /**
53
     * @param string $quantidadeMoedas
54
     */
55
    public function setQuantidadeMoedas($quantidadeMoedas)
56
    {
57
        $this->quantidadeMoedas = $quantidadeMoedas;
58
        return $this;
59
    }
60
61
    /**
62
     * @param string $numAvisoDepbito
63
     */
64
    public function setNumAvisoDepbito($numAvisoDepbito)
65
    {
66
        $this->numAvisoDepbito = $numAvisoDepbito;
67
        return $this;
68
    }
69
}
70