1 | <?php |
||
20 | class Application extends AbstractApplication |
||
21 | { |
||
22 | protected $commonParameters = [ |
||
23 | [ |
||
24 | 'key' => 'client_id', |
||
25 | ], |
||
26 | [ |
||
27 | 'key' => 'access_token', |
||
28 | ], |
||
29 | [ |
||
30 | 'key' => 'env', |
||
31 | 'options' => ['sandbox', 'api'], |
||
32 | 'default' => 'sandbox', |
||
33 | 'name' => 'Version', |
||
34 | ], |
||
35 | [ |
||
36 | 'key' => 'sslVersion', |
||
37 | 'options' => ['SecureTransport', 'TLS'], |
||
38 | 'default' => 'SecureTransport', |
||
39 | 'name' => 'SSL Version', |
||
40 | ], |
||
41 | [ |
||
42 | 'key' => 'registerPath', |
||
43 | 'default' => false, |
||
44 | ], |
||
45 | ]; |
||
46 | |||
47 | public function factorySdk(array $options) |
||
53 | |||
54 | public function appendCommand($name, $description, array $definition = []) |
||
60 | } |
||
61 |