1 | <?php |
||
7 | class BatchStatus extends Response |
||
8 | { |
||
9 | /** |
||
10 | * @var Stat |
||
11 | */ |
||
12 | protected $stat; |
||
13 | |||
14 | /** |
||
15 | * @var Details |
||
16 | */ |
||
17 | protected $details; |
||
18 | |||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | protected $status; |
||
23 | |||
24 | 1 | public function init() : void |
|
38 | |||
39 | /** |
||
40 | * Returns true if the request was successful |
||
41 | * |
||
42 | * @return bool |
||
43 | */ |
||
44 | public function isSuccessful() |
||
48 | |||
49 | /** |
||
50 | * @return Stat |
||
51 | */ |
||
52 | 1 | public function getStat(): Stat |
|
56 | |||
57 | /** |
||
58 | * @return Details |
||
59 | */ |
||
60 | 1 | public function getDetails(): Details |
|
64 | |||
65 | /** |
||
66 | * @return int |
||
67 | */ |
||
68 | 1 | public function getStatus(): int |
|
72 | } |
||
73 |