|
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 Boletos |
|
13
|
|
|
* |
|
14
|
|
|
* @author Antonio |
|
15
|
|
|
*/ |
|
16
|
|
|
class Boletos extends Abstratos\AEntidadePropriedades { |
|
17
|
|
|
|
|
18
|
|
|
/// |
|
19
|
|
|
/// ATRIBUTOS DE RESPOSTA |
|
20
|
|
|
/// |
|
21
|
|
|
protected $boleto_id; |
|
22
|
|
|
protected $linha_digitavel; |
|
23
|
|
|
protected $codigo_febraban; |
|
24
|
|
|
protected $link; |
|
25
|
|
|
|
|
26
|
|
|
/** |
|
27
|
|
|
* |
|
28
|
|
|
* @var Retorno |
|
29
|
|
|
*/ |
|
30
|
|
|
protected $retorno; |
|
31
|
|
|
/// |
|
32
|
|
|
/// ATRIBUTOS OBRIGATORIOS |
|
33
|
|
|
/// |
|
34
|
|
|
public $nome_sacado; |
|
35
|
|
|
public $documento_sacado; |
|
36
|
|
|
public $endereco_sacado; |
|
37
|
|
|
public $bairro_sacado; |
|
38
|
|
|
public $cep_sacado; |
|
39
|
|
|
public $cidade_sacado; |
|
40
|
|
|
public $uf_sacado; |
|
41
|
|
|
public $data_vencimento; |
|
42
|
|
|
public $valor_documento; |
|
43
|
|
|
/// |
|
44
|
|
|
/// ATRIBUTOS OPCIONAIS |
|
45
|
|
|
/// |
|
46
|
|
|
public $data_multa; |
|
47
|
|
|
public $valor_desconto; |
|
48
|
|
|
public $valor_multa; |
|
49
|
|
|
public $valor_juros_diario; |
|
50
|
|
|
public $dias_pag_vencimento; |
|
51
|
|
|
public $numero_documento; |
|
52
|
|
|
public $sequencial; |
|
53
|
|
|
public $aceite; |
|
54
|
|
|
public $local_pagamento; |
|
55
|
|
|
|
|
56
|
|
|
public function __construct() { |
|
57
|
|
|
$this->retorno = new Retorno(); |
|
58
|
|
|
} |
|
59
|
|
|
|
|
60
|
|
|
public function getBoletoId() { |
|
61
|
|
|
return $this->boleto_id; |
|
62
|
|
|
} |
|
63
|
|
|
|
|
64
|
|
|
public function getLinhaDigitavel() { |
|
65
|
|
|
return $this->linha_digitavel; |
|
66
|
|
|
} |
|
67
|
|
|
|
|
68
|
|
|
public function getCodigoFebraban() { |
|
69
|
|
|
return $this->codigo_febraban; |
|
70
|
|
|
} |
|
71
|
|
|
|
|
72
|
|
|
public function getLink() { |
|
73
|
|
|
return $this->link; |
|
74
|
|
|
} |
|
75
|
|
|
|
|
76
|
|
|
public function getNomeSacado() { |
|
77
|
|
|
return $this->nome_sacado; |
|
78
|
|
|
} |
|
79
|
|
|
|
|
80
|
|
|
public function getDocumentoSacado() { |
|
81
|
|
|
return $this->documento_sacado; |
|
82
|
|
|
} |
|
83
|
|
|
|
|
84
|
|
|
public function getEnderecoSacado() { |
|
85
|
|
|
return $this->endereco_sacado; |
|
86
|
|
|
} |
|
87
|
|
|
|
|
88
|
|
|
public function getBairroSacado() { |
|
89
|
|
|
return $this->bairro_sacado; |
|
90
|
|
|
} |
|
91
|
|
|
|
|
92
|
|
|
public function getCepSacado() { |
|
93
|
|
|
return $this->cep_sacado; |
|
94
|
|
|
} |
|
95
|
|
|
|
|
96
|
|
|
public function getCidadeSacado() { |
|
97
|
|
|
return $this->cidade_sacado; |
|
98
|
|
|
} |
|
99
|
|
|
|
|
100
|
|
|
public function getUfSacado() { |
|
101
|
|
|
return $this->uf_sacado; |
|
102
|
|
|
} |
|
103
|
|
|
|
|
104
|
|
|
public function getDataVencimento() { |
|
105
|
|
|
return $this->data_vencimento; |
|
106
|
|
|
} |
|
107
|
|
|
|
|
108
|
|
|
public function getValorDocumento() { |
|
109
|
|
|
return $this->valor_documento; |
|
110
|
|
|
} |
|
111
|
|
|
|
|
112
|
|
|
public function getDataMulta() { |
|
113
|
|
|
return $this->data_multa; |
|
114
|
|
|
} |
|
115
|
|
|
|
|
116
|
|
|
public function getValorDesconto() { |
|
117
|
|
|
return $this->valor_desconto; |
|
118
|
|
|
} |
|
119
|
|
|
|
|
120
|
|
|
public function getValorMulta() { |
|
121
|
|
|
return $this->valor_multa; |
|
122
|
|
|
} |
|
123
|
|
|
|
|
124
|
|
|
public function getValorJurosDiario() { |
|
125
|
|
|
return $this->valor_juros_diario; |
|
126
|
|
|
} |
|
127
|
|
|
|
|
128
|
|
|
public function getDiasPagVencimento() { |
|
129
|
|
|
return $this->dias_pag_vencimento; |
|
130
|
|
|
} |
|
131
|
|
|
|
|
132
|
|
|
public function getNumeroDocumento() { |
|
133
|
|
|
return $this->numero_documento; |
|
134
|
|
|
} |
|
135
|
|
|
|
|
136
|
|
|
public function getSequencial() { |
|
137
|
|
|
return $this->sequencial; |
|
138
|
|
|
} |
|
139
|
|
|
|
|
140
|
|
|
public function getAceite() { |
|
141
|
|
|
return $this->aceite; |
|
142
|
|
|
} |
|
143
|
|
|
|
|
144
|
|
|
public function getLocalPagamento() { |
|
145
|
|
|
return $this->local_pagamento; |
|
146
|
|
|
} |
|
147
|
|
|
|
|
148
|
|
|
/** |
|
149
|
|
|
* |
|
150
|
|
|
* @return Retorno |
|
151
|
|
|
*/ |
|
152
|
|
|
public function getRetorno() { |
|
153
|
|
|
return $this->retorno; |
|
154
|
|
|
} |
|
155
|
|
|
|
|
156
|
|
|
} |
|
157
|
|
|
|