#[non_exhaustive]pub enum SubscriptionStatus {
Active,
Canceled,
PastDue,
Paused,
Trialing,
}
Expand description
Status of this subscription. Set automatically by Paddle. Use the pause subscription or cancel subscription operations to change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Active
Subscription is active. Paddle is billing for this subscription and related transactions aren’t past due.
Canceled
Subscription is canceled. Automatically set by Paddle when a subscription is canceled. When a subscription is set to cancel on the next billing period, a scheduled change for the cancellation is created. The subscription status moves to canceled when the scheduled change takes effect.
PastDue
Subscription has an overdue payment. Automatically set by Paddle when payment fails for an automatically-collected transaction, or when payment terms have elapsed for a manually-collected transaction (an invoice).
Paused
Subscription is paused. Automatically set by Paddle when a subscription is paused. When a subscription is set to pause on the next billing period, a scheduled change for the pause is created. The subscription status moves to paused
when the scheduled change takes effect.
Trialing
Subscription is in trial.
Trait Implementations§
Source§impl Clone for SubscriptionStatus
impl Clone for SubscriptionStatus
Source§fn clone(&self) -> SubscriptionStatus
fn clone(&self) -> SubscriptionStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more