Manage plans
Managing plans lets you retrieve information about a subscription's plan schedule or change a subscription's plan.
The plan schedule specifies the plans that a subscription uses throughout its lifecycle. The plan schedule is made up of plan schedule items, which specify when a plan becomes active for the subscription.
The following methods manage plans:
- getPlanSchedules() returns information about all plan schedules associated with a subscription.
- getPlanScheduleItemsAt() returns information about the plan a subscription uses at a specified time.
- getPlanChargeDescription() returns information about the charge configuration for a subscription according to a given plan schedule item.
- changePlan() changes the plan for a subscription.