Money.Subscription.change_plan-exclamation-mark

You're seeing just the function change_plan-exclamation-mark, go back to Money.Subscription module for more information.
Link to this function

change_plan!(subscription_or_plan, new_plan, options \\ [])

View Source

Specs

change_plan!(
  subscription_or_plan :: t() | Money.Subscription.Plan.t(),
  new_plan :: Money.Subscription.Plan.t(),
  options :: Keyword.t()
) :: Money.Subscription.Change.t() | no_return()

Change plan from the current plan to a new plan.

Retuns the plan or raises an exception on error.

See Money.Subscription.change_plan/3 for the description of arguments, options and return.