| @@ 127-147 (lines=21) @@ | ||
| 124 | * @param string $tipo |
|
| 125 | * @param int $codigoRegime |
|
| 126 | */ |
|
| 127 | public function getAfastamento( |
|
| 128 | $anomes, |
|
| 129 | $pagina = null, |
|
| 130 | $cpf = null, |
|
| 131 | $numeroMatricula = null, |
|
| 132 | $tipo = null, |
|
| 133 | $codigoRegime = null |
|
| 134 | ) { |
|
| 135 | $action = "getAfastamento"; |
|
| 136 | $message = $this->build( |
|
| 137 | $action, |
|
| 138 | $anomes, |
|
| 139 | $pagina, |
|
| 140 | $cpf, |
|
| 141 | $numeroMatricula, |
|
| 142 | $tipo, |
|
| 143 | $codigoRegime |
|
| 144 | ); |
|
| 145 | $response = $this->send($action, $message); |
|
| 146 | return $response; |
|
| 147 | } |
|
| 148 | ||
| 149 | /** |
|
| 150 | * Consulta Dados das Bases de Contribuição (getContribuicao) |
|
| @@ 161-181 (lines=21) @@ | ||
| 158 | * @param string $tipo |
|
| 159 | * @param int $codigoRegime |
|
| 160 | */ |
|
| 161 | public function getContribuicao( |
|
| 162 | $anomes, |
|
| 163 | $pagina = null, |
|
| 164 | $cpf = null, |
|
| 165 | $numeroMatricula = null, |
|
| 166 | $tipo = null, |
|
| 167 | $codigoRegime = null |
|
| 168 | ) { |
|
| 169 | $action = "getContribuicao"; |
|
| 170 | $message = $this->build( |
|
| 171 | $action, |
|
| 172 | $anomes, |
|
| 173 | $pagina, |
|
| 174 | $cpf, |
|
| 175 | $numeroMatricula, |
|
| 176 | $tipo, |
|
| 177 | $codigoRegime |
|
| 178 | ); |
|
| 179 | $response = $this->send($action, $message); |
|
| 180 | return $response; |
|
| 181 | } |
|
| 182 | ||
| 183 | /** |
|
| 184 | * Consulta Dados Pagamentos (getContribuicaoAnalitica) |
|
| @@ 196-216 (lines=21) @@ | ||
| 193 | * @param string $tipo |
|
| 194 | * @param int $codigoRegime |
|
| 195 | */ |
|
| 196 | public function getContribuicaoAnalitica( |
|
| 197 | $anomes, |
|
| 198 | $pagina = null, |
|
| 199 | $cpf = null, |
|
| 200 | $numeroMatricula = null, |
|
| 201 | $tipo = null, |
|
| 202 | $codigoRegime = null |
|
| 203 | ) { |
|
| 204 | $action = "getContribuicaoAnalitica"; |
|
| 205 | $message = $this->build( |
|
| 206 | $action, |
|
| 207 | $anomes, |
|
| 208 | $pagina, |
|
| 209 | $cpf, |
|
| 210 | $numeroMatricula, |
|
| 211 | $tipo, |
|
| 212 | $codigoRegime |
|
| 213 | ); |
|
| 214 | $response = $this->send($action, $message); |
|
| 215 | return $response; |
|
| 216 | } |
|
| 217 | ||
| 218 | /** |
|
| 219 | * Dados dos Dependentes do Funcionário (getDependentes) |
|
| @@ 230-250 (lines=21) @@ | ||
| 227 | * @param string $tipo |
|
| 228 | * @param int $codigoRegime |
|
| 229 | */ |
|
| 230 | public function getDependentes( |
|
| 231 | $anomes, |
|
| 232 | $pagina = null, |
|
| 233 | $cpf = null, |
|
| 234 | $numeroMatricula = null, |
|
| 235 | $tipo = null, |
|
| 236 | $codigoRegime = null |
|
| 237 | ) { |
|
| 238 | $action = "getDependentes"; |
|
| 239 | $message = $this->build( |
|
| 240 | $action, |
|
| 241 | $anomes, |
|
| 242 | $pagina, |
|
| 243 | $cpf, |
|
| 244 | $numeroMatricula, |
|
| 245 | $tipo, |
|
| 246 | $codigoRegime |
|
| 247 | ); |
|
| 248 | $response = $this->send($action, $message); |
|
| 249 | return $response; |
|
| 250 | } |
|
| 251 | ||
| 252 | /** |
|
| 253 | * Consulta Dados de Funcionário (getServidor) |
|
| @@ 269-289 (lines=21) @@ | ||
| 266 | * @param string $tipo |
|
| 267 | * @param int $codigoRegime |
|
| 268 | */ |
|
| 269 | public function getServidor( |
|
| 270 | $anomes, |
|
| 271 | $pagina = null, |
|
| 272 | $cpf = null, |
|
| 273 | $numeroMatricula = null, |
|
| 274 | $tipo = null, |
|
| 275 | $codigoRegime = null |
|
| 276 | ) { |
|
| 277 | $action = "getServidor"; |
|
| 278 | $message = $this->build( |
|
| 279 | $action, |
|
| 280 | $anomes, |
|
| 281 | $pagina, |
|
| 282 | $cpf, |
|
| 283 | $numeroMatricula, |
|
| 284 | $tipo, |
|
| 285 | $codigoRegime |
|
| 286 | ); |
|
| 287 | $response = $this->send($action, $message); |
|
| 288 | return $response; |
|
| 289 | } |
|
| 290 | ||
| 291 | /** |
|
| 292 | * Consulta Dados Tempo de Contribuição do Funcionário |
|
| @@ 304-324 (lines=21) @@ | ||
| 301 | * @param string $tipo |
|
| 302 | * @param int $codigoRegime |
|
| 303 | */ |
|
| 304 | public function getTempoContribuicao( |
|
| 305 | $anomes, |
|
| 306 | $pagina = null, |
|
| 307 | $cpf = null, |
|
| 308 | $numeroMatricula = null, |
|
| 309 | $tipo = null, |
|
| 310 | $codigoRegime = null |
|
| 311 | ) { |
|
| 312 | $action = "getTempoContribuicao"; |
|
| 313 | $message = $this->build( |
|
| 314 | $action, |
|
| 315 | $anomes, |
|
| 316 | $pagina, |
|
| 317 | $cpf, |
|
| 318 | $numeroMatricula, |
|
| 319 | $tipo, |
|
| 320 | $codigoRegime |
|
| 321 | ); |
|
| 322 | $response = $this->send($action, $message); |
|
| 323 | return $response; |
|
| 324 | } |
|
| 325 | ||
| 326 | /** |
|
| 327 | * Build message content |
|