Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 1 | public function reportUuid(ReportUuidCommand $command): ReportUuidResult |
|
26 | { |
||
27 | 1 | $soapCaller = $this->settings()->createCallerForService(Services::utilities()); |
|
28 | 1 | $rawResponse = $soapCaller->call('report_uuid', [ |
|
29 | 1 | 'taxpayer_id' => $command->rfc(), |
|
30 | 1 | 'invoice_type' => $command->type(), |
|
31 | 1 | 'date_from' => $command->sinceString(), |
|
32 | 1 | 'date_to' => $command->untilString(), |
|
33 | ]); |
||
34 | 1 | return new ReportUuidResult($rawResponse); |
|
35 | } |
||
37 |