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: | class V1Client extends ApiResource |
15: | { |
16: | /** |
17: | * Resource /{merchantId} |
18: | * |
19: | * @param string $merchantId |
20: | * @return MerchantClient |
21: | */ |
22: | public function merchant($merchantId) |
23: | { |
24: | $newContext = $this->context; |
25: | $newContext['merchantId'] = $merchantId; |
26: | return new MerchantClient($this, $newContext); |
27: | } |
28: | } |
29: |