| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 2 | public function obtainPending(GetPendingCommand $command): GetPendingResult |
|
| 26 | { |
||
| 27 | 2 | $soapCaller = $this->settings()->createCallerForService(Services::cancel()); |
|
| 28 | 2 | $rawResponse = $soapCaller->call('get_pending', [ |
|
| 29 | 2 | 'rtaxpayer_id' => $command->rfc(), |
|
| 30 | 2 | ]); |
|
| 31 | 2 | return new GetPendingResult($rawResponse); |
|
| 32 | } |
||
| 34 |