Passed
Branch master (84c5d9)
by Kauri
02:53
created

PaymentScheduleInterface::getPaymentDates()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Kauri\Loan;
6
7
8
interface PaymentScheduleInterface
9
{
10
    /**
11
     * PaymentScheduleInterface constructor.
12
     * @param PaymentScheduleConfigInterface $config
13
     */
14
    public function __construct(PaymentScheduleConfigInterface $config);
15
16
    /**
17
     * @param \DateTimeInterface $paymentDate
18
     * @param null|int $paymentSequenceNo
19
     */
20
    public function add(\DateTimeInterface $paymentDate, int $paymentSequenceNo = null): void;
21
22
    /**
23
     * @return PaymentScheduleConfigInterface
24
     */
25
    public function getConfig(): PaymentScheduleConfigInterface;
26
27
    /**
28
     * @return array
29
     */
30
    public function getPaymentDates(): array;
31
32
}