1: <?php
2: /*
3: * This class was auto-generated from the API references found at
4: * https://apireference.connect.worldline-solutions.com/
5: */
6: namespace Worldline\Connect\Sdk\V1;
7:
8: use Worldline\Connect\Sdk\ApiResource;
9: use Worldline\Connect\Sdk\V1\Merchant\MerchantClient;
10:
11: /**
12: * V1 client
13: *
14: * @package Worldline\Connect\Sdk\V1
15: */
16: class V1Client extends ApiResource
17: {
18: /**
19: * Resource /{merchantId}
20: *
21: * @param string $merchantId
22: *
23: * @return MerchantClient
24: */
25: public function merchant(string $merchantId): MerchantClient
26: {
27: $newContext = $this->context;
28: $newContext['merchantId'] = $merchantId;
29: return new MerchantClient($this, $newContext);
30: }
31: }
32: