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\Balanceinquiries\BalanceInquiriesClient;
10: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Dynamiccurrencyconversion\DynamicCurrencyConversionClient;
11: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Payments\PaymentsClient;
12: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Refunds\RefundsClient;
13: use Worldline\Acquiring\Sdk\V1\Acquirer\Merchant\Technicalreversals\TechnicalReversalsClient;
14:
15: /**
16: * Merchant client.
17: */
18: class MerchantClient extends ApiResource
19: {
20: /**
21: * Resource /processing/v1/{acquirerId}/{merchantId}/payments
22: *
23: * @return PaymentsClient
24: */
25: public function payments()
26: {
27: return new PaymentsClient($this, $this->context);
28: }
29:
30: /**
31: * Resource /processing/v1/{acquirerId}/{merchantId}/refunds
32: *
33: * @return RefundsClient
34: */
35: public function refunds()
36: {
37: return new RefundsClient($this, $this->context);
38: }
39:
40: /**
41: * Resource /processing/v1/{acquirerId}/{merchantId}/account-verifications
42: *
43: * @return AccountVerificationsClient
44: */
45: public function accountVerifications()
46: {
47: return new AccountVerificationsClient($this, $this->context);
48: }
49:
50: /**
51: * Resource /processing/v1/{acquirerId}/{merchantId}/balance-inquiries
52: *
53: * @return BalanceInquiriesClient
54: */
55: public function balanceInquiries()
56: {
57: return new BalanceInquiriesClient($this, $this->context);
58: }
59:
60: /**
61: * Resource /processing/v1/{acquirerId}/{merchantId}/operations/{operationId}/reverse
62: *
63: * @return TechnicalReversalsClient
64: */
65: public function technicalReversals()
66: {
67: return new TechnicalReversalsClient($this, $this->context);
68: }
69:
70: /**
71: * Resource /services/v1/{acquirerId}/{merchantId}/dcc-rates
72: *
73: * @return DynamicCurrencyConversionClient
74: */
75: public function dynamicCurrencyConversion()
76: {
77: return new DynamicCurrencyConversionClient($this, $this->context);
78: }
79: }
80: