<?php

namespace App\Services\Scheduling;

use App\Models\ConsultantProfile;

class CalComSchedulingProvider implements SchedulingProviderInterface
{
    public function getBookingUrl(ConsultantProfile $consultantProfile): ?string
    {
        return $consultantProfile->calcom_booking_url ?: $consultantProfile->manual_booking_url;
    }

    public function getEmbedUrl(ConsultantProfile $consultantProfile): ?string
    {
        return $consultantProfile->calcom_embed_url;
    }
}
