Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
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 | } |