1 | <?php |
||
20 | class Gateway extends AbstractGateway |
||
21 | { |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function getName( ) |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function getDefaultParameters( ) |
||
44 | |||
45 | /** |
||
46 | * Get the unified purse. |
||
47 | * |
||
48 | * @return string merchant purse |
||
49 | */ |
||
50 | public function getPurse( ) |
||
54 | |||
55 | /** |
||
56 | * Set the unified purse. |
||
57 | * |
||
58 | * @param $value |
||
59 | * @return self |
||
60 | */ |
||
61 | public function setPurse( $value ) |
||
65 | |||
66 | /** |
||
67 | * Get the unified secret. |
||
68 | * @return string merchant secret - sign key |
||
69 | */ |
||
70 | public function getSecret( ) |
||
74 | |||
75 | /** |
||
76 | * Set the unified secret. |
||
77 | * @param string $value merchant secret - sign key |
||
78 | * @return self |
||
79 | */ |
||
80 | public function setSecret( $value ) |
||
84 | |||
85 | /** |
||
86 | * Get the merchant purse. |
||
87 | * |
||
88 | * @return string merchant purse |
||
89 | */ |
||
90 | public function getCheckoutId( ) |
||
94 | |||
95 | /** |
||
96 | * Set the merchant purse. |
||
97 | * |
||
98 | * @param string $value merchant purse |
||
99 | * |
||
100 | * @return self |
||
101 | */ |
||
102 | public function setCheckoutId( $value ) |
||
106 | |||
107 | /** |
||
108 | * Get the sign algorithm. |
||
109 | * |
||
110 | * @return string sign algorithm |
||
111 | */ |
||
112 | public function getSignAlgorithm( ) |
||
116 | |||
117 | /** |
||
118 | * Set the sign algorithm. |
||
119 | * |
||
120 | * @param string $value sign algorithm |
||
121 | * |
||
122 | * @return self |
||
123 | */ |
||
124 | public function setSignAlgorithm( $value ) |
||
128 | |||
129 | /** |
||
130 | * Get the sign key. |
||
131 | * |
||
132 | * @return string sign key |
||
133 | */ |
||
134 | public function getSignKey( ) |
||
138 | |||
139 | /** |
||
140 | * Set the sign key. |
||
141 | * |
||
142 | * @param string $value sign key |
||
143 | * |
||
144 | * @return self |
||
145 | */ |
||
146 | public function setSignKey( $value ) |
||
150 | |||
151 | /** |
||
152 | * Get the test key. |
||
153 | * |
||
154 | * @return string test key |
||
155 | */ |
||
156 | public function getTestKey( ) |
||
160 | |||
161 | /** |
||
162 | * Set the test key. |
||
163 | * |
||
164 | * @param string $value test key |
||
165 | * |
||
166 | * @return self |
||
167 | */ |
||
168 | public function setTestKey( $value ) |
||
172 | |||
173 | /** |
||
174 | * @param array $parameters |
||
175 | * |
||
176 | * @return \Omnipay\InterKassa\Message\PurchaseReques |
||
177 | */ |
||
178 | public function purchase( array $parameters = [] ) |
||
184 | |||
185 | /** |
||
186 | * @param array $parameters |
||
187 | * |
||
188 | * @return \Omnipay\InterKassa\Message\CompletePurchaseRequest |
||
189 | */ |
||
190 | public function completePurchase( array $parameters = [] ) |
||
196 | |||
197 | /** |
||
198 | * @param array $parameters |
||
199 | * |
||
200 | * @return \Omnipay\InterKassa\Message\NotificationRequest |
||
201 | */ |
||
202 | public function acceptNotification( array $parameters = [] ) |
||
208 | |||
209 | } |
||
210 |