interval = $interval; $this->interval_execution_day = $interval_execution_day; $this->start_date = $start_date; } /** * Get the payment schedule interval. * * @return string */ public function getInterval(): string { return $this->interval; } /** * Get the interval execution day. * * @return integer */ public function getIntervalExecutionDay(): int { return $this->interval_execution_day; } /** * Get the start date of the scheduled payment. * * @return DateTime */ public function getStartDate(): DateTime { return $this->start_date; } }