Remessas   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 64
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 64
rs 10
c 0
b 0
f 0
wmc 7

7 Methods

Rating   Name   Duplication   Size   Complexity  
A getLink() 0 2 1
A getNomeBanco() 0 2 1
A getRemessaId() 0 2 1
A __construct() 0 6 1
A getBeneficiario() 0 2 1
A getBoletos() 0 2 1
A getCnab() 0 2 1
1
<?php
2
3
/*
4
 * To change this license header, choose License Headers in Project Properties.
5
 * To change this template file, choose Tools | Templates
6
 * and open the template in the editor.
7
 */
8
9
namespace OBRSDK\Entidades;
10
11
/**
12
 * Description of Remessas
13
 *
14
 * @author Antonio
15
 */
16
class Remessas extends \OBRSDK\Entidades\Abstratos\AEntidadePropriedades {
17
18
    ///
19
    /// ATRIBUTOS DE RESPOSTA
20
    /// 
21
    protected $remessa_id;
22
    protected $nome_banco;
23
24
    /**
25
     *
26
     * @var \OBRSDK\Entidades\Beneficiario 
27
     */
28
    protected $beneficiario;
29
    protected $link;
30
    ///
31
    /// ATRIBUTOS OBRIGATORIOS
32
    ///
33
    /**
34
     * @var \OBRSDK\Entidades\Boletos[]
35
     */
36
    public $boletos;
37
    ///
38
    /// ATRIBUTOS OPCIONAIS
39
    ///
40
    public $cnab;
41
42
    public function __construct() {
43
        // inicia o objeto
44
        $this->beneficiario = new Beneficiario();
45
46
        // inicia o array de objeto
47
        $this->boletos = [new Boletos()];
48
    }
49
50
    public function getRemessaId() {
51
        return $this->remessa_id;
52
    }
53
54
    public function getNomeBanco() {
55
        return $this->nome_banco;
56
    }
57
58
    /**
59
     *
60
     * @var \OBRSDK\Entidades\Beneficiario 
61
     */
62
    public function getBeneficiario() {
63
        return $this->beneficiario;
64
    }
65
66
    public function getLink() {
67
        return $this->link;
68
    }
69
70
    /**
71
     * 
72
     * @return \OBRSDK\Entidades\Boletos[]
73
     */
74
    public function getBoletos() {
75
        return $this->boletos;
76
    }
77
78
    public function getCnab() {
79
        return $this->cnab;
80
    }
81
82
}
83