1: | <?php |
2: | /* |
3: | * This file was automatically generated. |
4: | */ |
5: | namespace Worldline\Acquiring\Sdk\V1\Acquirer; |
6: | |
7: | use Worldline\Acquiring\Sdk\ApiResource; |
8: | use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\MerchantClient; |
9: | |
10: | /** |
11: | * Acquirer client. |
12: | */ |
13: | class AcquirerClient extends ApiResource |
14: | { |
15: | /** |
16: | * Resource /processing/v1/{acquirerId}/{merchantId} |
17: | * |
18: | * @param string $merchantId |
19: | * @return MerchantClient |
20: | */ |
21: | public function merchant($merchantId) |
22: | { |
23: | $newContext = $this->context; |
24: | $newContext['merchantId'] = $merchantId; |
25: | return new MerchantClient($this, $newContext); |
26: | } |
27: | } |
28: |