| 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 $type |
||
| 24 | */ |
||
| 25 | protected $type = null; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string $possibleToCancel |
||
| 29 | */ |
||
| 30 | protected $possibleToCancel = null; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string $date |
||
| 34 | */ |
||
| 35 | protected $date = null; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | protected $mappingClasses = []; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | protected $propNameMap = [ |
||
| 46 | 'state' => 'state', |
||
| 47 | 'details' => 'details', |
||
| 48 | ]; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Verification constructor. |
||
| 52 | * |
||
| 53 | * @param \SimpleXMLIterator $data |
||
| 54 | */ |
||
| 55 | public function __construct(\SimpleXMLIterator $data) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string|null |
||
| 62 | */ |
||
| 63 | public function getState() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param string $state |
||
| 70 | */ |
||
| 71 | protected function setState($state) |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return string|null |
||
| 78 | */ |
||
| 79 | public function getDetails() |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @param string $details |
||
| 86 | */ |
||
| 87 | protected function setDetails($details) |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @return string |
||
| 94 | */ |
||
| 95 | public function getType() |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @param string $type |
||
| 102 | */ |
||
| 103 | protected function setType($type) |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @return string |
||
| 110 | */ |
||
| 111 | public function getPossibleToCancel() |
||
| 115 | |||
| 116 | /** |
||
| 117 | * @param string $possibleToCancel |
||
| 118 | */ |
||
| 119 | protected function setPossibleToCancel($possibleToCancel) |
||
| 123 | |||
| 124 | /** |
||
| 125 | * @return string |
||
| 126 | */ |
||
| 127 | public function getDate() |
||
| 131 | |||
| 132 | /** |
||
| 133 | * @param string $date |
||
| 134 | */ |
||
| 135 | protected function setDate($date) |
||
| 139 | } |
||
| 140 |