Issues (570)

Model/Data/MoipInterest.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Copyright © Wirecard Brasil. All rights reserved.
4
 *
5
 * @author    Bruno Elisei <[email protected]>
6
 * See COPYING.txt for license details.
7
 */
8
9
declare(strict_types=1);
10
11
namespace Moip\Magento2\Model\Data;
12
13
use Magento\Framework\Api\AbstractSimpleObject;
0 ignored issues
show
The type Magento\Framework\Api\AbstractSimpleObject 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 Moip\Magento2\Api\Data\MoipInterestInterface;
15
16
/**
17
 * Class MoipInterest - Model data.
18
 */
19
class MoipInterest extends AbstractSimpleObject implements MoipInterestInterface
20
{
21
    /**
22
     * @inheritdoc
23
     */
24
    public function getInstallmentForInterest()
25
    {
26
        return $this->_get(MoipInterestInterface::MOIP_INTEREST_AMOUNT);
27
    }
28
29
    /**
30
     * @inheritdoc
31
     */
32
    public function setInstallmentForInterest($moipInterest)
33
    {
34
        return $this->setData(MoipInterestInterface::MOIP_INTEREST_AMOUNT, $moipInterest);
35
    }
36
}
37