Issues (217)

src/bill/BillInterface.php (1 issue)

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\bill;
12
13
use DateTimeImmutable;
14
use hiqdev\php\billing\charge\ChargeInterface;
15
use hiqdev\php\billing\customer\CustomerInterface;
16
use hiqdev\php\billing\EntityInterface;
17
use hiqdev\php\billing\plan\PlanInterface;
18
use hiqdev\php\billing\requisite\RequisiteInterface;
0 ignored issues
show
The type hiqdev\php\billing\requisite\RequisiteInterface 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...
19
use hiqdev\php\billing\target\TargetInterface;
20
use hiqdev\php\billing\type\TypeInterface;
21
use hiqdev\php\units\QuantityInterface;
22
use Money\Money;
23
24
/**
25
 * Bill Interface.
26
 *
27
 * @author Andrii Vasyliev <[email protected]>
28
 */
29
interface BillInterface extends EntityInterface
30
{
31
    public function getUniqueString(): string;
32
33
    public function getType(): TypeInterface;
34
35
    public function getTime(): DateTimeImmutable;
36
37
    public function getTarget(): ?TargetInterface;
38
39
    public function getRequisite(): ?BillRequisite;
40
41
    public function getCustomer(): CustomerInterface;
42
43
    public function getQuantity(): QuantityInterface;
44
45
    public function getSum(): Money;
46
47
    public function getPlan(): ?PlanInterface;
48
49
    /**
50
     * @return ChargeInterface[]
51
     */
52
    public function getCharges();
53
}
54