Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
8 | interface PaymentScheduleConfigInterface |
||
9 | { |
||
10 | /** |
||
11 | * PaymentScheduleConfigInterface constructor. |
||
12 | * @param int $noOfPayments |
||
13 | * @param \DateTimeInterface $startDate |
||
14 | * @param string $dateIntervalPattern |
||
15 | * @param \DateTimeInterface|null $firstPaymentDate |
||
16 | */ |
||
17 | public function __construct( |
||
23 | |||
24 | /** |
||
25 | * @return int |
||
26 | */ |
||
27 | public function getNoOfPayments(): int; |
||
28 | |||
29 | /** |
||
30 | * @return \DateTimeInterface |
||
31 | */ |
||
32 | public function getStartDate(): \DateTimeInterface; |
||
33 | |||
34 | /** |
||
35 | * @return int |
||
36 | */ |
||
37 | public function getAverageIntervalLength(): int; |
||
38 | |||
39 | /** |
||
40 | * @return \DateInterval |
||
41 | */ |
||
42 | public function getDateInterval(): \DateInterval; |
||
43 | |||
44 | /** |
||
45 | * @return \DateTimeInterface|null |
||
46 | */ |
||
47 | public function getFirstPaymentDate(): ? \DateTimeInterface; |
||
48 | } |