<?php

namespace common\modules\orderPayment\WOP\OnlinePayments\Core\BusinessLogic\Domain\GeneralSettings;

use common\modules\orderPayment\WOP\OnlinePayments\Core\BusinessLogic\Domain\Connection\ConnectionDetails;
/**
 * Class GeneralSettingsResponse
 *
 * @package OnlinePayments\Core\BusinessLogic\Domain\GeneralSettings
 */
class GeneralSettingsResponse
{
    protected ConnectionDetails $connectionDetails;
    protected PaymentSettings $paymentSettings;
    protected LogSettings $logSettings;
    protected PayByLinkSettings $payByLinkSettings;
    /**
     * @param ConnectionDetails $connectionDetails
     * @param PaymentSettings $paymentSettings
     * @param LogSettings $logSettings
     * @param PayByLinkSettings $payByLinkSettings
     */
    public function __construct(ConnectionDetails $connectionDetails, PaymentSettings $paymentSettings, LogSettings $logSettings, PayByLinkSettings $payByLinkSettings)
    {
        $this->connectionDetails = $connectionDetails;
        $this->paymentSettings = $paymentSettings;
        $this->logSettings = $logSettings;
        $this->payByLinkSettings = $payByLinkSettings;
    }
    /**
     * @return ConnectionDetails
     */
    public function getConnectionDetails(): ConnectionDetails
    {
        return $this->connectionDetails;
    }
    /**
     * @return PaymentSettings
     */
    public function getPaymentSettings(): PaymentSettings
    {
        return $this->paymentSettings;
    }
    /**
     * @return LogSettings
     */
    public function getLogSettings(): LogSettings
    {
        return $this->logSettings;
    }
    /**
     * @return PayByLinkSettings
     */
    public function getPayByLinkSettings(): PayByLinkSettings
    {
        return $this->payByLinkSettings;
    }
}
