BillingPeriodState
Whether the billing period's end date (SubscriptionInfo.currentPeriodEnd) is still ahead, has passed, or does not exist.
enum BillingPeriodState {
none
current
ended
}
Values
BillingPeriodState.none
No billing period (the Free plan). Render no date.
BillingPeriodState.current
The period end is ahead; renews/ends copy, chosen by status, is true.
BillingPeriodState.ended
The period end has passed. The date is in the past and must never be
rendered as an upcoming renewal, whatever status says.
Member Of
SubscriptionInfo object