| 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 | 6 | public function init() |
|
| 40 | |||
| 41 | /** |
||
| 42 | * Returns true if the request was successful |
||
| 43 | * |
||
| 44 | * @return bool |
||
| 45 | */ |
||
| 46 | public function isSuccessful() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return Stat |
||
| 53 | */ |
||
| 54 | public function getStat(): Stat |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return Details |
||
| 61 | */ |
||
| 62 | public function getDetails(): Details |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return int |
||
| 69 | */ |
||
| 70 | public function getStatus(): int |
||
| 74 | } |
||
| 75 |