1 | <?php |
||
11 | class Verification extends Model |
||
12 | { |
||
13 | /** |
||
14 | * @var string $state |
||
15 | */ |
||
16 | protected $state = null; |
||
17 | /** |
||
18 | * @var string $details |
||
19 | */ |
||
20 | protected $details = null; |
||
21 | |||
22 | /** |
||
23 | * @var string $uin |
||
24 | */ |
||
25 | protected $uin = null; |
||
26 | |||
27 | /** |
||
28 | * @var string $type |
||
29 | */ |
||
30 | protected $type = null; |
||
31 | |||
32 | /** |
||
33 | * @var string $possibleToCancel |
||
34 | */ |
||
35 | protected $possibleToCancel = null; |
||
36 | |||
37 | /** |
||
38 | * @var string $date |
||
39 | */ |
||
40 | protected $date = null; |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | protected $mappingClasses = []; |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | protected $propNameMap = [ |
||
51 | 'possibleToCancel' => 'possible-to-cancel', |
||
52 | ]; |
||
53 | |||
54 | /** |
||
55 | * Verification constructor. |
||
56 | * |
||
57 | * @param \SimpleXMLIterator $data |
||
58 | */ |
||
59 | public function __construct(\SimpleXMLIterator $data) |
||
63 | |||
64 | /** |
||
65 | * @return string|null |
||
66 | */ |
||
67 | public function getState() |
||
71 | |||
72 | /** |
||
73 | * @param string $state |
||
74 | * @return self |
||
75 | */ |
||
76 | public function setState($state) |
||
82 | |||
83 | /** |
||
84 | * @return string|null |
||
85 | */ |
||
86 | public function getDetails() |
||
90 | |||
91 | /** |
||
92 | * @param string $details |
||
93 | * @return $this |
||
94 | */ |
||
95 | public function setDetails($details) |
||
101 | |||
102 | /** |
||
103 | * @return string |
||
104 | */ |
||
105 | public function getUin() |
||
109 | |||
110 | /** |
||
111 | * @param string $uin |
||
112 | * @return $this |
||
113 | */ |
||
114 | public function setUin($uin) |
||
120 | |||
121 | /** |
||
122 | * @return string |
||
123 | */ |
||
124 | public function getType() |
||
128 | |||
129 | /** |
||
130 | * @param string $type |
||
131 | * @return $this |
||
132 | */ |
||
133 | public function setType($type) |
||
139 | |||
140 | /** |
||
141 | * @return string |
||
142 | */ |
||
143 | public function getPossibleToCancel() |
||
147 | |||
148 | /** |
||
149 | * @param string $possibleToCancel |
||
150 | * @return $this |
||
151 | */ |
||
152 | public function setPossibleToCancel($possibleToCancel) |
||
158 | |||
159 | /** |
||
160 | * @return string |
||
161 | */ |
||
162 | public function getDate() |
||
166 | |||
167 | /** |
||
168 | * @param string $date |
||
169 | * @return $this |
||
170 | */ |
||
171 | protected function setDate($date) |
||
177 | } |
||
178 |