Skip to content

GetAppRevenueSummaryResponse

Source code in docs_src/capo_appmonetization/types/get_app_revenue_summary_response.py
class GetAppRevenueSummaryResponse(TypedDict, closed=True):
    app_id: "capo_appmonetization.types.app_id.AppId"
    """The ID of the app."""
    period: "capo_appmonetization.types.billing_period.BillingPeriod"
    """The billing period, in "YYYY-MM" form, that the summary covers."""
    currency: "capo_appmonetization.types.currency.Currency"
    """The ISO 4217 currency code of the revenue amounts."""
    group_by: (
        "capo_appmonetization.types.revenue_summary_dimension.RevenueSummaryDimension"
    )
    """The dimension that the summary is grouped by."""
    total_revenue: "capo_appmonetization.types.cost_value.CostValue"
    """The total revenue for the period, as the sum of subscription and usage revenue."""
    subscription_revenue: "capo_appmonetization.types.cost_value.CostValue"
    """The subscription revenue for the period."""
    usage_revenue: "capo_appmonetization.types.cost_value.CostValue"
    """The usage-based revenue for the period."""
    groups: "capo_appmonetization.types.revenue_group_list.RevenueGroupList"
    """One row per value of the groupBy dimension (revenue per plan)."""
    updated_at: "capo_appmonetization.types.timestamp.Timestamp"
    """The time the summary was last updated."""

app_id instance-attribute

app_id: AppId

The ID of the app.

currency instance-attribute

currency: Currency

The ISO 4217 currency code of the revenue amounts.

group_by instance-attribute

The dimension that the summary is grouped by.

groups instance-attribute

One row per value of the groupBy dimension (revenue per plan).

period instance-attribute

period: BillingPeriod

The billing period, in "YYYY-MM" form, that the summary covers.

subscription_revenue instance-attribute

subscription_revenue: CostValue

The subscription revenue for the period.

total_revenue instance-attribute

total_revenue: CostValue

The total revenue for the period, as the sum of subscription and usage revenue.

updated_at instance-attribute

updated_at: Timestamp

The time the summary was last updated.

usage_revenue instance-attribute

usage_revenue: CostValue

The usage-based revenue for the period.