1 | <?php |
||
19 | class Gateway extends AbstractGateway |
||
20 | { |
||
21 | |||
22 | public function getName() |
||
26 | |||
27 | /** |
||
28 | * Get the gateway parameters. |
||
29 | * |
||
30 | * @return array |
||
31 | */ |
||
32 | public function getDefaultParameters() |
||
39 | |||
40 | /** |
||
41 | * Get the gateway API Key. |
||
42 | * |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getApiKey() |
||
49 | |||
50 | /** |
||
51 | * Set the gateway API Key. |
||
52 | * |
||
53 | * @param string $value |
||
54 | * |
||
55 | * @return Gateway provides a fluent interface. |
||
56 | */ |
||
57 | public function setApiKey($value) |
||
61 | |||
62 | /** |
||
63 | * Create a type request |
||
64 | * |
||
65 | * @param array $parameters |
||
66 | * @return \Omnipay\Common\Message\AbstractRequest |
||
67 | */ |
||
68 | public function createType(array $parameters = array()) |
||
72 | |||
73 | /** |
||
74 | * Create a customer request |
||
75 | * |
||
76 | * @param array $parameters |
||
77 | * @return \Omnipay\Common\Message\AbstractRequest |
||
78 | */ |
||
79 | public function createCustomer(array $parameters = array()) |
||
83 | |||
84 | /** |
||
85 | * Authorize and handling of return from 3D Secure or PayPal redirection. |
||
86 | * @param array $parameters |
||
87 | * @return \Omnipay\Common\Message\AbstractRequest |
||
88 | */ |
||
89 | public function authorize(array $parameters = []) |
||
93 | |||
94 | public function capture(array $parameters = array()) |
||
98 | |||
99 | public function purchase(array $parameters = array()) |
||
103 | } |
||
104 |