id = $id; } /** * Get account id. * * @return int * * @since 1.0.0 */ public function getId() : int { return $this->id; } /** * Get entry. * * @param int $id Entry ID * * @return null|EntryInterface * * @since 1.0.0 */ public function getEntryById(int $id) : ?EntryInterface { return $this->entries[$id] ?? null; } /** * Get entry. * * @param \DateTime $start Interval start * @param \DateTime $end Interval end * @param int $dateType Date type by witch the entries should be filtered * * @return array * * @since 1.0.0 */ public function getEntriesByDate(\DateTime $start, \DateTime $end, int $dateType = TimeRangeType::RECEIPT_DATE) : array { return []; } }