1: <?php
2: /*
3: * This file was automatically generated.
4: */
5: namespace Worldline\Acquiring\Sdk\V1\Acquirer\Merchant;
6:
7: use Worldline\Acquiring\Sdk\ApiResource;
8: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Accountverifications\AccountVerificationsClient;
9: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Dynamiccurrencyconversion\DynamicCurrencyConversionClient;
10: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Payments\PaymentsClient;
11: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Refunds\RefundsClient;
12: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Technicalreversals\TechnicalReversalsClient;
13:
14: /**
15: * Merchant client.
16: */
17: class MerchantClient extends ApiResource
18: {
19: /**
20: * Resource /processing/v1/{acquirerId}/{merchantId}/payments
21: *
22: * @return PaymentsClient
23: */
24: public function payments()
25: {
26: return new PaymentsClient($this, $this->context);
27: }
28:
29: /**
30: * Resource /processing/v1/{acquirerId}/{merchantId}/refunds
31: *
32: * @return RefundsClient
33: */
34: public function refunds()
35: {
36: return new RefundsClient($this, $this->context);
37: }
38:
39: /**
40: * Resource /processing/v1/{acquirerId}/{merchantId}/account-verifications
41: *
42: * @return AccountVerificationsClient
43: */
44: public function accountVerifications()
45: {
46: return new AccountVerificationsClient($this, $this->context);
47: }
48:
49: /**
50: * Resource /processing/v1/{acquirerId}/{merchantId}/operations/{operationId}/reverse
51: *
52: * @return TechnicalReversalsClient
53: */
54: public function technicalReversals()
55: {
56: return new TechnicalReversalsClient($this, $this->context);
57: }
58:
59: /**
60: * Resource /services/v1/{acquirerId}/{merchantId}/dcc-rates
61: *
62: * @return DynamicCurrencyConversionClient
63: */
64: public function dynamicCurrencyConversion()
65: {
66: return new DynamicCurrencyConversionClient($this, $this->context);
67: }
68: }
69: