Money.Subscription.plan_pending-question-mark
You're seeing just the function
plan_pending-question-mark
, go back to Money.Subscription module for more information.
Specs
Returns a boolean
indicating if there is a pending plan.
A pending plan is one where the subscription has changed plans but the plan is not yet in effect. There can only be one pending plan.
Arguments
:subscription
is anyMoney.Subscription.t
:options
is a keyword list of options
Options
:today
is aDate.t
that represents the effective date used to determine is there is a pending plan. The default isDate.utc_today/1
.
Returns
- Either
true
orfalse