1 | <?php |
||
9 | class Token extends Model implements TokenInterface |
||
10 | { |
||
11 | /** |
||
12 | * $incrementing. |
||
13 | * |
||
14 | * @var bool |
||
15 | */ |
||
16 | public $incrementing = false; |
||
17 | /** |
||
18 | * $table. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $table = 'payum_tokens'; |
||
23 | |||
24 | /** |
||
25 | * $primaryKey. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $primaryKey = 'hash'; |
||
30 | |||
31 | /** |
||
32 | * $unguarded. |
||
33 | * |
||
34 | * @var bool |
||
35 | */ |
||
36 | protected static $unguarded = true; |
||
37 | |||
38 | /** |
||
39 | * __construct. |
||
40 | * |
||
41 | * @param array $attributes |
||
42 | */ |
||
43 | 5 | public function __construct(array $attributes = []) |
|
48 | |||
49 | /** |
||
50 | * getHash. |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | 1 | public function getHash() |
|
58 | |||
59 | /** |
||
60 | * setHash. |
||
61 | * |
||
62 | * @param string $hash |
||
63 | */ |
||
64 | 1 | public function setHash($hash) |
|
68 | |||
69 | /** |
||
70 | * setDetails. |
||
71 | * |
||
72 | * @param mixed $details |
||
73 | */ |
||
74 | 1 | public function setDetails($details) |
|
78 | |||
79 | /** |
||
80 | * getDetails. |
||
81 | * |
||
82 | * @return mixed |
||
83 | */ |
||
84 | 1 | public function getDetails() |
|
88 | |||
89 | /** |
||
90 | * getTargetUrl. |
||
91 | * |
||
92 | * @return string |
||
93 | */ |
||
94 | 1 | public function getTargetUrl() |
|
98 | |||
99 | /** |
||
100 | * setTargetUrl. |
||
101 | * |
||
102 | * @param string $targetUrl |
||
103 | */ |
||
104 | 1 | public function setTargetUrl($targetUrl) |
|
108 | |||
109 | /** |
||
110 | * getAfterUrl. |
||
111 | * |
||
112 | * @return string |
||
113 | */ |
||
114 | 1 | public function getAfterUrl() |
|
118 | |||
119 | /** |
||
120 | * setAfterUrl. |
||
121 | * |
||
122 | * @param string $afterUrl |
||
123 | */ |
||
124 | 1 | public function setAfterUrl($afterUrl) |
|
128 | |||
129 | /** |
||
130 | * getGatewayName. |
||
131 | * |
||
132 | * @return string |
||
133 | */ |
||
134 | 1 | public function getGatewayName() |
|
138 | |||
139 | /** |
||
140 | * setGatewayName. |
||
141 | * |
||
142 | * @param string $gatewayName |
||
143 | */ |
||
144 | 1 | public function setGatewayName($gatewayName) |
|
148 | } |
||
149 |