code: public function getPriceByPlanCode(string $planCode): float
      {
          $plan = $this->getPlan($planCode);
  
          return (array_key_exists('recurring_price', $plan)) ? $plan['recurring_price'] : 0;
      }
docs: get price by planCode