@@ 9-172 (lines=164) @@ | ||
6 | * Class GetByFiltrosRequest |
|
7 | * @package Integracao\ControlPay\Contracts\Venda |
|
8 | */ |
|
9 | class GetByFiltrosRequest implements \JsonSerializable |
|
10 | { |
|
11 | /** |
|
12 | * @var integer |
|
13 | */ |
|
14 | private $intencaoVendaId; |
|
15 | ||
16 | /** |
|
17 | * @var integer |
|
18 | */ |
|
19 | private $formaPagamentoId; |
|
20 | ||
21 | /** |
|
22 | * @var integer |
|
23 | */ |
|
24 | private $terminalId; |
|
25 | ||
26 | /** |
|
27 | * @var integer |
|
28 | */ |
|
29 | private $status; |
|
30 | ||
31 | /** |
|
32 | * @var integer |
|
33 | */ |
|
34 | private $vendasDia; |
|
35 | ||
36 | /** |
|
37 | * @var string |
|
38 | */ |
|
39 | private $referencia; |
|
40 | ||
41 | /** |
|
42 | * GetByFiltrosRequest constructor. |
|
43 | */ |
|
44 | public function __construct() |
|
45 | { |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * @return int |
|
50 | */ |
|
51 | public function getIntencaoVendaId() |
|
52 | { |
|
53 | return $this->intencaoVendaId; |
|
54 | } |
|
55 | ||
56 | /** |
|
57 | * @param int $intencaoVendaId |
|
58 | * @return GetByFiltrosRequest |
|
59 | */ |
|
60 | public function setIntencaoVendaId($intencaoVendaId) |
|
61 | { |
|
62 | $this->intencaoVendaId = $intencaoVendaId; |
|
63 | return $this; |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * @return int |
|
68 | */ |
|
69 | public function getFormaPagamentoId() |
|
70 | { |
|
71 | return $this->formaPagamentoId; |
|
72 | } |
|
73 | ||
74 | /** |
|
75 | * @param int $formaPagamentoId |
|
76 | * @return GetByFiltrosRequest |
|
77 | */ |
|
78 | public function setFormaPagamentoId($formaPagamentoId) |
|
79 | { |
|
80 | $this->formaPagamentoId = $formaPagamentoId; |
|
81 | return $this; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @return int |
|
86 | */ |
|
87 | public function getTerminalId() |
|
88 | { |
|
89 | return $this->terminalId; |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * @param int $terminalId |
|
94 | * @return GetByFiltrosRequest |
|
95 | */ |
|
96 | public function setTerminalId($terminalId) |
|
97 | { |
|
98 | $this->terminalId = $terminalId; |
|
99 | return $this; |
|
100 | } |
|
101 | ||
102 | /** |
|
103 | * @return int |
|
104 | */ |
|
105 | public function getStatus() |
|
106 | { |
|
107 | return $this->status; |
|
108 | } |
|
109 | ||
110 | /** |
|
111 | * @param int $status |
|
112 | * @return GetByFiltrosRequest |
|
113 | */ |
|
114 | public function setStatus($status) |
|
115 | { |
|
116 | $this->status = $status; |
|
117 | return $this; |
|
118 | } |
|
119 | ||
120 | /** |
|
121 | * @return int |
|
122 | */ |
|
123 | public function getVendasDia() |
|
124 | { |
|
125 | return $this->vendasDia; |
|
126 | } |
|
127 | ||
128 | /** |
|
129 | * @param int $vendasDia |
|
130 | * @return GetByFiltrosRequest |
|
131 | */ |
|
132 | public function setVendasDia($vendasDia) |
|
133 | { |
|
134 | $this->vendasDia = $vendasDia; |
|
135 | return $this; |
|
136 | } |
|
137 | ||
138 | /** |
|
139 | * @return string |
|
140 | */ |
|
141 | public function getReferencia() |
|
142 | { |
|
143 | return $this->referencia; |
|
144 | } |
|
145 | ||
146 | /** |
|
147 | * @param string $referencia |
|
148 | * @return GetByFiltrosRequest |
|
149 | */ |
|
150 | public function setReferencia($referencia) |
|
151 | { |
|
152 | $this->referencia = $referencia; |
|
153 | return $this; |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * @return array |
|
158 | */ |
|
159 | function jsonSerialize() |
|
160 | { |
|
161 | return [ |
|
162 | "intencaoVendaId" => $this->intencaoVendaId, |
|
163 | "formaPagamentoId" => $this->formaPagamentoId, |
|
164 | "terminalId" => $this->terminalId, |
|
165 | "status" => $this->status, |
|
166 | "vendasDia" => $this->vendasDia, |
|
167 | "referencia" => $this->referencia, |
|
168 | ]; |
|
169 | } |
|
170 | ||
171 | ||
172 | } |
@@ 9-172 (lines=164) @@ | ||
6 | * Class GetByFiltrosRequest |
|
7 | * @package Integracao\ControlPay\Contracts\Venda |
|
8 | */ |
|
9 | class GetByFiltrosRequest implements \JsonSerializable |
|
10 | { |
|
11 | /** |
|
12 | * @var integer |
|
13 | */ |
|
14 | private $intencaoVendaId; |
|
15 | ||
16 | /** |
|
17 | * @var integer |
|
18 | */ |
|
19 | private $formaPagamentoId; |
|
20 | ||
21 | /** |
|
22 | * @var integer |
|
23 | */ |
|
24 | private $terminalId; |
|
25 | ||
26 | /** |
|
27 | * @var integer |
|
28 | */ |
|
29 | private $status; |
|
30 | ||
31 | /** |
|
32 | * @var integer |
|
33 | */ |
|
34 | private $vendasDia; |
|
35 | ||
36 | /** |
|
37 | * @var integer |
|
38 | */ |
|
39 | private $integracaoId; |
|
40 | ||
41 | /** |
|
42 | * GetByFiltrosRequest constructor. |
|
43 | */ |
|
44 | public function __construct() |
|
45 | { |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * @return int |
|
50 | */ |
|
51 | public function getGetByFiltrosId() |
|
52 | { |
|
53 | return $this->intencaoVendaId; |
|
54 | } |
|
55 | ||
56 | /** |
|
57 | * @param int $intencaoVendaId |
|
58 | * @return GetByFiltrosRequest |
|
59 | */ |
|
60 | public function setGetByFiltrosId($intencaoVendaId) |
|
61 | { |
|
62 | $this->intencaoVendaId = $intencaoVendaId; |
|
63 | return $this; |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * @return int |
|
68 | */ |
|
69 | public function getFormaPagamentoId() |
|
70 | { |
|
71 | return $this->formaPagamentoId; |
|
72 | } |
|
73 | ||
74 | /** |
|
75 | * @param int $formaPagamentoId |
|
76 | * @return GetByFiltrosRequest |
|
77 | */ |
|
78 | public function setFormaPagamentoId($formaPagamentoId) |
|
79 | { |
|
80 | $this->formaPagamentoId = $formaPagamentoId; |
|
81 | return $this; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @return int |
|
86 | */ |
|
87 | public function getTerminalId() |
|
88 | { |
|
89 | return $this->terminalId; |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * @param int $terminalId |
|
94 | * @return GetByFiltrosRequest |
|
95 | */ |
|
96 | public function setTerminalId($terminalId) |
|
97 | { |
|
98 | $this->terminalId = $terminalId; |
|
99 | return $this; |
|
100 | } |
|
101 | ||
102 | /** |
|
103 | * @return int |
|
104 | */ |
|
105 | public function getStatus() |
|
106 | { |
|
107 | return $this->status; |
|
108 | } |
|
109 | ||
110 | /** |
|
111 | * @param int $status |
|
112 | * @return GetByFiltrosRequest |
|
113 | */ |
|
114 | public function setStatus($status) |
|
115 | { |
|
116 | $this->status = $status; |
|
117 | return $this; |
|
118 | } |
|
119 | ||
120 | /** |
|
121 | * @return int |
|
122 | */ |
|
123 | public function getVendasDia() |
|
124 | { |
|
125 | return $this->vendasDia; |
|
126 | } |
|
127 | ||
128 | /** |
|
129 | * @param int $vendasDia |
|
130 | * @return GetByFiltrosRequest |
|
131 | */ |
|
132 | public function setVendasDia($vendasDia) |
|
133 | { |
|
134 | $this->vendasDia = $vendasDia; |
|
135 | return $this; |
|
136 | } |
|
137 | ||
138 | /** |
|
139 | * @return int |
|
140 | */ |
|
141 | public function getIntegracaoId() |
|
142 | { |
|
143 | return $this->integracaoId; |
|
144 | } |
|
145 | ||
146 | /** |
|
147 | * @param int $integracaoId |
|
148 | * @return GetByFiltrosRequest |
|
149 | */ |
|
150 | public function setIntegracaoId($integracaoId) |
|
151 | { |
|
152 | $this->integracaoId = $integracaoId; |
|
153 | return $this; |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * @return array |
|
158 | */ |
|
159 | function jsonSerialize() |
|
160 | { |
|
161 | return [ |
|
162 | "intencaoVendaId" => $this->intencaoVendaId, |
|
163 | "formaPagamentoId" => $this->formaPagamentoId, |
|
164 | "terminalId" => $this->terminalId, |
|
165 | "status" => $this->status, |
|
166 | "vendasDia" => $this->vendasDia, |
|
167 | "integracaoId" => $this->integracaoId, |
|
168 | ]; |
|
169 | } |
|
170 | ||
171 | ||
172 | } |