Skip to content

RecommendedPlan

Source code in docs_src/capo_appmonetization/types/recommended_plan.py
class RecommendedPlan(TypedDict, closed=True):
    plan_code: "capo_appmonetization.types.recommended_plan_code.RecommendedPlanCode"
    """This plan's key within the recommendation, for example `pro`. The request's `planOptions.planPrices`, and this plan's `upgradePlanCodes` and `downgradePlanCodes`, refer to plans by it. It is not a PlanId: CreatePlan assigns the PlanId when the plan is created."""
    name: "capo_appmonetization.types.recommended_plan_name.RecommendedPlanName"
    """Plan name shown to buyers, for example `Pro` or `Annual`."""
    billing_cycle: "capo_appmonetization.types.billing_cycle.BillingCycle"
    """How often the plan bills, as in CreatePlan's `definition.billingCycle`."""
    price: "capo_appmonetization.types.price.Price"
    """Subscription price per billing cycle."""
    included_quotas: (
        "capo_appmonetization.types.recommended_quota_list.RecommendedQuotaList"
    )
    """Units included per action, with what happens past them."""
    upgrade_plan_codes: (
        "capo_appmonetization.types.recommended_plan_code_list.RecommendedPlanCodeList"
    )
    """Plan codes a subscriber can upgrade to, cheapest first."""
    downgrade_plan_codes: (
        "capo_appmonetization.types.recommended_plan_code_list.RecommendedPlanCodeList"
    )
    """Plan codes a subscriber can downgrade to, cheapest first."""

billing_cycle instance-attribute

billing_cycle: BillingCycle

How often the plan bills, as in CreatePlan's definition.billingCycle.

downgrade_plan_codes instance-attribute

downgrade_plan_codes: RecommendedPlanCodeList

Plan codes a subscriber can downgrade to, cheapest first.

included_quotas instance-attribute

included_quotas: RecommendedQuotaList

Units included per action, with what happens past them.

name instance-attribute

Plan name shown to buyers, for example Pro or Annual.

plan_code instance-attribute

This plan's key within the recommendation, for example pro. The request's planOptions.planPrices, and this plan's upgradePlanCodes and downgradePlanCodes, refer to plans by it. It is not a PlanId: CreatePlan assigns the PlanId when the plan is created.

price instance-attribute

price: Price

Subscription price per billing cycle.

upgrade_plan_codes instance-attribute

upgrade_plan_codes: RecommendedPlanCodeList

Plan codes a subscriber can upgrade to, cheapest first.