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
:subscriptionis anyMoney.Subscription.t:optionsis a keyword list of options
Options
:todayis aDate.tthat represents the effective date used to determine is there is a pending plan. The default isDate.utc_today/1.
Returns
- Either
trueorfalse