Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class CancelAllOrderResponseItem extends AbstractResponse implements ICancelAllOrderResponseItemInterface |
||
9 | { |
||
10 | /** |
||
11 | * Order id |
||
12 | * @var string $orderId |
||
13 | */ |
||
14 | private string $orderId; |
||
15 | |||
16 | /** |
||
17 | * User customised order id |
||
18 | * @var string $orderLinkId |
||
19 | */ |
||
20 | private string $orderLinkId; |
||
21 | |||
22 | public function __construct(array $data) |
||
23 | { |
||
24 | $this->orderId = $data['orderId']; |
||
25 | $this->orderLinkId = $data['orderLinkId']; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getOrderId(): string |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getOrderLinkId(): string |
||
42 | } |
||
43 | } |