1 | <?php |
||
12 | class Result |
||
13 | { |
||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | private $requestId; |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | private $score; |
||
22 | /** |
||
23 | * @var bool |
||
24 | */ |
||
25 | private $accept; |
||
26 | /** |
||
27 | * @var bool |
||
28 | */ |
||
29 | private $reject; |
||
30 | /** |
||
31 | * @var bool |
||
32 | */ |
||
33 | private $manual; |
||
34 | |||
35 | /** |
||
36 | * Result constructor. |
||
37 | * |
||
38 | * @param int $requestId |
||
39 | * @param int $score |
||
40 | * @param bool $accept |
||
41 | * @param bool $reject |
||
42 | * @param bool $manual |
||
43 | */ |
||
44 | public function __construct($requestId, $score, $accept, $reject, $manual) |
||
68 | |||
69 | /** |
||
70 | * @return int |
||
71 | */ |
||
72 | public function getRequestId() |
||
76 | |||
77 | /** |
||
78 | * @return int |
||
79 | */ |
||
80 | public function getScore() |
||
84 | |||
85 | /** |
||
86 | * @return boolean |
||
87 | */ |
||
88 | public function isAccept() |
||
92 | |||
93 | /** |
||
94 | * @return boolean |
||
95 | */ |
||
96 | public function isReject() |
||
100 | |||
101 | /** |
||
102 | * @return boolean |
||
103 | */ |
||
104 | public function isManual() |
||
108 | } |
||
109 |