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\Merchant;
7:
8: use Worldline\Connect\Sdk\ApiResource;
9: use Worldline\Connect\Sdk\V1\Merchant\Captures\CapturesClient;
10: use Worldline\Connect\Sdk\V1\Merchant\Disputes\DisputesClient;
11: use Worldline\Connect\Sdk\V1\Merchant\Files\FilesClient;
12: use Worldline\Connect\Sdk\V1\Merchant\Hostedcheckouts\HostedcheckoutsClient;
13: use Worldline\Connect\Sdk\V1\Merchant\Hostedmandatemanagements\HostedmandatemanagementsClient;
14: use Worldline\Connect\Sdk\V1\Merchant\Installments\InstallmentsClient;
15: use Worldline\Connect\Sdk\V1\Merchant\Mandates\MandatesClient;
16: use Worldline\Connect\Sdk\V1\Merchant\Payments\PaymentsClient;
17: use Worldline\Connect\Sdk\V1\Merchant\Payouts\PayoutsClient;
18: use Worldline\Connect\Sdk\V1\Merchant\Productgroups\ProductgroupsClient;
19: use Worldline\Connect\Sdk\V1\Merchant\Products\ProductsClient;
20: use Worldline\Connect\Sdk\V1\Merchant\Refunds\RefundsClient;
21: use Worldline\Connect\Sdk\V1\Merchant\Riskassessments\RiskassessmentsClient;
22: use Worldline\Connect\Sdk\V1\Merchant\Services\ServicesClient;
23: use Worldline\Connect\Sdk\V1\Merchant\Sessions\SessionsClient;
24: use Worldline\Connect\Sdk\V1\Merchant\Tokens\TokensClient;
25:
26: class MerchantClient extends ApiResource
27: {
28: /**
29: * Resource /{merchantId}/hostedcheckouts
30: *
31: * @return HostedcheckoutsClient
32: */
33: public function hostedcheckouts()
34: {
35: return new HostedcheckoutsClient($this, $this->context);
36: }
37:
38: /**
39: * Resource /{merchantId}/hostedmandatemanagements
40: *
41: * @return HostedmandatemanagementsClient
42: */
43: public function hostedmandatemanagements()
44: {
45: return new HostedmandatemanagementsClient($this, $this->context);
46: }
47:
48: /**
49: * Resource /{merchantId}/payments
50: *
51: * @return PaymentsClient
52: */
53: public function payments()
54: {
55: return new PaymentsClient($this, $this->context);
56: }
57:
58: /**
59: * Resource /{merchantId}/captures
60: *
61: * @return CapturesClient
62: */
63: public function captures()
64: {
65: return new CapturesClient($this, $this->context);
66: }
67:
68: /**
69: * Resource /{merchantId}/refunds
70: *
71: * @return RefundsClient
72: */
73: public function refunds()
74: {
75: return new RefundsClient($this, $this->context);
76: }
77:
78: /**
79: * Resource /{merchantId}/disputes
80: *
81: * @return DisputesClient
82: */
83: public function disputes()
84: {
85: return new DisputesClient($this, $this->context);
86: }
87:
88: /**
89: * Resource /{merchantId}/payouts
90: *
91: * @return PayoutsClient
92: */
93: public function payouts()
94: {
95: return new PayoutsClient($this, $this->context);
96: }
97:
98: /**
99: * Resource /{merchantId}/productgroups
100: *
101: * @return ProductgroupsClient
102: */
103: public function productgroups()
104: {
105: return new ProductgroupsClient($this, $this->context);
106: }
107:
108: /**
109: * Resource /{merchantId}/products
110: *
111: * @return ProductsClient
112: */
113: public function products()
114: {
115: return new ProductsClient($this, $this->context);
116: }
117:
118: /**
119: * Resource /{merchantId}/riskassessments
120: *
121: * @return RiskassessmentsClient
122: */
123: public function riskassessments()
124: {
125: return new RiskassessmentsClient($this, $this->context);
126: }
127:
128: /**
129: * Resource /{merchantId}/services
130: *
131: * @return ServicesClient
132: */
133: public function services()
134: {
135: return new ServicesClient($this, $this->context);
136: }
137:
138: /**
139: * Resource /{merchantId}/tokens
140: *
141: * @return TokensClient
142: */
143: public function tokens()
144: {
145: return new TokensClient($this, $this->context);
146: }
147:
148: /**
149: * Resource /{merchantId}/mandates
150: *
151: * @return MandatesClient
152: */
153: public function mandates()
154: {
155: return new MandatesClient($this, $this->context);
156: }
157:
158: /**
159: * Resource /{merchantId}/sessions
160: *
161: * @return SessionsClient
162: */
163: public function sessions()
164: {
165: return new SessionsClient($this, $this->context);
166: }
167:
168: /**
169: * Resource /{merchantId}/installments
170: *
171: * @return InstallmentsClient
172: */
173: public function installments()
174: {
175: return new InstallmentsClient($this, $this->context);
176: }
177:
178: /**
179: * Resource /{merchantId}/files
180: *
181: * @return FilesClient
182: */
183: public function files()
184: {
185: return new FilesClient($this, $this->context);
186: }
187: }
188: