| 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 | 2 | public function reportUuid(ReportUuidCommand $command): ReportUuidResult |
|
| 26 | { |
||
| 27 | 2 | $soapCaller = $this->settings()->createCallerForService(Services::utilities()); |
|
| 28 | 2 | $rawResponse = $soapCaller->call('report_uuid', [ |
|
| 29 | 2 | 'taxpayer_id' => $command->rfc(), |
|
| 30 | 2 | 'invoice_type' => $command->type(), |
|
| 31 | 2 | 'date_from' => $command->sinceString(), |
|
| 32 | 2 | 'date_to' => $command->untilString(), |
|
| 33 | 2 | ]); |
|
| 34 | 2 | return new ReportUuidResult($rawResponse); |
|
| 35 | } |
||
| 37 |