Code Duplication    Length = 61-65 lines in 7 locations

src/Integracao/ControlPay/Model/FluxoPagamento.php 1 location

@@ 9-72 (lines=64) @@
6
 * Class FluxoPagamento
7
 * @package Integracao\ControlPay\Model
8
 */
9
class FluxoPagamento implements \JsonSerializable
10
{
11
    /**
12
     * @var integer
13
     */
14
    private $id;
15
16
    /**
17
     * @var string
18
     */
19
    private $nome;
20
21
    /**
22
     * FluxoPagamento constructor.
23
     */
24
    public function __construct()
25
    {
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param int $id
38
     * @return FluxoPagamento
39
     */
40
    public function setId($id)
41
    {
42
        $this->id = $id;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getNome()
50
    {
51
        return $this->nome;
52
    }
53
54
    /**
55
     * @param string $nome
56
     * @return FluxoPagamento
57
     */
58
    public function setNome($nome)
59
    {
60
        $this->nome = $nome;
61
        return $this;
62
    }
63
64
    function jsonSerialize()
65
    {
66
        return [
67
            'id' => $this->id,
68
            'nome' => $this->nome,
69
        ];
70
    }
71
72
}

src/Integracao/ControlPay/Model/Impressora.php 1 location

@@ 9-73 (lines=65) @@
6
 * Class Impressora
7
 * @package Integracao\ControlPay\Model
8
 */
9
class Impressora implements \JsonSerializable
10
{
11
    /**
12
     * @var integer
13
     */
14
    private $id;
15
16
    /**
17
     * @var string
18
     */
19
    private $nome;
20
21
    /**
22
     * Impressora constructor.
23
     */
24
    public function __construct()
25
    {
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param int $id
38
     * @return Impressora
39
     */
40
    public function setId($id)
41
    {
42
        $this->id = $id;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getNome()
50
    {
51
        return $this->nome;
52
    }
53
54
    /**
55
     * @param string $nome
56
     * @return Impressora
57
     */
58
    public function setNome($nome)
59
    {
60
        $this->nome = $nome;
61
        return $this;
62
    }
63
64
    function jsonSerialize()
65
    {
66
        return [
67
            "id" => $this->id,
68
            "nome" => $this->nome,
69
        ];
70
    }
71
72
73
}

src/Integracao/ControlPay/Model/IntencaoVendaStatus.php 1 location

@@ 9-73 (lines=65) @@
6
 * Class IntencaoVendaStatus
7
 * @package Integracao\ControlPay\Model
8
 */
9
class IntencaoVendaStatus implements \JsonSerializable
10
{
11
    /**
12
     * @var integer
13
     */
14
    private $id;
15
16
    /**
17
     * @var string
18
     */
19
    private $nome;
20
21
    /**
22
     * IntencaoVendaStatus constructor.
23
     */
24
    public function __construct()
25
    {
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param int $id
38
     * @return IntencaoVendaStatus
39
     */
40
    public function setId($id)
41
    {
42
        $this->id = $id;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getNome()
50
    {
51
        return $this->nome;
52
    }
53
54
    /**
55
     * @param string $nome
56
     * @return IntencaoVendaStatus
57
     */
58
    public function setNome($nome)
59
    {
60
        $this->nome = $nome;
61
        return $this;
62
    }
63
64
    function jsonSerialize()
65
    {
66
        return [
67
            'id' => $this->id,
68
            'nome' => $this->nome,
69
        ];
70
    }
71
72
73
}

src/Integracao/ControlPay/Model/LancamentoTipo.php 1 location

@@ 9-71 (lines=63) @@
6
 * Class LancamentoTipo
7
 * @package Integracao\ControlPay\Model
8
 */
9
class LancamentoTipo implements \JsonSerializable
10
{
11
    /**
12
     * @var integer
13
     */
14
    private $id;
15
16
    /**
17
     * @var string
18
     */
19
    private $nome;
20
21
    /**
22
     * LancamentoTipo constructor.
23
     */
24
    public function __construct()
25
    {
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param int $id
38
     * @return LancamentoTipo
39
     */
40
    public function setId($id)
41
    {
42
        $this->id = $id;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getNome()
50
    {
51
        return $this->nome;
52
    }
53
54
    /**
55
     * @param string $nome
56
     * @return LancamentoTipo
57
     */
58
    public function setNome($nome)
59
    {
60
        $this->nome = $nome;
61
        return $this;
62
    }
63
64
    function jsonSerialize()
65
    {
66
        return [
67
            'id' => $this->id,
68
            'nome' => $this->nome,
69
        ];
70
    }
71
}

src/Integracao/ControlPay/Model/PagamentoExternoStatus.php 1 location

@@ 9-72 (lines=64) @@
6
 * Class PagamentoExternoStatus
7
 * @package Integracao\ControlPay\Model
8
 */
9
class PagamentoExternoStatus implements \JsonSerializable
10
{
11
    /**
12
     * @var integer
13
     */
14
    private $id;
15
16
    /**
17
     * @var string
18
     */
19
    private $nome;
20
21
    /**
22
     * PagamentoExternoStatus constructor.
23
     */
24
    public function __construct()
25
    {
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param int $id
38
     * @return PagamentoExternoStatus
39
     */
40
    public function setId($id)
41
    {
42
        $this->id = $id;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getNome()
50
    {
51
        return $this->nome;
52
    }
53
54
    /**
55
     * @param string $nome
56
     * @return PagamentoExternoStatus
57
     */
58
    public function setNome($nome)
59
    {
60
        $this->nome = $nome;
61
        return $this;
62
    }
63
64
    function jsonSerialize()
65
    {
66
        return [
67
            'id' => $this->id,
68
            'nome' => $this->nome,
69
        ];
70
    }
71
72
}

src/Integracao/ControlPay/Model/PagamentoStatus.php 1 location

@@ 9-72 (lines=64) @@
6
 * Class PagamentoStatus
7
 * @package Integracao\ControlPay\Model
8
 */
9
class PagamentoStatus implements \JsonSerializable
10
{
11
    /**
12
     * @var integer
13
     */
14
    private $id;
15
16
    /**
17
     * @var string
18
     */
19
    private $nome;
20
21
    /**
22
     * PagamentoStatus constructor.
23
     */
24
    public function __construct()
25
    {
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param int $id
38
     * @return PagamentoStatus
39
     */
40
    public function setId($id)
41
    {
42
        $this->id = $id;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getNome()
50
    {
51
        return $this->nome;
52
    }
53
54
    /**
55
     * @param string $nome
56
     * @return PagamentoStatus
57
     */
58
    public function setNome($nome)
59
    {
60
        $this->nome = $nome;
61
        return $this;
62
    }
63
64
    function jsonSerialize()
65
    {
66
        return [
67
            'id' => $this->id,
68
            'nome' => $this->nome,
69
        ];
70
    }
71
72
}

src/Integracao/ControlPay/Model/PedidoStatus.php 1 location

@@ 9-69 (lines=61) @@
6
 * Class PedidoStatus
7
 * @package Integracao\ControlPay\Model
8
 */
9
class PedidoStatus implements \JsonSerializable
10
{
11
12
    /**
13
     * @var integer
14
     */
15
    private $id;
16
17
    /**
18
     * @var string
19
     */
20
    private $nome;
21
22
    /**
23
     * @return int
24
     */
25
    public function getId()
26
    {
27
        return $this->id;
28
    }
29
30
    /**
31
     * @param int $id
32
     * @return PedidoStatus
33
     */
34
    public function setId($id)
35
    {
36
        $this->id = $id;
37
        return $this;
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function getNome()
44
    {
45
        return $this->nome;
46
    }
47
48
    /**
49
     * @param string $nome
50
     * @return PedidoStatus
51
     */
52
    public function setNome($nome)
53
    {
54
        $this->nome = $nome;
55
        return $this;
56
    }
57
58
    /**
59
     * @return array
60
     */
61
    function jsonSerialize()
62
    {
63
        return [
64
            'id' => $this->id,
65
            'nome' => $this->nome,
66
        ];
67
    }
68
69
}