1 | <?php |
||
14 | final class Request implements CreatableFromArray |
||
15 | { |
||
16 | /** |
||
17 | * @var ?string |
||
18 | */ |
||
19 | private $id; |
||
20 | |||
21 | /** |
||
22 | * @var ?string |
||
23 | */ |
||
24 | private $idempotencyKey; |
||
25 | |||
26 | private function __construct() |
||
29 | |||
30 | public static function createFromArray(array $data): self |
||
38 | |||
39 | public function getId(): ?string |
||
43 | |||
44 | public function getIdempotencyKey(): ?string |
||
48 | } |
||
49 |