MaturityAdapter
interface MaturityAdapter
Interface for fetching maturities.
Functions
Link copied to clipboard
abstract fun fetchMaturitiesByPortfolioId(portfolioId: String, page: Int, size: Int): MaturitiesOverviewResponseDto
Fetches maturities by portfolio ID.
Link copied to clipboard
abstract fun fetchMaturityByIdAndByPortfolioId(portfolioId: String, maturityId: String): MaturityDto
Fetches a specific maturity by its ID and the ID of the portfolio it belongs to.