1 | <?php |
||
9 | class Gateway extends AbstractGateway |
||
10 | { |
||
11 | /** |
||
12 | * Version of API. |
||
13 | */ |
||
14 | const VERSION = '1.6'; |
||
15 | |||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | 1 | public function getName() |
|
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | 20 | public function getDefaultParameters() |
|
34 | |||
35 | /** |
||
36 | * Get the Project ID. |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | 1 | public function getProjectId() |
|
44 | |||
45 | /** |
||
46 | * Set the Project ID. |
||
47 | * |
||
48 | * @param string $value |
||
49 | * @return $this |
||
50 | */ |
||
51 | 20 | public function setProjectId($value) |
|
55 | |||
56 | /** |
||
57 | * Get the password. |
||
58 | * |
||
59 | * @return string |
||
60 | */ |
||
61 | 1 | public function getPassword() |
|
65 | |||
66 | /** |
||
67 | * Set the password. |
||
68 | * |
||
69 | * @param string $value |
||
70 | * @return $this |
||
71 | */ |
||
72 | 20 | public function setPassword($value) |
|
76 | |||
77 | /** |
||
78 | * Get the API version. |
||
79 | * |
||
80 | * @return string |
||
81 | */ |
||
82 | 1 | public function getVersion() |
|
86 | |||
87 | /** |
||
88 | * Set the API version. |
||
89 | * |
||
90 | * @param string $value |
||
91 | * @return $this |
||
92 | */ |
||
93 | 2 | public function setVersion($value) |
|
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | 3 | public function purchase(array $options = []) |
|
105 | |||
106 | /** |
||
107 | * {@inheritdoc} |
||
108 | */ |
||
109 | 1 | public function acceptNotification(array $options = []) |
|
113 | } |
||
114 |