Nombaone. Subscriptions. Dunning
(Nomba One v0.1.0)
View Source
Read-only view into a subscription's recovery state. past_due usually means
"not yet", not "no" — check grace_access_until before cutting access.
Summary
Functions
List every recovery attempt, newest first.
Raising variant of list_attempts/4.
Where the subscription stands in dunning.
Raising variant of retrieve/3.
Functions
@spec list_attempts(Nombaone.Client.t(), String.t(), map(), keyword()) :: {:ok, Nombaone.Page.t()} | {:error, Nombaone.Error.t()}
List every recovery attempt, newest first.
@spec list_attempts!(Nombaone.Client.t(), String.t(), map(), keyword()) :: Nombaone.Page.t()
Raising variant of list_attempts/4.
@spec retrieve(Nombaone.Client.t(), String.t(), keyword()) :: {:ok, Nombaone.DunningState.t()} | {:error, Nombaone.Error.t()}
Where the subscription stands in dunning.
@spec retrieve!(Nombaone.Client.t(), String.t(), keyword()) :: Nombaone.DunningState.t()
Raising variant of retrieve/3.