get Revenues

suspend fun getRevenues(page: Int, period: RevenuePeriod, labels: List<RevenueLabel>, retrieveGeneralRevenues: Boolean, retrieveProjectsRevenues: Boolean): JsonObject

Method to request the current revenues owned by the user

Return

the result of the request as JsonObject

Parameters

page

The page to request

period

The period of the revenues to consider in the wallet count

labels

The labels used as filters

retrieveGeneralRevenues

Whether count also the general revenues

retrieveProjectsRevenues

Whether count also the project