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() |
|
39 | |||
40 | /** |
||
41 | * Get the merchant purse. |
||
42 | * |
||
43 | * @return string merchant purse - email associated with the merchant account. |
||
44 | */ |
||
45 | 2 | public function getPurse() |
|
49 | |||
50 | /** |
||
51 | * Set the merchant purse. |
||
52 | * |
||
53 | * @param string $value merchant purse - email associated with the merchant account. |
||
54 | * @return self |
||
55 | */ |
||
56 | 29 | public function setPurse($value) |
|
60 | |||
61 | /** |
||
62 | * Get the merchant secret. Actually not used. |
||
63 | * |
||
64 | * @return string merchant secret |
||
65 | */ |
||
66 | 1 | public function getSecret() |
|
70 | |||
71 | /** |
||
72 | * Set the merchant secret. Actually not used. |
||
73 | * |
||
74 | * @param string $value merchant secret |
||
75 | * @return self |
||
76 | */ |
||
77 | 29 | public function setSecret($value) |
|
81 | |||
82 | /** |
||
83 | * @param array $parameters |
||
84 | * |
||
85 | * @return \Omnipay\PayPal\Message\PurchaseRequest |
||
86 | */ |
||
87 | 3 | public function purchase(array $parameters = []) |
|
91 | |||
92 | /** |
||
93 | * @param array $parameters |
||
94 | * |
||
95 | * @return \Omnipay\PayPal\Message\CompletePurchaseRequest |
||
96 | */ |
||
97 | 3 | public function completePurchase(array $parameters = []) |
|
101 | } |
||
102 |