| Total Complexity | 6 | 
| Total Lines | 34 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 9 | class CancelledDocument  | 
            ||
| 10 | { | 
            ||
| 11 | /** @var stdClass */  | 
            ||
| 12 | private $data;  | 
            ||
| 13 | |||
| 14 | 10 | public function __construct(stdClass $raw)  | 
            |
| 15 |     { | 
            ||
| 16 | 10 | $this->data = $raw;  | 
            |
| 17 | }  | 
            ||
| 18 | |||
| 19 | 7 | private function get(string $keyword): string  | 
            |
| 20 |     { | 
            ||
| 21 | 7 |         return strval($this->data->{$keyword} ?? ''); | 
            |
| 22 | }  | 
            ||
| 23 | |||
| 24 | 7 | public function uuid(): string  | 
            |
| 25 |     { | 
            ||
| 26 | 7 |         return $this->get('UUID'); | 
            |
| 27 | }  | 
            ||
| 28 | |||
| 29 | 1 | public function documentStatus(): string  | 
            |
| 32 | }  | 
            ||
| 33 | |||
| 34 | 1 | public function cancellationStatus(): string  | 
            |
| 35 |     { | 
            ||
| 36 | 1 |         return $this->get('EstatusCancelacion'); | 
            |
| 37 | }  | 
            ||
| 38 | |||
| 39 | /** @return array<mixed> */  | 
            ||
| 40 | 2 | public function values(): array  | 
            |
| 43 | }  | 
            ||
| 44 | }  | 
            ||
| 45 |