1 | <?php |
||
19 | class Gateway extends AbstractGateway |
||
20 | { |
||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | 1 | public function getName() |
|
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | 29 | public function getDefaultParameters() |
|
40 | |||
41 | /** |
||
42 | * Get the unified purse. |
||
43 | * |
||
44 | * @return string merchant purse |
||
45 | */ |
||
46 | 2 | public function getPurse() |
|
50 | |||
51 | /** |
||
52 | * Set the unified purse. |
||
53 | * |
||
54 | * @param string $value merchant purse |
||
55 | * |
||
56 | * @return self |
||
57 | */ |
||
58 | 29 | public function setPurse($value) |
|
62 | |||
63 | /** |
||
64 | * Get the unified secret key. |
||
65 | * |
||
66 | * @return string secret key |
||
67 | */ |
||
68 | 2 | public function getSecret() |
|
72 | |||
73 | /** |
||
74 | * Set the unified secret key. |
||
75 | * |
||
76 | * @param string $value secret key |
||
77 | * |
||
78 | * @return self |
||
79 | */ |
||
80 | 29 | public function setSecret($value) |
|
84 | |||
85 | /** |
||
86 | * @param array $parameters |
||
87 | * |
||
88 | * @return \Omnipay\eCoin\Message\PurchaseRequest |
||
89 | */ |
||
90 | 3 | public function purchase(array $parameters = []) |
|
94 | |||
95 | /** |
||
96 | * @param array $parameters |
||
97 | * |
||
98 | * @return \Omnipay\eCoin\Message\CompletePurchaseRequest |
||
99 | */ |
||
100 | 3 | public function completePurchase(array $parameters = []) |
|
104 | } |
||
105 |