Passed
Pull Request — master (#45)
by
unknown
03:36
created

ComputopClient::savePayuCeeSingleInitResponse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Client\Computop;
9
10
use Generated\Shared\Transfer\ComputopApiResponseHeaderTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...iResponseHeaderTransfer was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
use Generated\Shared\Transfer\ComputopNotificationTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...topNotificationTransfer was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
use Generated\Shared\Transfer\QuoteTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfer\QuoteTransfer was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
use Spryker\Client\Kernel\AbstractClient;
14
15
/**
16
 * @method \SprykerEco\Client\Computop\ComputopFactory getFactory()
17
 */
18
class ComputopClient extends AbstractClient implements ComputopClientInterface
19
{
20
    /**
21
     * {@inheritDoc}
22
     *
23
     * @api
24
     *
25
     * @param \Generated\Shared\Transfer\ComputopApiResponseHeaderTransfer $responseTransfer
26
     *
27
     * @return void
28
     */
29
    public function logResponse(ComputopApiResponseHeaderTransfer $responseTransfer)
30
    {
31
         $this->getFactory()->createZedStub()->logResponse($responseTransfer);
32
    }
33
34
    /**
35
     * {@inheritDoc}
36
     *
37
     * @api
38
     *
39
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
40
     *
41
     * @return \Generated\Shared\Transfer\QuoteTransfer
42
     */
43
    public function saveSofortInitResponse(QuoteTransfer $quoteTransfer)
44
    {
45
         return $this->getFactory()->createZedStub()->saveSofortInitResponse($quoteTransfer);
46
    }
47
48
    /**
49
     * {@inheritDoc}
50
     *
51
     * @api
52
     *
53
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
54
     *
55
     * @return \Generated\Shared\Transfer\QuoteTransfer
56
     */
57
    public function saveIdealInitResponse(QuoteTransfer $quoteTransfer)
58
    {
59
         return $this->getFactory()->createZedStub()->saveIdealInitResponse($quoteTransfer);
60
    }
61
62
    /**
63
     * {@inheritDoc}
64
     *
65
     * @api
66
     *
67
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
68
     *
69
     * @return \Generated\Shared\Transfer\QuoteTransfer
70
     */
71
    public function savePayuCeeSingleInitResponse(QuoteTransfer $quoteTransfer): QuoteTransfer
72
    {
73
         return $this->getFactory()->createZedStub()->savePayuCeeSingleInitResponse($quoteTransfer);
74
    }
75
76
    /**
77
     * {@inheritDoc}
78
     *
79
     * @api
80
     *
81
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
82
     *
83
     * @return \Generated\Shared\Transfer\QuoteTransfer
84
     */
85
    public function savePaydirektInitResponse(QuoteTransfer $quoteTransfer)
86
    {
87
         return $this->getFactory()->createZedStub()->savePaydirektInitResponse($quoteTransfer);
88
    }
89
90
    /**
91
     * {@inheritDoc}
92
     *
93
     * @api
94
     *
95
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
96
     *
97
     * @return \Generated\Shared\Transfer\QuoteTransfer
98
     */
99
    public function saveCreditCardInitResponse(QuoteTransfer $quoteTransfer)
100
    {
101
        return $this->getFactory()->createZedStub()->saveCreditCardInitResponse($quoteTransfer);
102
    }
103
104
    /**
105
     * {@inheritDoc}
106
     *
107
     * @api
108
     *
109
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
110
     *
111
     * @return \Generated\Shared\Transfer\QuoteTransfer
112
     */
113
    public function savePayNowInitResponse(QuoteTransfer $quoteTransfer)
114
    {
115
        return $this->getFactory()->createZedStub()->savePayNowInitResponse($quoteTransfer);
116
    }
117
118
    /**
119
     * {@inheritDoc}
120
     *
121
     * @api
122
     *
123
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
124
     *
125
     * @return \Generated\Shared\Transfer\QuoteTransfer
126
     */
127
    public function savePayPalInitResponse(QuoteTransfer $quoteTransfer)
128
    {
129
        return $this->getFactory()->createZedStub()->savePayPalInitResponse($quoteTransfer);
130
    }
131
132
    /**
133
     * {@inheritDoc}
134
     *
135
     * @api
136
     *
137
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
138
     *
139
     * @return \Generated\Shared\Transfer\QuoteTransfer
140
     */
141
    public function savePayPalExpressInitResponse(QuoteTransfer $quoteTransfer): QuoteTransfer
142
    {
143
        return $this->getFactory()->createZedStub()->savePayPalExpressInitResponse($quoteTransfer);
144
    }
145
146
    /**
147
     * {@inheritDoc}
148
     *
149
     * @api
150
     *
151
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
152
     *
153
     * @return \Generated\Shared\Transfer\QuoteTransfer
154
     */
155
    public function savePayPalExpressCompleteResponse(QuoteTransfer $quoteTransfer): QuoteTransfer
156
    {
157
        return $this->getFactory()->createZedStub()->savePayPalExpressCompleteResponse($quoteTransfer);
158
    }
159
160
    /**
161
     * {@inheritDoc}
162
     *
163
     * @api
164
     *
165
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
166
     *
167
     * @return \Generated\Shared\Transfer\QuoteTransfer
168
     */
169
    public function saveDirectDebitInitResponse(QuoteTransfer $quoteTransfer)
170
    {
171
        return $this->getFactory()->createZedStub()->saveDirectDebitInitResponse($quoteTransfer);
172
    }
173
174
    /**
175
     * {@inheritDoc}
176
     *
177
     * @api
178
     *
179
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
180
     *
181
     * @return \Generated\Shared\Transfer\QuoteTransfer
182
     */
183
    public function saveEasyCreditInitResponse(QuoteTransfer $quoteTransfer)
184
    {
185
        return $this->getFactory()->createZedStub()->saveEasyCreditInitResponse($quoteTransfer);
186
    }
187
188
    /**
189
     * {@inheritDoc}
190
     *
191
     * @api
192
     *
193
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
194
     *
195
     * @return \Generated\Shared\Transfer\QuoteTransfer
196
     */
197
    public function easyCreditStatusApiCall(QuoteTransfer $quoteTransfer)
198
    {
199
         return $this->getFactory()->createZedStub()->easyCreditStatusApiCall($quoteTransfer);
200
    }
201
202
    /**
203
     * {@inheritDoc}
204
     *
205
     * @api
206
     *
207
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
208
     *
209
     * @return \Generated\Shared\Transfer\QuoteTransfer
210
     */
211
    public function isComputopPaymentExist(QuoteTransfer $quoteTransfer)
212
    {
213
        return $this->getFactory()->createZedStub()->isComputopPaymentExist($quoteTransfer);
214
    }
215
216
    /**
217
     * {@inheritDoc}
218
     *
219
     * @api
220
     *
221
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
222
     *
223
     * @return \Generated\Shared\Transfer\QuoteTransfer
224
     */
225
    public function performCrifApiCall(QuoteTransfer $quoteTransfer)
226
    {
227
        return $this->getFactory()->createZedStub()->performCrifApiCall($quoteTransfer);
228
    }
229
230
    /**
231
     * {@inheritDoc}
232
     *
233
     * @api
234
     *
235
     * @param \Generated\Shared\Transfer\ComputopNotificationTransfer $computopNotificationTransfer
236
     *
237
     * @return \Generated\Shared\Transfer\ComputopNotificationTransfer
238
     */
239
    public function processNotification(
240
        ComputopNotificationTransfer $computopNotificationTransfer
241
    ): ComputopNotificationTransfer {
242
        return $this->getFactory()->createZedStub()->processNotification($computopNotificationTransfer);
243
    }
244
245
    /**
246
     * {@inheritDoc}
247
     *
248
     * @api
249
     *
250
     * @return string
251
     */
252
    public function getPayPalExpressClientId(): string
253
    {
254
        return $this->getFactory()->getConfig()->getPayPalExpressClientId();
255
    }
256
}
257