Issues (359)

Client/CrefoPay/CrefoPayClientInterface.php (2 issues)

Labels
Severity
1
<?php
2
3
/**
4
 * MIT License
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace SprykerEco\Client\CrefoPay;
9
10
use Generated\Shared\Transfer\CrefoPayNotificationTransfer;
0 ignored issues
show
The type Generated\Shared\Transfe...PayNotificationTransfer 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\QuoteTransfer;
0 ignored issues
show
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...
12
13
interface CrefoPayClientInterface
14
{
15
    /**
16
     * Specification:
17
     *  - Starts transaction in CrefoPay system.
18
     *  - Expands QuoteTransfer with response from CreateTransaction API call.
19
     *
20
     * @api
21
     *
22
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
23
     *
24
     * @return \Generated\Shared\Transfer\QuoteTransfer
25
     */
26
    public function startCrefoPayTransaction(QuoteTransfer $quoteTransfer): QuoteTransfer;
27
28
    /**
29
     * Specification:
30
     *  - Saves notification.
31
     *  - Updates order items status depends on notification transaction/order status.
32
     *
33
     * @api
34
     *
35
     * @param \Generated\Shared\Transfer\CrefoPayNotificationTransfer $notificationTransfer
36
     *
37
     * @return \Generated\Shared\Transfer\CrefoPayNotificationTransfer
38
     */
39
    public function processNotification(CrefoPayNotificationTransfer $notificationTransfer): CrefoPayNotificationTransfer;
40
}
41