1: | <?php |
2: | |
3: | |
4: | |
5: | namespace Worldline\Acquiring\Sdk\V1; |
6: | |
7: | use Worldline\Acquiring\Sdk\ApiResource; |
8: | use Worldline\Acquiring\Sdk\V1\Acquirer\AcquirerClient; |
9: | use Worldline\Acquiring\Sdk\V1\Ping\PingClient; |
10: | |
11: | |
12: | |
13: | |
14: | class V1Client extends ApiResource |
15: | { |
16: | |
17: | |
18: | |
19: | |
20: | |
21: | |
22: | public function acquirer($acquirerId) |
23: | { |
24: | $newContext = $this->context; |
25: | $newContext['acquirerId'] = $acquirerId; |
26: | return new AcquirerClient($this, $newContext); |
27: | } |
28: | |
29: | |
30: | |
31: | |
32: | |
33: | |
34: | public function ping() |
35: | { |
36: | return new PingClient($this, $this->context); |
37: | } |
38: | } |
39: | |