Skip to content

GetEntitlementDecisionResponse

Source code in docs_src/capo_appmonetization/types/get_entitlement_decision_response.py
class GetEntitlementDecisionResponse(TypedDict, closed=True):
    decision: "capo_appmonetization.types.entitlement_decision.EntitlementDecision"
    """The decision indicating whether the user may perform the action."""
    reason: "capo_appmonetization.types.entitlement_reason.EntitlementReason"
    """The reason behind the decision."""
    plan_id: NotRequired["capo_appmonetization.types.plan_id.PlanId"]
    """The ID of the plan the decision was evaluated against, when the user has a subscription."""
    metrics: NotRequired[
        "capo_appmonetization.types.entitlement_metrics_list.EntitlementMetricsList"
    ]
    """The per-metric quota status relevant to the decision."""

decision instance-attribute

The decision indicating whether the user may perform the action.

metrics instance-attribute

metrics: NotRequired[EntitlementMetricsList]

The per-metric quota status relevant to the decision.

plan_id instance-attribute

plan_id: NotRequired[PlanId]

The ID of the plan the decision was evaluated against, when the user has a subscription.

reason instance-attribute

The reason behind the decision.