selectPlanById(id) {
            _.each(this.plans, plan => {
                if (plan.id == id) {
                    this.selectPlan(plan);
                }
            });

            return this.selectedPlan;
        }
/**
         * Select the plan with the given id.
         */
Select the plan with the given id.
Select the plan with the given id .
selectPlanById(id) {
            _.each(this.plans, plan => {
                if (plan.id == id) {
                    this.selectPlan(plan);
                }
            });
            return this.selectedPlan;
        }
selectPlanById ( id ) { _ . each ( this . plans , plan => { if ( plan . id == id ) { this . selectPlan ( plan ) ; } } ) ; return this . selectedPlan ; }
Select the plan with the given id.
Select the plan with the given id .