Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 3 | public function query(GetSatStatusCommand $command): GetSatStatusResult |
|
26 | { |
||
27 | 3 | $soapCaller = $this->settings()->createCallerForService(Services::cancel()); |
|
28 | 3 | $rawResponse = $soapCaller->call('get_sat_status', [ |
|
29 | 3 | 'taxpayer_id' => $command->rfcIssuer(), |
|
30 | 3 | 'rtaxpayer_id' => $command->rfcRecipient(), |
|
31 | 3 | 'uuid' => $command->uuid(), |
|
32 | 3 | 'total' => $command->total(), |
|
33 | 3 | ]); |
|
34 | 3 | return new GetSatStatusResult($rawResponse); |
|
35 | } |
||
51 |