Returns a collection of Plan objects.

Ruby
plans = gateway.plan.all
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.
note

If there are no plans, it will return an empty array.

See also