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