Issues (113)

src/price/PriceCreationDto.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * PHP Billing Library
4
 *
5
 * @link      https://github.com/hiqdev/php-billing
6
 * @package   php-billing
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2017-2020, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\php\billing\price;
12
13
use hiqdev\php\billing\plan\PlanInterface;
14
use hiqdev\php\billing\target\TargetInterface;
15
use hiqdev\php\billing\type\TypeInterface;
0 ignored issues
show
The type hiqdev\php\billing\type\TypeInterface 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 hiqdev\php\units\QuantityInterface;
17
use hiqdev\php\units\UnitInterface;
18
use Money\Currency;
19
use Money\Money;
20
21
/**
22
 * @author Andrii Vasyliev <[email protected]>
23
 */
24
class PriceCreationDto
25
{
26
    /**
27
     * @var string
28
     */
29
    public $id;
30
31
    /**
32
     * @var TypeInterface
33
     */
34
    public $type;
35
36
    /**
37
     * @var TargetInterface
38
     */
39
    public $target;
40
41
    /**
42
     * @var PlanInterface
43
     */
44
    public $plan;
45
46
    /**
47
     * @var QuantityInterface
48
     */
49
    public $prepaid;
50
51
    /**
52
     * @var Money
53
     */
54
    public $price;
55
56
    /**
57
     * @var UnitInterface
58
     */
59
    public $unit;
60
61
    /**
62
     * @var Currency
63
     */
64
    public $currency;
65
66
    /**
67
     * @var string[]
68
     */
69
    public $sums;
70
71
    /** @var float */
72
    public $rate;
73
74
    /** @var ProgressivePriceThreshold[]  */
75
    public array $thresholds = [];
76
}
77