1: | <?php |
2: | |
3: | |
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: | |
16: | |
17: | class MerchantClient extends ApiResource |
18: | { |
19: | |
20: | |
21: | |
22: | |
23: | |
24: | public function payments() |
25: | { |
26: | return new PaymentsClient($this, $this->context); |
27: | } |
28: | |
29: | |
30: | |
31: | |
32: | |
33: | |
34: | public function refunds() |
35: | { |
36: | return new RefundsClient($this, $this->context); |
37: | } |
38: | |
39: | |
40: | |
41: | |
42: | |
43: | |
44: | public function accountVerifications() |
45: | { |
46: | return new AccountVerificationsClient($this, $this->context); |
47: | } |
48: | |
49: | |
50: | |
51: | |
52: | |
53: | |
54: | public function technicalReversals() |
55: | { |
56: | return new TechnicalReversalsClient($this, $this->context); |
57: | } |
58: | |
59: | |
60: | |
61: | |
62: | |
63: | |
64: | public function dynamicCurrencyConversion() |
65: | { |
66: | return new DynamicCurrencyConversionClient($this, $this->context); |
67: | } |
68: | } |
69: | |