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