View Source Plausible.Billing (Plausible v0.0.1)
Summary
Functions
@spec active_subscription_for(integer()) :: Plausible.Billing.Subscription.t() | nil
@spec check_needs_to_upgrade(Plausible.Auth.User.t()) :: {:needs_to_upgrade, :no_trial | :no_active_subscription | :grace_period_ended} | :no_upgrade_needed