Skip to content

GetSubscriptionResponse

Source code in docs_src/capo_appmonetization/types/get_subscription_response.py
class GetSubscriptionResponse(TypedDict, closed=True):
    subscription: "capo_appmonetization.types.subscription.Subscription"
    """The user's current subscription."""
    pending_change: NotRequired[
        "capo_appmonetization.types.pending_change.PendingChange"
    ]
    """The scheduled change to the subscription, if one is pending; null otherwise."""
    current_period_ends_at: NotRequired[
        "capo_appmonetization.types.timestamp.Timestamp"
    ]
    """The time when the current billing period ends and the next begins. Pending changes take effect and usage quotas reset at this time. Null for one-time subscriptions."""

current_period_ends_at instance-attribute

current_period_ends_at: NotRequired[Timestamp]

The time when the current billing period ends and the next begins. Pending changes take effect and usage quotas reset at this time. Null for one-time subscriptions.

pending_change instance-attribute

pending_change: NotRequired[PendingChange]

The scheduled change to the subscription, if one is pending; null otherwise.

subscription instance-attribute

subscription: Subscription

The user's current subscription.