1 | <?php |
||
10 | class PayPal |
||
11 | { |
||
12 | use PayPalAPIRequest; |
||
13 | |||
14 | /** |
||
15 | * ExpressCheckout constructor. |
||
16 | * |
||
17 | * @param array $config |
||
18 | * |
||
19 | * @throws Exception |
||
20 | */ |
||
21 | public function __construct(array $config = []) |
||
30 | |||
31 | /** |
||
32 | * Set ExpressCheckout API endpoints & options. |
||
33 | * |
||
34 | * @param array $credentials |
||
35 | * |
||
36 | * @return void |
||
37 | */ |
||
38 | public function setOptions($credentials) |
||
58 | } |
||
59 |