1: | <?php |
2: | |
3: | |
4: | |
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: | |
30: | |
31: | |
32: | |
33: | public function hostedcheckouts() |
34: | { |
35: | return new HostedcheckoutsClient($this, $this->context); |
36: | } |
37: | |
38: | |
39: | |
40: | |
41: | |
42: | |
43: | public function hostedmandatemanagements() |
44: | { |
45: | return new HostedmandatemanagementsClient($this, $this->context); |
46: | } |
47: | |
48: | |
49: | |
50: | |
51: | |
52: | |
53: | public function payments() |
54: | { |
55: | return new PaymentsClient($this, $this->context); |
56: | } |
57: | |
58: | |
59: | |
60: | |
61: | |
62: | |
63: | public function captures() |
64: | { |
65: | return new CapturesClient($this, $this->context); |
66: | } |
67: | |
68: | |
69: | |
70: | |
71: | |
72: | |
73: | public function refunds() |
74: | { |
75: | return new RefundsClient($this, $this->context); |
76: | } |
77: | |
78: | |
79: | |
80: | |
81: | |
82: | |
83: | public function disputes() |
84: | { |
85: | return new DisputesClient($this, $this->context); |
86: | } |
87: | |
88: | |
89: | |
90: | |
91: | |
92: | |
93: | public function payouts() |
94: | { |
95: | return new PayoutsClient($this, $this->context); |
96: | } |
97: | |
98: | |
99: | |
100: | |
101: | |
102: | |
103: | public function productgroups() |
104: | { |
105: | return new ProductgroupsClient($this, $this->context); |
106: | } |
107: | |
108: | |
109: | |
110: | |
111: | |
112: | |
113: | public function products() |
114: | { |
115: | return new ProductsClient($this, $this->context); |
116: | } |
117: | |
118: | |
119: | |
120: | |
121: | |
122: | |
123: | public function riskassessments() |
124: | { |
125: | return new RiskassessmentsClient($this, $this->context); |
126: | } |
127: | |
128: | |
129: | |
130: | |
131: | |
132: | |
133: | public function services() |
134: | { |
135: | return new ServicesClient($this, $this->context); |
136: | } |
137: | |
138: | |
139: | |
140: | |
141: | |
142: | |
143: | public function tokens() |
144: | { |
145: | return new TokensClient($this, $this->context); |
146: | } |
147: | |
148: | |
149: | |
150: | |
151: | |
152: | |
153: | public function mandates() |
154: | { |
155: | return new MandatesClient($this, $this->context); |
156: | } |
157: | |
158: | |
159: | |
160: | |
161: | |
162: | |
163: | public function sessions() |
164: | { |
165: | return new SessionsClient($this, $this->context); |
166: | } |
167: | |
168: | |
169: | |
170: | |
171: | |
172: | |
173: | public function installments() |
174: | { |
175: | return new InstallmentsClient($this, $this->context); |
176: | } |
177: | |
178: | |
179: | |
180: | |
181: | |
182: | |
183: | public function files() |
184: | { |
185: | return new FilesClient($this, $this->context); |
186: | } |
187: | } |
188: | |