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