Subscription
¶
Source code in docs_src/capo_appmonetization/types/subscription.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. For the end of the current cycle, use currentPeriodEndsAt on GetSubscriptionResponse (derived from this anchor and the billing cycle) rather than this value.
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.