| Total Complexity | 6 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class FetchOrder implements HttpRequestBuilderInterface |
||
| 9 | { |
||
| 10 | public function __construct( |
||
| 11 | private readonly string $reference |
||
| 12 | ) {} |
||
| 13 | |||
| 14 | public function getXml(): ?string |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getHeaders(): array |
||
| 23 | ]; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getUrl(): string |
||
| 27 | { |
||
| 28 | return '/orders/' . $this->reference; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function isExpectXml(): bool |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getMethod(): string |
||
| 39 | } |
||
| 40 | } |