<?php

namespace App\Services\AnalyticsReports;

use App\Utils\AnalyticsReportUserTypes;
use Carbon\Carbon;

/**
 * Class BaseAnalyticsReport
 * @package App\Services\AnalyticsReports
 */
class BaseAnalyticsReport
{
    /**
     * @var Carbon
     */
    protected $startDate;

    /**
     * @var Carbon
     */
    protected $endDate;

    /**
     * @var string
     */
    protected $country;

    /**
     * @var string
     */
    protected $userType;

    /**
     * BaseAnalyticsReport constructor.
     * @param Carbon $startDate
     * @param Carbon $endDate
     * @param string $country
     * @param string $userType
     */
    public function __construct(Carbon $startDate, Carbon $endDate, string $country = null, string $userType = AnalyticsReportUserTypes::NON_MERCHANTS)
    {
        $this->startDate = $startDate;
        $this->endDate = $endDate;
        $this->country = $country;
        $this->userType = $userType;
    }
}