SubscriptionSummary
¶
Source code in docs_src/capo_appmonetization/types/subscription_summary.py
billing_anchor_date
instance-attribute
¶
billing_anchor_date: Timestamp
The fixed reference instant the recurring billing cycle is measured from. It is set when the subscription first takes effect and stays fixed as periods roll forward, so it is normally an older date than the current period — not the start of the current period. The resolved current-period end (currentPeriodEndsAt) is available on GetSubscription for a single user; this summary carries only the anchor.
billing_cycle
instance-attribute
¶
billing_cycle: NotRequired[BillingCycle]
The billing cycle of the subscription, such as monthly or annual.
effective_at
instance-attribute
¶
effective_at: Timestamp
The time when the subscription took effect.
plan_id
instance-attribute
¶
plan_id: NotRequired[PlanId]
The ID of the plan on the user's latest subscription record. If a plan change is scheduled, this is the plan the subscription moves to; if a cancellation is scheduled or has taken effect, it is absent. Call GetSubscription for the plan in effect.