sendPreContractualInformationAndRedemptionPlanRequest()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
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\Easycredit;
9
10
use Generated\Shared\Transfer\EasycreditApprovalTextResponseTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...valTextResponseTransfer 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\EasycreditInitializePaymentResponseTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...PaymentResponseTransfer 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\EasycreditInterestAndAdjustTotalSumResponseTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...otalSumResponseTransfer 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 Generated\Shared\Transfer\EasycreditPreContractualInformationAndRedemptionPlanResponseTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...ionPlanResponseTransfer 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...
14
use Generated\Shared\Transfer\EasycreditQueryCreditAssessmentResponseTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfe...essmentResponseTransfer 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...
15
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...
16
use Spryker\Client\Kernel\AbstractClient;
17
18
/**
19
 * @method \SprykerEco\Client\Easycredit\EasycreditFactory getFactory()
20
 */
21
class EasycreditClient extends AbstractClient implements EasycreditClientInterface
22
{
23
    /**
24
     * {@inheritdoc}
25
     *
26
     * @api
27
     *
28
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
29
     *
30
     * @return \Generated\Shared\Transfer\EasycreditInitializePaymentResponseTransfer
31
     */
32
    public function sendInitializePaymentRequest(QuoteTransfer $quoteTransfer): EasycreditInitializePaymentResponseTransfer
33
    {
34
        return $this->getFactory()->createZedStub()->sendInitializePaymentRequest($quoteTransfer);
35
    }
36
37
    /**
38
     * {@inheritdoc}
39
     *
40
     * @api
41
     *
42
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
43
     *
44
     * @return \Generated\Shared\Transfer\EasycreditQueryCreditAssessmentResponseTransfer
45
     */
46
    public function sendQueryCreditAssessmentRequest(QuoteTransfer $quoteTransfer): EasycreditQueryCreditAssessmentResponseTransfer
47
    {
48
        return $this->getFactory()->createZedStub()->sendQueryCreditAssessmentRequest($quoteTransfer);
49
    }
50
51
    /**
52
     * {@inheritdoc}
53
     *
54
     * @api
55
     *
56
     * @return \Generated\Shared\Transfer\EasycreditApprovalTextResponseTransfer
57
     */
58
    public function sendApprovalTextRequest(): EasycreditApprovalTextResponseTransfer
59
    {
60
        return $this->getFactory()->createZedStub()->sendApprovalTextRequest();
61
    }
62
63
    /**
64
     * {@inheritdoc}
65
     *
66
     * @api
67
     *
68
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
69
     *
70
     * @return \Generated\Shared\Transfer\EasycreditInterestAndAdjustTotalSumResponseTransfer
71
     */
72
    public function sendInterestAndTotalSumRequest(QuoteTransfer $quoteTransfer): EasycreditInterestAndAdjustTotalSumResponseTransfer
73
    {
74
        return $this->getFactory()->createZedStub()->sendInterestAndTotalSumRequest($quoteTransfer);
75
    }
76
77
    /**
78
     * {@inheritdoc}
79
     *
80
     * @api
81
     *
82
     * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
83
     *
84
     * @return \Generated\Shared\Transfer\EasycreditPreContractualInformationAndRedemptionPlanResponseTransfer
85
     */
86
    public function sendPreContractualInformationAndRedemptionPlanRequest(QuoteTransfer $quoteTransfer): EasycreditPreContractualInformationAndRedemptionPlanResponseTransfer
87
    {
88
        return $this->getFactory()->createZedStub()->sendPreContractualInformationAndRedemptionPlanRequest($quoteTransfer);
89
    }
90
}
91