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

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