1: <?php
2: /*
3: * This file was automatically generated.
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: * V1 client
13: */
14: class V1Client extends ApiResource
15: {
16: /**
17: * Resource /processing/v1/{acquirerId}
18: *
19: * @param string $acquirerId
20: * @return AcquirerClient
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: * Resource /services/v1/ping
31: *
32: * @return PingClient
33: */
34: public function ping()
35: {
36: return new PingClient($this, $this->context);
37: }
38: }
39: