|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace Umbrella\Ya\RetornoBoleto\Cnab\Cnab150; |
|
4
|
|
|
|
|
5
|
|
|
use DateTime; |
|
6
|
|
|
use Umbrella\Ya\RetornoBoleto\Cnab\CnabDetailInterface; |
|
7
|
|
|
|
|
8
|
|
|
class Detail extends AbstractCnab150 implements CnabDetailInterface |
|
9
|
|
|
{ |
|
10
|
|
|
/** |
|
11
|
|
|
* @var DateTime |
|
12
|
|
|
*/ |
|
13
|
|
|
protected $dataPagamento; |
|
14
|
|
|
|
|
15
|
|
|
/** |
|
16
|
|
|
* @var DateTime |
|
17
|
|
|
*/ |
|
18
|
|
|
protected $dataCredito; |
|
19
|
|
|
protected $valorTitulo; |
|
20
|
|
|
protected $valorPagamento; |
|
21
|
|
|
protected $valorRecebido; |
|
22
|
|
|
protected $valorTarifa; |
|
23
|
|
|
protected $codigoAgenciaArrecadadora; |
|
24
|
|
|
protected $formaArrecadacao; |
|
25
|
|
|
protected $numeroAutenticacao; |
|
26
|
|
|
protected $formaPagamento; |
|
27
|
|
|
protected $numeroSequencial; |
|
28
|
|
|
|
|
29
|
|
|
public function getNumeroSequencial() |
|
30
|
|
|
{ |
|
31
|
|
|
return $this->numeroSequencial; |
|
32
|
|
|
} |
|
33
|
|
|
|
|
34
|
|
|
public function setNumeroSequencial($numeroSequencial) |
|
35
|
|
|
{ |
|
36
|
|
|
$this->numeroSequencial = $numeroSequencial; |
|
37
|
|
|
return $this; |
|
38
|
|
|
} |
|
39
|
|
|
|
|
40
|
|
|
public function getDataPagamento() |
|
41
|
|
|
{ |
|
42
|
|
|
return $this->dataPagamento; |
|
43
|
|
|
} |
|
44
|
|
|
|
|
45
|
|
|
public function getDataCredito() |
|
46
|
|
|
{ |
|
47
|
|
|
return $this->dataCredito; |
|
48
|
|
|
} |
|
49
|
|
|
|
|
50
|
|
|
public function getValorTitulo() |
|
51
|
|
|
{ |
|
52
|
|
|
return $this->valorTitulo; |
|
53
|
|
|
} |
|
54
|
|
|
|
|
55
|
|
|
public function getValorPagamento() |
|
56
|
|
|
{ |
|
57
|
|
|
return $this->valorPagamento; |
|
58
|
|
|
} |
|
59
|
|
|
|
|
60
|
|
|
public function getValorRecebido() |
|
61
|
|
|
{ |
|
62
|
|
|
return $this->valorRecebido; |
|
63
|
|
|
} |
|
64
|
|
|
|
|
65
|
|
|
public function getValorTarifa() |
|
66
|
|
|
{ |
|
67
|
|
|
return $this->valorTarifa; |
|
68
|
|
|
} |
|
69
|
|
|
|
|
70
|
|
|
public function getCodigoAgenciaArrecadadora() |
|
71
|
|
|
{ |
|
72
|
|
|
return $this->codigoAgenciaArrecadadora; |
|
73
|
|
|
} |
|
74
|
|
|
|
|
75
|
|
|
public function getFormaArrecadacao() |
|
76
|
|
|
{ |
|
77
|
|
|
return $this->formaArrecadacao; |
|
78
|
|
|
} |
|
79
|
|
|
|
|
80
|
|
|
public function getNumeroAutenticacao() |
|
81
|
|
|
{ |
|
82
|
|
|
return $this->numeroAutenticacao; |
|
83
|
|
|
} |
|
84
|
|
|
|
|
85
|
|
|
public function getFormaPagamento() |
|
86
|
|
|
{ |
|
87
|
|
|
return $this->formaPagamento; |
|
88
|
|
|
} |
|
89
|
|
|
|
|
90
|
|
|
public function setDataPagamento(DateTime $dataPagamento) |
|
91
|
|
|
{ |
|
92
|
|
|
$this->dataPagamento = $dataPagamento; |
|
93
|
|
|
return $this; |
|
94
|
|
|
} |
|
95
|
|
|
|
|
96
|
|
|
public function setDataCredito(DateTime $dataCredito) |
|
97
|
|
|
{ |
|
98
|
|
|
$this->dataCredito = $dataCredito; |
|
99
|
|
|
return $this; |
|
100
|
|
|
} |
|
101
|
|
|
|
|
102
|
|
|
public function setValorTitulo($valorTitulo) |
|
103
|
|
|
{ |
|
104
|
|
|
$this->valorTitulo = $valorTitulo; |
|
105
|
|
|
return $this; |
|
106
|
|
|
} |
|
107
|
|
|
|
|
108
|
|
|
public function setValorPagamento($valorPagamento) |
|
109
|
|
|
{ |
|
110
|
|
|
$this->valorPagamento = $valorPagamento; |
|
111
|
|
|
return $this; |
|
112
|
|
|
} |
|
113
|
|
|
|
|
114
|
|
|
public function setValorRecebido($valorRecebido) |
|
115
|
|
|
{ |
|
116
|
|
|
$this->valorRecebido = $valorRecebido; |
|
117
|
|
|
return $this; |
|
118
|
|
|
} |
|
119
|
|
|
|
|
120
|
|
|
public function setValorTarifa($valorTarifa) |
|
121
|
|
|
{ |
|
122
|
|
|
$this->valorTarifa = $valorTarifa; |
|
123
|
|
|
return $this; |
|
124
|
|
|
} |
|
125
|
|
|
|
|
126
|
|
|
public function setCodigoAgenciaArrecadadora($codigoAgenciaArrecadadora) |
|
127
|
|
|
{ |
|
128
|
|
|
$this->codigoAgenciaArrecadadora = $codigoAgenciaArrecadadora; |
|
129
|
|
|
return $this; |
|
130
|
|
|
} |
|
131
|
|
|
|
|
132
|
|
|
public function setFormaArrecadacao($formaArrecadacao) |
|
133
|
|
|
{ |
|
134
|
|
|
$this->formaArrecadacao = $formaArrecadacao; |
|
135
|
|
|
return $this; |
|
136
|
|
|
} |
|
137
|
|
|
|
|
138
|
|
|
public function setNumeroAutenticacao($numeroAutenticacao) |
|
139
|
|
|
{ |
|
140
|
|
|
$this->numeroAutenticacao = $numeroAutenticacao; |
|
141
|
|
|
return $this; |
|
142
|
|
|
} |
|
143
|
|
|
|
|
144
|
|
|
public function setFormaPagamento($formaPagamento) |
|
145
|
|
|
{ |
|
146
|
|
|
$this->formaPagamento = $formaPagamento; |
|
147
|
|
|
return $this; |
|
148
|
|
|
} |
|
149
|
|
|
} |
|
150
|
|
|
|