Skip to content

PlanDefinition

Source code in docs_src/capo_appmonetization/types/plan_definition.py
class PlanDefinition(TypedDict, closed=True):
    name: "capo_appmonetization.types.display_name.DisplayName"
    """A human-readable display name for the plan."""
    description: NotRequired["capo_appmonetization.types.description.Description"]
    """A human-readable description of the plan."""
    billing_cycle: "capo_appmonetization.types.billing_cycle.BillingCycle"
    """How often the plan bills."""
    subscription_price: "capo_appmonetization.types.price.Price"
    """The recurring subscription price charged each billing cycle."""
    included_quotas: NotRequired["capo_appmonetization.types.app_quota_map.AppQuotaMap"]
    """The usage quotas included with the plan, keyed by metric ID. Each entry prices one metric with either a flat grant or a tiered-priced grant."""
    tax_code: NotRequired["capo_appmonetization.types.product_tax_code.ProductTaxCode"]
    """The product tax code for the plan's price. See ProductTaxCode."""
    payment_failure_policy: NotRequired[
        "capo_appmonetization.types.payment_failure_policy.PaymentFailurePolicy"
    ]
    """How the plan handles a failed recurring payment."""

billing_cycle instance-attribute

billing_cycle: BillingCycle

How often the plan bills.

description instance-attribute

description: NotRequired[Description]

A human-readable description of the plan.

included_quotas instance-attribute

included_quotas: NotRequired[AppQuotaMap]

The usage quotas included with the plan, keyed by metric ID. Each entry prices one metric with either a flat grant or a tiered-priced grant.

name instance-attribute

A human-readable display name for the plan.

payment_failure_policy instance-attribute

payment_failure_policy: NotRequired[PaymentFailurePolicy]

How the plan handles a failed recurring payment.

subscription_price instance-attribute

subscription_price: Price

The recurring subscription price charged each billing cycle.

tax_code instance-attribute

tax_code: NotRequired[ProductTaxCode]

The product tax code for the plan's price. See ProductTaxCode.