getDetails

abstract suspend fun getDetails(timeout: Duration): AiutaSubscriptionDetails?

The subscription details: cached ones right away (refreshing them in the background when stale), otherwise the backend response if it comes within timeout.

Return

null when nothing is cached and the backend failed or didn't answer within timeout