| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class DeleteShipmentRequest implements RequestInterface |
||
| 8 | { |
||
| 9 | private $authentication; |
||
| 10 | |||
| 11 | private $trackingNumbers = []; |
||
| 12 | |||
| 13 | public function __construct(Authentication $authentication, array $trackingNumbers) |
||
| 14 | { |
||
| 15 | $this->authentication = $authentication; |
||
| 16 | $this->trackingNumbers = $trackingNumbers; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function toArray(): array |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getTrackingNumbers(): string |
||
| 28 | { |
||
| 29 | return implode('|', $this->trackingNumbers); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getCountry(): string |
||
| 35 | } |
||
| 36 | } |