1 | <?php |
||
15 | class RestGateway extends AbstractGateway |
||
16 | { |
||
17 | 3 | public function getName() |
|
21 | |||
22 | 98 | public function getDefaultParameters() |
|
23 | { |
||
24 | return array( |
||
25 | 98 | 'apiKey' => '', |
|
26 | 36 | 'key' => '', |
|
27 | 36 | 'testMode' => true, |
|
28 | 36 | ); |
|
29 | } |
||
30 | |||
31 | 3 | public function getApiKey() |
|
35 | |||
36 | 18 | public function setApiKey($value) |
|
40 | |||
41 | 3 | public function getKey() |
|
45 | |||
46 | 18 | public function setKey($value) |
|
50 | |||
51 | /** |
||
52 | * @return Message\RestAuthorizeRequest |
||
53 | */ |
||
54 | 12 | public function authorize(array $parameters = array()) |
|
58 | |||
59 | 12 | public function completeAuthorize(array $options = array()) |
|
63 | |||
64 | 12 | public function capture(array $options = array()) |
|
68 | |||
69 | 12 | public function void(array $options = array()) |
|
73 | |||
74 | 12 | public function refund(array $options = array()) |
|
78 | } |
||
79 |